Fixed-upstream HTTPS proxy ยท SSH is not supported
Replace the https://github.com/ prefix in a repository URL with https://gh-proxy.yume-hatsuyuki.moe/gh/.
git remote set-url origin https://gh-proxy.yume-hatsuyuki.moe/gh/OWNER/REPOSITORY.git git push -u origin main
| Path | Upstream | Use |
|---|---|---|
/gh/* | github.com | Git HTTPS, repository pages and GitHub paths |
/raw/* | raw.githubusercontent.com | Raw files |
/release/* | github.com | Release assets |
/archive/* | github.com | Source ZIP/TAR.GZ |
/codeload/* | codeload.github.com | Source archives |
/api/* | api.github.com | REST API and GraphQL |
/gist/* | gist.github.com | Gist pages |
/gist-raw/* | gist.githubusercontent.com | Gist raw files |
/avatars/* | avatars.githubusercontent.com | Avatar images |
/assets/* | github.githubassets.com | GitHub static assets |
Raw file:
gh-proxy.yume-hatsuyuki.moe/raw/OWNER/REPOSITORY/BRANCH/PATH/TO/FILE
Release asset:
gh-proxy.yume-hatsuyuki.moe/release/OWNER/REPOSITORY/releases/download/TAG/FILE
Source archive:
gh-proxy.yume-hatsuyuki.moe/archive/OWNER/REPOSITORY/archive/refs/heads/BRANCH.zip
API:
gh-proxy.yume-hatsuyuki.moe/api/repos/OWNER/REPOSITORY
Requests are forwarded only to fixed GitHub-related upstream hosts; arbitrary destination URLs are not accepted. Git protocol and API requests are not cached. GitHub web-page HTML is not fully rewritten, so this is not a complete website mirror. Public deployments can be used by anyone unless an access key is configured.