fastgithub
/install fastgithub
FastGithub Skill
代理服务,让 GitHub 访问速度飞起 🚀
简介
FastGithub 是一个 GitHub 加速器,通过本地代理服务器为 GitHub 提供访问加速。
使用场景:
- GitHub 访问速度慢
- Clone/Push 代码超时
- 下载 release 文件太慢
自动安装
一键启动
# 自动安装并启动
bash /workspace/skills/fastgithub/install.sh
手动安装步骤
1. 解压安装包
tar -xzf fastgithub-linux-x64.tar.gz -C ~/fastgithub
2. 启动服务
cd ~/fastgithub/publish
./fastgithub &
3. 设置 Git 代理
export http_proxy=http://127.0.0.1:38457
export https_proxy=http://127.0.0.1:38457
# 永久生效
echo "export http_proxy=http://127.0.0.1:38457" >> ~/.bashrc
echo "export https_proxy=http://127.0.0.1:38457" >> ~/.bashrc
source ~/.bashrc
4. 安装 CA 证书(可选,但推荐)
# Ubuntu/Debian
sudo cp ~/fastgithub/publish/cacert/fastgithub.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
# macOS
sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain ~/fastgithub/publish/cacert/fastgithub.crt
# Windows (需要管理员权限)
# 双击证书文件 -> 安装到"受信任的根证书颁发机构"
使用命令
| 操作 | 命令 |
|---|---|
| 启动 | bash /workspace/skills/fastgithub/start.sh |
| 停止 | bash /workspace/skills/fastgithub/stop.sh |
| 重启 | bash /workspace/skills/fastgithub/restart.sh |
| 状态 | ps aux | grep fastgithub |
| 测试 | curl -x http://127.0.0.1:38457 https://github.com |
文件结构
fastgithub/
├── install.sh # 自动安装脚本
├── start.sh # 启动脚本
├── stop.sh # 停止脚本
├── restart.sh # 重启脚本
├── fastgithub-linux-x64.tar.gz # 安装包
└── SKILL.md # 说明文档
触发条件
- "安装 FastGithub"
- "启动 GitHub 加速"
- "打开 GitHub 代理"
- "加速 GitHub 访问"
注意事项
-
CA 证书 — 不安装证书会导致浏览器访问 GitHub 时显示不安全警告,但不影响 Git 操作
-
代理端口 — 默认
http://127.0.0.1:38457 -
系统要求 — Linux (x64), macOS, Windows
-
权限 — 需要 sudo 安装 CA 证书
故障排除
无法连接
# 检查服务是否运行
ps aux | grep fastgithub
# 查看日志
tail -f /workspace/fastgithub.log
Git 操作超时
# 确保代理已设置
echo $http_proxy
# 应该显示: http://127.0.0.1:38457
证书问题
# 临时跳过证书验证(不推荐)
git config --global http.sslVerify false
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fastgithub - After installation, invoke the skill by name or use
/fastgithub - Provide required inputs per the skill's parameter spec and get structured output
What is fastgithub?
Provide a local proxy server to accelerate GitHub access, improving slow clone, push, and download speeds on Linux, macOS, and Windows. It is an AI Agent Skill for Claude Code / OpenClaw, with 112 downloads so far.
How do I install fastgithub?
Run "/install fastgithub" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is fastgithub free?
Yes, fastgithub is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does fastgithub support?
fastgithub is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created fastgithub?
It is built and maintained by YanTianlong-01 (@yantianlong-01); the current version is v1.0.0.