github 镜像站点

admin 2024年3月16日00:01:26评论13 views字数 1266阅读4分13秒阅读模式

推荐一个 github 镜像站点,当无法下载 github 项目 release 下的安装包时,可以使用 github 点下载。

网站地址:

https://mirror.ghproxy.com/

使用方式:

终端命令行
支持终端命令行 git clone , wget , curl 等工具下载.
wget & curl
wget https://mirror.ghproxy.com/https://github.com/stilleshan/dockerfiles/archive/master.zipwget https://mirror.ghproxy.com/https://raw.githubusercontent.com/stilleshan/dockerfiles/main/README.mdcurl -O https://mirror.ghproxy.com/https://github.com/stilleshan/dockerfiles/archive/master.zipcurl -O https://mirror.ghproxy.com/https://raw.githubusercontent.com/stilleshan/dockerfiles/main/README.md
支持下载的文件有以下几类,比如:
Raw 文件https://raw.githubusercontent.com/stilleshan/dockerfiles/main/README.md
分支源码https://github.com/stilleshan/dockerfiles/archive/master.zip
Releases 源码https://github.com/fatedier/frp/archive/refs/tags/v0.54.0.zip
Releases 文件https://github.com/fatedier/frp/releases/download/v0.54.0/frp_0.54.0_linux_amd64.tar.gz

以我个人的项目为例,release 下的 zip 文件无法打开:

https://github.com/hyang0/ip_notes/releases/download/v0.1/ip_notes_win_x64.7z

将链接地址填入网站中即可正常下载:

github 镜像站点

目前 github 一般不禁项目访问,但需要下载源码或 release 文件时会有限制。git 协议已经没法使用了,只能通过 https 协议执行 git pull 或 git push,如果不使用 proxy 基本没法参与开源项目。

当前 github 受到的影响比较大,docker 暂时没有太大限制可以正常访问。Python 的 PyPI 国内有很多镜像站点也不受影响,但 go 基本都限制死了,与 github 一样需要 proxy 。如果手头没有 proxy,平时很难获取到有效资源。

全文完。

如果转发本文,文末务必注明:“转自微信公众号:生有可恋”。

       

原文始发于微信公众号(生有可恋):github 镜像站点

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年3月16日00:01:26
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   github 镜像站点http://cn-sec.com/archives/2579537.html

发表评论

匿名网友 填写信息