GitHub、Google等镜像加速地址

GitHub、Google等镜像/加速地址

GitHub加速地址一览

站源地址缓存
github.comhub.fastgit.xyz
raw.githubusercontent.comraw.fastgit.org
github.githubassets.comassets.fastgit.org
customer-stories-feed.github.comcustomer-stories-feed.fastgit.org480 分钟
Github Downloaddownload.fastgit.org480 分钟
GitHub Archivearchive.fastgit.org

使用

1.加速 clone

方法一:加前缀

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

# 原地址
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为加速域名
# 原地址
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 的链接
git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/"
git config protocol.https.allow always
  • 查看git配置信息
git config --global --list
  • 取消设置
git config --global --unset url."https://hub.fastgit.xyz/".insteadof

2.加速 Release

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

  • Release
# 假设下载链接为 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
# 假设下载链接为 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

# 原地址 
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/508/

谷歌搜索 镜像

Google scholar 谷歌学术镜像

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

有多种方式可以实现Github下载加速。其中一种方式是使用浏览器插件来提升下载速度。你可以复制Github仓库的地址,然后粘贴到插件提供的第一栏,并点击加速按钮。这样插件会生成一个加速地址,你可以使用这个地址进行git clone下载。下载速度最高可以提升到1M。另外,还有一种功能强大且完善的方式,需要使用谷歌浏览器并安装一个插件。你可以从提供的下载地址下载插件并添加到谷歌浏览器中。安装完成后,打开Github网站你会发现整个访问速度提升了不止一个档次。插件对Github网站添加了加速镜像功能,可以有效提高下载速度。虽然镜像方面可能会被浏览器拦截,但这对于加速来说并不是问题。另外,你还可以使用加速通道下载进行测试,下载速度最高可以提升到1M,平均速度也有600多k。所以,你可以根据自己的情况选择合适的方式来实现Github下载加速。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [解决GitHub下载速度太慢问题的方法汇总(持续更新,建议收藏)](https://blog.csdn.net/a2360051431/article/details/130857622)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [Github下载速度慢 提升github下载速度最新解决方案 跟龟速说拜拜(持续更新 保证方案可行 建议收藏)](https://blog.csdn.net/weixin_44821644/article/details/107574297)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值