9 ways to improve the speed of domestic access to GitHub!

Time:2021-12-31

9 ways to improve the speed of domestic access to GitHub!

1. GitHub image access

Here are the two most commonly used image addresses:

  • https://github.com.cnpmjs.org
  • https://hub.fastgit.org

In other words, the above image is a cloned version of GitHub. You can visit the above image website. The content of the website is a fully synchronized image with GitHub, and then download and clone it on this website.

  1. GitHub file acceleration

Use cloudflare workers to accelerate GitHub release, archive and project files. The deployment does not need a server and has its own CDN

  • https://gh.api.99988866.xyz
  • https://g.ioiox.com

The above website is a demonstration site. If you can’t open it, you can view the open source project: GH proxy GitHub( https://hunsh.net/archives/23/ )Files accelerate self deployment.

  1. GitHub accelerated Download

Just copy the current GitHub address and paste it into the input box to speed up the download!

Address: http://toolwa.com/github/9 ways to improve the speed of domestic access to GitHub!

  1. Speed up your GitHub

https://github.zhlh6.cn

Enter the GitHub warehouse address and use the generated address for operations such as git SSH

  1. Google browser GitHub acceleration plug-in (recommended)

9 ways to improve the speed of domestic access to GitHub!If the buddy is not installed online, it can reply to GitHub in the background of official account.9 ways to improve the speed of domestic access to GitHub!

  1. GitHub raw acceleration

GitHub raw domain name is not GitHub Com but raw githubusercontent. COM, GitHub acceleration above. If you can’t accelerate this domain name, you can use the anti generation service provided by static CDN.

Set raw githubusercontent. Com replace with raw staticdn. Net.

  1. GitHub + Jsdelivr

The only drawback of jsdelivr is that it cannot obtain exe files and exe and DMG files attached to release.

In other words, if the EXE file is attached to the release but not in the code, it cannot be obtained. Therefore, it can only be used as a static file CDN, not as a release to accelerate download.

  1. Download through gitee transit fork warehouse

There are many related tutorials on the Internet. Here is a brief description of the operation.

Visit gitee website: https://gitee.com/ Log in and select “import warehouse from GitHub / gitlab” at the top as follows:9 ways to improve the speed of domestic access to GitHub!Paste your GitHub warehouse address in the import page and click Import:9 ways to improve the speed of domestic access to GitHub!Wait until the import operation is completed, and then download and browse the corresponding GitHub warehouse code in the imported warehouse. You can also click the “Refresh” button at the top of the warehouse to synchronize the GitHub code warehouse.9 ways to improve the speed of domestic access to GitHub!

  1. Speed up by modifying the hosts file

Bind CDN and IP address manually.

  • Step 1: get the global. URL of GitHub ssl. Fast address access: http://github.global.ssl.fast… Get CDN and IP domain name:9 ways to improve the speed of domestic access to GitHub!Obtained: 199.232 sixty-nine point one nine four https://github.global.ssl.fas…
  • Step 2: get GitHub Com address

visit: https://github.com.ipaddress…. Get CDN and IP:9 ways to improve the speed of domestic access to GitHub!Obtained: 140.82 one hundred and fourteen point four http://github.com

  • Step 3: modify the host file to map the IP found above

Windows system:

1. Modify the permissions of the C: windowssystem32driversetchosts file and specify that it can be written: right click – > hosts – > properties – > Security – > Edit – > Click users – > check the “write” of users’ permissions. As follows:9 ways to improve the speed of domestic access to GitHub!Then click OK.

2. Right click – > hosts – > open method – > select Notepad (or your favorite editor) – > add the following at the end:

199.232.69.194 github.global.ssl.fastly.net
140.82.114.4 github.com

Source: https://code.pingbook.top/blo…

9 ways to improve the speed of domestic access to GitHub!