快速开始

GitHub Accelerator 提供两件事:GitHub 文件加速Docker 镜像加速
两者都是标准的 HTTP 反向代理,不需要安装任何客户端。

一分钟上手

1. GitHub 文件加速

把任意 GitHub 链接拼接到加速域名之后即可:

curl -LO "https://gh-proxy.cn/github/https://github.com/git/git/archive/refs/heads/master.tar.gz"

也可以在 GitHub 加速页面 中直接粘贴链接,页面会生成可复制的加速地址。

2. Docker 镜像加速

编辑 /etc/docker/daemon.json

{
  "registry-mirrors": ["https://gh-proxy.cn"]
}

然后重载配置并验证:

sudo systemctl daemon-reload
sudo systemctl restart docker
docker pull alpine:latest

下一步

最后更新:2026-09-20 21:53:37