Github打不开?最全的几种加速方法来了

简介

GitHub作为一个国外的代码托管平台,由于其宽松的内容审核政策,上面存在一些不符合国内互联网审查标准的项目和代码。因此,有时访问GitHub可能会受到限制或变得缓慢。为了解决这个问题,有一些方法可以帮助你正常访问GitHub网站:

  1. 使用加速镜像网站:一些国内互联网公司提供了GitHub的镜像网站,通过访问这些镜像网站,你可以更快地加载GitHub页面。例如,可以尝试使用阿里云提供的GitHub镜像。
  2. 使用浏览器插件:有一些浏览器插件可以帮助你加速访问GitHub。比如,OctoLinker和GitZip等插件可以提供快速的代码导航和下载功能。
  3. 修改hosts文件:通过修改本地计算机的hosts文件,可以将GitHub的域名解析到一些加速节点上,从而加快访问速度。

请注意,访问GitHub的加速方法仅仅是为了提高访问速度,并不能绕过任何国内互联网法规和审查要求。在使用这些方法时,请确保遵守当地的法律法规并尊重GitHub的使用规定。

方法

1.修改hosts

将其全部内容粘贴到你的hosts文件中,即可。

  • Linux / MacOS hosts路径:/etc/hosts
  • Windows hosts路径:C:\Windows\System32\drivers\etc\hosts

[reply]

# fetch-github-hosts begin
140.82.113.26               alive.github.com
140.82.113.25               live.github.com
185.199.111.154             github.githubassets.com
140.82.112.22               central.github.com
185.199.111.133             desktop.githubusercontent.com
2606:50c0:8003::153         assets-cdn.github.com
185.199.110.133             camo.githubusercontent.com
185.199.108.133             github.map.fastly.net
199.232.9.194               github.global.ssl.fastly.net
140.82.113.4                gist.github.com
185.199.111.153             github.io
140.82.113.4                github.com
192.0.66.2                  github.blog
140.82.114.5                api.github.com
2606:50c0:8001::154         raw.githubusercontent.com
2606:50c0:8000::154         user-images.githubusercontent.com
185.199.111.133             favicons.githubusercontent.com
185.199.110.133             avatars5.githubusercontent.com
185.199.110.133             avatars4.githubusercontent.com
185.199.110.133             avatars3.githubusercontent.com
185.199.109.133             avatars2.githubusercontent.com
185.199.109.133             avatars1.githubusercontent.com
185.199.109.133             avatars0.githubusercontent.com
2606:50c0:8003::154         avatars.githubusercontent.com
140.82.114.9                codeload.github.com
52.217.138.33               github-cloud.s3.amazonaws.com
52.216.130.163              github-com.s3.amazonaws.com
54.231.166.225              github-production-release-asset-2e65be.s3.amazonaws.com
16.182.104.97               github-production-user-asset-6210df.s3.amazonaws.com
52.217.138.33               github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.109.153             githubstatus.com
140.82.114.17               github.community
52.224.38.193               github.dev
140.82.112.22               collector.github.com
2620:1ec:21::16             pipelines.actions.githubusercontent.com
2606:50c0:8001::154         media.githubusercontent.com
185.199.111.133             cloud.githubusercontent.com
185.199.108.133             objects.githubusercontent.com
# last fetch time: 2023-07-07 23:42:51
# update url: 
# fetch-github-hosts end

[/reply]

2.Github镜像网站

1、https://kgithub.com/

2、https://www.gitclone.com/

3、https://hub.yzuu.cf/

4、https://hub.fgit.ml/

5、http://fastgit.org/

6、https://hub.njuu.cf/

7、https://hub.nuaa.cf/

3.Github项目加速下载

1、https://gh.api.99988866.xyz/

2、https://ghproxy.com/

3、https://github.ur1.fun/

4、https://gitmirror.com/files.html

5、https://gh.ddlc.top/

6、https://ghdl.feizhuqwq.cf/

7、https://ghps.cc/

8、https://git.xfj0.cn/

9、https://proxy.zyun.vip/

4.插件加速

Github下载加速插件:插件

原创文章,作者:AIRF,如若转载,请注明出处:http://www.ai-rf.com/index.php/2023/07/08/github%e6%89%93%e4%b8%8d%e5%bc%80%ef%bc%9f%e6%9c%80%e5%85%a8%e7%9a%84%e5%87%a0%e7%a7%8d%e5%8a%a0%e9%80%9f%e6%96%b9%e6%b3%95%e6%9d%a5%e4%ba%86/

(0)
AIRFAIRF
上一篇 2023年7月2日
下一篇 2023年7月8日

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

评论列表(0条)

  • 访客
    访客 2023年8月3日 上午12:30

    学习

  • 访客
    访客 2023年8月3日 上午12:30

    回复

  • TomyJan
    TomyJan 2023年12月1日 上午2:46

    1