gh-proxy on Cloudflare Workers

GitHub 反向代理:加速 release、raw、gist、api 及 git clone 等请求,文件经 Cloudflare 边缘节点缓存中转。

输入后即时转换:支持省略协议、自动纠正 blob 页面链接与重复的 https://

使用方法

在任意 GitHub 资源链接前拼接本站地址即可(协议可省略):

https://ghproxy.totootao.top/https://github.com/user/repo/releases/download/v1.0/app.zip
https://ghproxy.totootao.top/github.com/user/repo/archive/refs/heads/main.tar.gz
https://ghproxy.totootao.top/https://raw.githubusercontent.com/user/repo/main/README.md

仓库文件页链接(blob)也可以直接使用,会自动转为 raw 文件地址:

https://ghproxy.totootao.top/https://github.com/user/repo/blob/main/README.md

加速 git clone

git clone https://ghproxy.totootao.top/https://github.com/user/repo.git
git clone https://ghproxy.totootao.top/https://github.com/user/repo.git --depth=1

支持的上游