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/

相关推荐
LuciferHuang3 小时前
震惊!三万star开源项目竟有致命Bug?
前端·javascript·debug
GISer_Jing3 小时前
前端实习总结——案例与大纲
前端·javascript
天天进步20153 小时前
前端工程化:Webpack从入门到精通
前端·webpack·node.js
姑苏洛言3 小时前
编写产品需求文档:黄历日历小程序
前端·javascript·后端
知识分享小能手4 小时前
Vue3 学习教程,从入门到精通,使用 VSCode 开发 Vue3 的详细指南(3)
前端·javascript·vue.js·学习·前端框架·vue·vue3
姑苏洛言4 小时前
搭建一款结合传统黄历功能的日历小程序
前端·javascript·后端
你的人类朋友4 小时前
🍃认识一下boomi
后端
苏三说技术4 小时前
MySQL的三大日志
后端
豌豆花下猫4 小时前
让 Python 代码飙升330倍:从入门到精通的四种性能优化实践
后端·python·ai