直接粘贴压缩包链接
https://github.com/user/repo/archive/refs/heads/main.zip
https://github.com/user/repo/archive/refs/tags/v1.0.0.tar.gz
粘贴到首页工具即得各节点加速地址,浏览器 / wget / curl 均可:
wget https://gh-proxy.com/https://github.com/user/repo/archive/refs/heads/main.zip
只有仓库主页?
- 粘贴仓库主页链接:得到 clone 加速地址(下载源码请用 clone 或压缩包链接)
- 粘贴
https://github.com/user/repo/tree/dev这类目录页:自动推导出 dev 分支 的 zip / tar.gz 压缩包地址 - 粘贴
https://github.com/user/repo/releases/tag/v2.0:自动推导出 v2.0 tag 的压缩包地址
某些工具生成的 codeload.github.com 链接也直接支持,同样粘贴即可。