Git 加速

把 GitHub / GitLab 相关链接转换为加速链接,支持仓库页面、Raw 文件、Gist、API、下载文件和头像资源。

生成加速链接

也可以输入不带协议的格式,例如 github.com/user/repo

支持的 Git 资源与输入示例

示例中的 usergrouprepo 是占位符,使用时请替换为实际用户名、群组和仓库名。

仓库打包下载

分支源码压缩包 archive

https://github.com/user/repo/archive/refs/heads/main.zip
项目文件直接下载

GitHub 文件页面链接

https://github.com/user/repo/blob/main/config/config.toml
Raw 文件内容访问

raw.githubusercontent.com 原始文件

https://raw.githubusercontent.com/user/repo/refs/heads/main/config/config.toml
Release 源码

标签源码压缩包 archive

https://github.com/user/repo/archive/refs/tags/1.0.0.zip
Releases 附件下载

release assets 文件下载

https://github.com/user/repo/releases/download/1.0.0/repo-linux-amd64.tar.gz
Gist 原始文件

gist.githubusercontent.com 原始内容

https://gist.githubusercontent.com/user/111111111111111111111111/raw/example-file
GitHub API 接口支持

api.github.com JSON 接口

https://api.github.com/repos/user/repo
GitHub 头像资源

avatars.githubusercontent.com 图片资源

https://avatars.githubusercontent.com/u/1
GitHub Desktop 发布文件

desktop.githubusercontent.com 客户端下载

https://desktop.githubusercontent.com/releases/1.0.0/GitHubDesktop-x64.zip
Git Clone 操作

部分支持,生成后可复制命令执行

git clone https://github.com/user/repo.git
nightly.link artifact 下载

GitHub Actions artifact 外部下载链接

https://nightly.link/user/repo/workflows/workflow-file/branch/artifact.zip
GitLab 仓库页面

gitlab.com 项目页面

https://gitlab.com/group/repo
GitLab Raw 文件

GitLab 文件页面会自动转为 /-/raw/

https://gitlab.com/group/repo/-/blob/main/config/config.toml
GitLab Release 文件

GitLab release package 下载链接

https://gitlab.com/group/repo/-/releases/v1.0.0/downloads/repo-linux-amd64.tar.gz
GitLab API 接口支持

gitlab.com API v4 JSON 接口

https://gitlab.com/api/v4/projects/group%2Frepo
GitLab Clone 操作

部分支持,生成后可复制命令执行

git clone https://gitlab.com/group/repo.git