GitHub、Google等镜像加速地址收集

GitHub、Google等镜像加速地址收集

摘要

本文用于收集GitHub、Google等镜像/加速地址。

GitHub

GitHub加速地址一览

站源 地址 缓存
github.com www.fastgithub.com
raw.githubusercontent.com
github.githubassets.com
customer-stories-feed.github.com 480 分钟
Github Download 480 分钟
GitHub Archive

使用

1.加速 clone

方法一:加前缀

直接在copy出来的url前加https://gh.api.99988866.xyz/即可,也可以直接访问,在input输入。

bash 复制代码
# 原地址
git clone https://github.com/docker/compose.git
# 加速下载方法一
git clone https://gh.api.99988866.xyz/https://github.com/docker/compose.git
# 加速下载方法二
git clone https://ghproxy.com/https://github.com/docker/compose.git
方法二:替换GitHub为加速域名
bash 复制代码
# 原地址
git clone https://github.com/docker/compose.git
# 加速下载方法一
git clone https://hub.fastgit.xyz/docker/compose.git
# 加速下载方法二
git clone https://github.com.cnpmjs.org/docker/compose.git
# 加速下载方法三
git clone https://gitclone.com/github.com/docker/compose.git
方法三:配置git自动替换
  • 使用镜像地址替换所有指向 GitHub 的链接
verilog 复制代码
git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/"
git config protocol.https.allow always
  • 查看git配置信息
css 复制代码
git config --global --list
  • 取消设置
php 复制代码
git config --global --unset url."https://hub.fastgit.xyz/".insteadof

2.加速 Release

对于正常的 clone , push 操作,FastGit 已经提供了相当完善的操作。对于 Release 和源码存档的下载,我们可以使用如下方法进行操作。

  • Release
bash 复制代码
# 假设下载链接为 https://github.com/A/A/releases/download/1.0/1.0.tar.gz
wget https://download.fastgit.org/A/A/releases/download/1.0/1.0.tar.gz
  • Codeload
shell 复制代码
# 假设下载链接为 https://hub.fastgit.xyz/A/A/archive/master.zip
# 或者 https://codeload.github.com/A/A/zip/master
wget https://download.fastgit.org/A/A/archive/master.zip

3.加速 raw

bash 复制代码
# 原地址 
wget https://raw.githubusercontent.com/kubernetes/kubernetes/master/README.md
# 加速下载方法一
wget https://raw.staticdn.net/kubernetes/kubernetes/master/README.md
# 加速下载方法二
wget https://raw.fastgit.org/kubernetes/kubernetes/master/README.md

Google

谷歌镜像列表------每个月定期更新:https://snailwish.com/

谷歌搜索 镜像

Google scholar 谷歌学术镜像

思谋学术导航:https://ac.scmor.com/

相关推荐
Hilaku11 小时前
Vue 和 React 真正的差距,不在语法,而在团队犯错成本
前端·javascript·程序员
研☆香11 小时前
为什么变量声明在赋值前也能使用?—— 深入理解 JavaScript 变量提升与作用域
开发语言·前端·javascript
高明珠11 小时前
麒麟 V10 SP1 排查实录:ttyS5 每 10 秒莫名收到一批报文,元凶是 eGTouchD
后端
卷无止境11 小时前
Python FFI 技术深度解析:ctypes、cffi 与 pybind11 的性能差异与实践挑战
后端·python
Liora_Yvonne11 小时前
目录结构到底怎么设计?别再把 components 和 utils 当垃圾桶了
前端
ServBay12 小时前
AI Gateway 是什么?为什么每个平台都在做
后端·aigc·ai编程
SamDeepThinking12 小时前
Vibe Coding最重要的是Spec
后端·程序员·ai编程
柯克七七12 小时前
我把 bug 修得太干净了,测试组以为这个模块本来就没问题
前端·javascript·typescript
Null15512 小时前
浏览器唤起桌面端应用(终极篇)
前端·javascript
掘金_答案12 小时前
上线那天,一个 ConcurrentHashMap 差点送走我的 AI 客服——3 天排查 JVM 血泪史
java·后端·架构