Giter Club home page Giter Club logo

github-speed-up's Introduction

github-speed-up

在国内优雅快速的使用Github的方法

Github 镜像

https://github.com.cnpmjs.org

https://hub.fastgit.org

Github加速下载

https://gh.api.99988866.xyz

https://g.ioiox.com

http://toolwa.com/github/

https://github.zhlh6.cn

也可以曲线救国,在Gitee中导入Github项目,然后再下载。

工具:Chrome插件

商店内搜索“Github加速” (翻墙)

访问 githubusercontent.com

方法1

修改 raw.githubusercontent.comraw.staticdn.net

方法2

https://site.ip138.com/raw.Githubusercontent.com/ 输入raw.githubusercontent.com查询IP地址,然后修改host:

sudo vi /etc/hosts
# GitHub Start
52.74.223.119 github.com
192.30.253.119 gist.github.com
54.169.195.247 api.github.com
185.199.111.153 assets-cdn.github.com
151.101.76.133 raw.githubusercontent.com
151.101.108.133 user-images.githubusercontent.com
151.101.76.133 gist.githubusercontent.com
151.101.76.133 cloud.githubusercontent.com
151.101.76.133 camo.githubusercontent.com
151.101.76.133 avatars0.githubusercontent.com
151.101.76.133 avatars1.githubusercontent.com
151.101.76.133 avatars2.githubusercontent.com
151.101.76.133 avatars3.githubusercontent.com
151.101.76.133 avatars4.githubusercontent.com
151.101.76.133 avatars5.githubusercontent.com
151.101.76.133 avatars6.githubusercontent.com
151.101.76.133 avatars7.githubusercontent.com
151.101.76.133 avatars8.githubusercontent.com

其他修改hosts的方法(备用)

首先获得要用的IP地址:

访问 http://github.global.ssl.fastly.net.ipaddress.com/#ipinfo 得到 IP1

访问 https://github.com.ipaddress.com/#ipinfo 得到IP2

然后用获取到的两个IP修改hosts

# sudo vim /etc/hosts
# github
199.232.69.194 github.global.ssl.fastly.net
140.82.112.4 github.com

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.