推荐一个 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.zip
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/stilleshan/dockerfiles/main/README.md
curl -O https://mirror.ghproxy.com/https://github.com/stilleshan/dockerfiles/archive/master.zip
curl -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 一般不禁项目访问,但需要下载源码或 release 文件时会有限制。git 协议已经没法使用了,只能通过 https 协议执行 git pull 或 git push,如果不使用 proxy 基本没法参与开源项目。
当前 github 受到的影响比较大,docker 暂时没有太大限制可以正常访问。Python 的 PyPI 国内有很多镜像站点也不受影响,但 go 基本都限制死了,与 github 一样需要 proxy 。如果手头没有 proxy,平时很难获取到有效资源。
全文完。
如果转发本文,文末务必注明:“转自微信公众号:生有可恋”。
原文始发于微信公众号(生有可恋):github 镜像站点
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论