GitHub 文件加速

GitHub文件链接带不带协议头都可以,支持release、archive以及文件,右键复制出来的链接都是符合标准的,更多用法、clone加速请参考这篇文章

release、archive使用cf加速,文件会跳转至JsDelivr

注意,不支持项目文件夹

直接在copy出来的url前加 https://gh.chjina.com/ 即可

以下都是合法输入(仅示例,文件不存在)

分支源码:https://gh.chjina.com/https://github.com/hunshcn/gh-proxy/master.zip

release源码:https://gh.chjina.com/https://github.com/hunshcn/gh-proxy/archive/v0.1.0.tar.gz

release文件:https://gh.chjina.com/https://github.com/hunshcn/gh-proxy/releases/download/v0.1.0/example.zip

分支文件:https://gh.chjina.com/https://github.com/hunshcn/gh-proxy/master/filename

commit文件:https://gh.chjina.com/https://github.com/hunshcn/project/blob/1111111111111111111111111111/filename

gist:https://gh.chjina.com/https://gist.githubusercontent.com/cielpy/351557e6e465c12986419ac5a4dd2568/raw/cmd.py

项目基于Cloudflare Workers,开源于GitHub hunshcn/gh-proxy