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

发布于:2024-12-18 ⋅ 阅读:(69) ⋅ 点赞:(0)

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

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

GitHub

GitHub加速地址一览

  • fastgithub

    Https://www.fastgithub.com/(推荐)

站源 地址 缓存
github.com www.fastgithub.com
raw.githubusercontent.com
github.githubassets.com
customer-stories-feed.github.com 480 分钟
Github Download 480 分钟
GitHub Archive
  • cnpmjs.org:https://github.com.cnpmjs.org/
  • gitclone.com:https://gitclone.com/
  • gitee:https://gitee.com/mirrors
  • GitHub 文件加速:https://gh.api.99988866.xyz/
  • Github 仓库加速:https://github.zhlh6.cn/
  • Github 仓库加速:http://toolwa.com/github/

使用

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/

谷歌搜索 镜像

  • Google Mirror 1:https://search.aust.cf/
  • Google Mirror 2:https://search.ecnu.cf/
  • Google Mirror 3:https://search.ahnu.cf/

Google scholar 谷歌学术镜像

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

  • scqylaw:http://scholar.scqylaw.com/
  • 熊猫学术:https://sc.panda321.com/
  • HiQQ学术搜索(有链接转到sci-hub):https://so.hiqq.com.cn/
  • 学术网:https://www.scholarnet.cn/
  • 学术屋:http://sci.xueshuwu.cn/

网站公告

今日签到

点亮在社区的每一天
去签到