支持的链接类型
文件下载
- github.com/user/repo/releases/download/...
- github.com/user/repo/archive/refs/heads/main.zip
- github.com/user/repo/archive/refs/tags/v1.0.zip
源码和文本
- raw.githubusercontent.com/user/repo/branch/file
- github.com/user/repo/blob/branch/file
- gist.githubusercontent.com/user/gist-id/raw/file
命令示例
https://git.hubproxy.top/https://raw.githubusercontent.com/user/repo/main/file.txt wget "https://git.hubproxy.top/https://github.com/user/repo/releases/download/v1.0/app.zip" git clone https://git.hubproxy.top/https://github.com/user/repo.git
注意事项
- 仅支持公开资源,私有仓库和需要登录的文件无法代理。
- Blob 页面会自动转换到对应 Raw 文件地址。
- 代理后端限制白名单域名,避免任意第三方 URL 代理。