Github链接指南,Github代理

某个分支下的某个文件的链接格式

1
https://github.com/{用户名}/{仓库名}/blob/{分支名}/{文件路径}

某个分支下的某个文件的直接下载链接格式

1
https://raw.githubusercontent.com/{用户名}/{仓库名}/{分支名}/{文件路径}

某个分支以 ZIP 格式直接下载的链接

1
https://github.com/{用户名}/{仓库名}/archive/refs/heads/{分支名}.zip

Github 代理

GitHub 文件 , Releases , archive , gist , raw.githubusercontent.com 文件代理加速下载服务.

代理链接

镜像站点搜集:https://github.com/hunshcn/gh-proxy/issues/116

使用方法

原始链接 https://raw.githubusercontent.com/username/repo/main/file.txt

代理链接 https://gh-proxy.com/raw.githubusercontent.com/username/repo/main/file.txt

代理链接 https://gh-proxy.com/https://raw.githubusercontent.com/username/repo/main/file.txt

例如:

1
https://ghfast.top/https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip
1
https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/category-ads-all.srs

自建 GitHub 代理

项目:

https://github.com/yangyanggu/gh-proxy-page

https://github.com/hunshcn/gh-proxy

API

用户

查看用户信息

1
https://api.github.com/users/{username}

仓库

查看仓库信息

1
https://api.github.com/repos/{username}/{repo_name}
网站总访客数:Loading
网站总访问量:Loading
使用 Hugo 构建
主题 StackJimmy 设计
-->