github-proxy

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

GitHub 国内代理加速 Skill

GitHub 国内代理加速 Skill

使用 githubproxy.cc 代理服务,为国内访问 GitHub 提供加速支持。
使用 githubproxy.cc 代理服务,为国内访问 GitHub 提供加速支持。

代理服务

代理服务

当前使用的代理服务:
  • 主要服务: githubproxy.cc (测试有效,加速约 3 倍)
  • 备用服务: ghfast.top
当前使用的代理服务:
  • 主要服务: githubproxy.cc (测试有效,加速约 3 倍)
  • 备用服务: ghfast.top

使用方法

使用方法

1. Git Clone 加速

1. Git Clone 加速

将 GitHub 仓库链接前加上
https://githubproxy.cc/
前缀:
bash
undefined
将 GitHub 仓库链接前加上
https://githubproxy.cc/
前缀:
bash
undefined

原始链接

原始链接

加速链接

加速链接

2. 文件下载加速

2. 文件下载加速

支持以下类型的 GitHub 资源加速:
  • Raw 文件:
    https://raw.githubusercontent.com/...
  • Release 文件: 项目发布的附件
  • Archive 压缩包: 仓库打包下载
  • Gist 文件:
    gist.github.com
    gist.githubusercontent.com
bash
undefined
支持以下类型的 GitHub 资源加速:
  • Raw 文件:
    https://raw.githubusercontent.com/...
  • Release 文件: 项目发布的附件
  • Archive 压缩包: 仓库打包下载
  • Gist 文件:
    gist.github.com
    gist.githubusercontent.com
bash
undefined

原始链接

原始链接

加速链接

加速链接

3. 使用辅助脚本

3. 使用辅助脚本

使用
scripts/convert_url.py
自动转换 GitHub 链接:
bash
python scripts/convert_url.py "https://github.com/username/repo.git"
使用
scripts/convert_url.py
自动转换 GitHub 链接:
bash
python scripts/convert_url.py "https://github.com/username/repo.git"

链接转换规则

链接转换规则

原始链接格式转换后格式
https://github.com/username/repo.git
https://githubproxy.cc/https://github.com/username/repo.git
https://raw.githubusercontent.com/...
https://githubproxy.cc/https://raw.githubusercontent.com/...
https://github.com/.../releases/download/...
https://githubproxy.cc/https://github.com/.../releases/download/...
https://github.com/.../archive/...
https://githubproxy.cc/https://github.com/.../archive/...
原始链接格式转换后格式
https://github.com/username/repo.git
https://githubproxy.cc/https://github.com/username/repo.git
https://raw.githubusercontent.com/...
https://githubproxy.cc/https://raw.githubusercontent.com/...
https://github.com/.../releases/download/...
https://githubproxy.cc/https://github.com/.../releases/download/...
https://github.com/.../archive/...
https://githubproxy.cc/https://github.com/.../archive/...

注意事项

注意事项

  • 本服务仅供学习研究使用,请勿滥用
  • 如果 githubproxy.cc 不可用,请尝试备用服务 ghfast.top
  • 不支持 SSH Key 方式的 git clone
  • Push、PR、Issue 等操作建议直接使用官方 GitHub 地址
  • 本服务仅供学习研究使用,请勿滥用
  • 如果 githubproxy.cc 不可用,请尝试备用服务 ghfast.top
  • 不支持 SSH Key 方式的 git clone
  • Push、PR、Issue 等操作建议直接使用官方 GitHub 地址