# fuck-github-by-cf **Repository Path**: pythonxueba/fuck-github-by-cf ## Basic Information - **Project Name**: fuck-github-by-cf - **Description**: Cloudflare Workers GitHub Proxy - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2026-01-14 - **Last Updated**: 2026-03-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GitHub Proxy Worker 基于 Cloudflare Workers 的 GitHub 加速代理,稳定版 v6。 ## 功能 - ✅ GitHub 仓库页面代理 - ✅ Raw 文件加速访问 - ✅ ZIP/TAR.GZ 下载加速 - ✅ Release 文件下载 - ✅ API 请求代理 - ✅ Gist 页面代理 ## 部署 1. 登录 [Cloudflare Dashboard](https://dash.cloudflare.com/) 2. Workers & Pages → 创建 Worker 3. 粘贴 `worker.js` 代码 4. 绑定自定义域名 ## 使用方式 | 功能 | URL 格式 | |------|----------| | 仓库 | `https://域名/用户名/仓库` | | Raw 文件 | `https://域名/raw/用户名/仓库/分支/文件路径` | | ZIP 下载 | `https://域名/用户名/仓库/archive/main.zip` | | TAR 下载 | `https://域名/用户名/仓库/archive/main.tar.gz` | | API | `https://域名/api/repos/用户名/仓库` | | Gist | `https://域名/gist/用户名/id` | ## Git 克隆加速 ```bash git config --global url."https://你的域名/".insteadOf "https://github.com/" ``` ## 支持的域名 - github.com - raw.githubusercontent.com - api.github.com - gist.github.com - codeload.github.com - github.githubassets.com - avatars.githubusercontent.com - user-images.githubusercontent.com ## License MIT