🚀 GitHub 加速代理

基于 Cloudflare Pages 构建,支持文件、Release 和 GitHub API 加速

📦 文件加速使用方法

直接在代理地址后拼接 GitHub 原始链接即可:

https://your-proxy.pages.dev/https://github.com/owner/repo/releases/download/v1.0.0/file.zip
Release 文件 /https://github.com/owner/repo/releases/download/v1.0.0/file.zip
源码压缩包 /https://github.com/owner/repo/archive/main.tar.gz
单个文件 /https://raw.githubusercontent.com/owner/repo/main/file.js

🔌 GitHub API 加速

所有 GitHub API 都可以通过代理转发,解决国内访问失败问题:

https://your-proxy.pages.dev/https://api.github.com/repos/owner/repo
💡 提示: 添加 GitHub 个人访问令牌(PAT)可将 API 速率限制从 60 次/小时提升至 5000 次/小时

⚡ Git 克隆加速

克隆仓库时使用代理:

git clone https://your-proxy.pages.dev/https://github.com/owner/repo.git

全局配置 Git 自动使用代理(推荐):

git config --global url."https://your-proxy.pages.dev/https://github.com/".insteadOf "https://github.com/"