1. 复制文件的下载链接
在仓库的 Release 页面,右键要下载的文件 → 复制链接,形如:
https://github.com/user/repo/releases/download/v1.0.0/app-setup.exe
2. 生成加速地址
粘贴到首页工具,得到各节点加速地址,浏览器直接打开、或用命令行下载:
wget https://gh-proxy.com/https://github.com/user/repo/releases/download/v1.0.0/app-setup.exe
curl -fLO https://gh-proxy.com/https://github.com/user/repo/releases/download/v1.0.0/app-setup.exe
手里只有 Release 页面链接?
粘贴 https://github.com/user/repo/releases/tag/v1.0.0 这种页面链接,本站会自动推导出该版本源码压缩包(zip / tar.gz)的加速地址。安装包等二进制附件无法离线枚举,仍需从 Release 页复制文件链接。
CI / 脚本中使用
curl -fLO https://gh-proxy.com/https://github.com/user/repo/releases/latest/download/app.zip
/releases/latest/download/文件名 依赖 302 跳转,部分代理节点无法跟随,失效时把 latest 换成固定版本号更稳。