Solve the problem that GitHub cannot be opened (FastGithub, support MAC)

foreword

Recently, I wanted to check the source code of the framework on github, and found that all github-related URLs could not be opened. In fact, it has happened before, but it can be solved by directly replacing https with www . I have to find a way to get by, hahahaha), I spent a little time today to solve it, and after trying to change the host method on the Internet to no avail, I found the software of the big brother: FastGithub . And it supports win, linux, mac at the same time, it is very convenient to use. The following briefly introduces its usage.

1. Working principle

Obtain a large amount of ip data from github from the public dns server, detect which ips are available and which ips have the best access speed, and then write a local version of the dns service. When it is necessary to analyze github related information, return the best ip, which solves the problem The problem of github convulsions.

2. Download address

Baidu Netdisk

github

3. How to use

Support windows and linux desktops and servers as well as macOS systems.

local use

  • Run the FastGithub program, the dns of the local network adapter will automatically become 127.0.0.1
  • If the dns of the network adapter does not change to 127.0.0.1, please manually modify the dns of the network adapter

LAN server use (recommended)

  • Run the FastGithub program on the LAN server
  • Manually modify the dns of your computer's network adapter to the ip of the LAN server

3.1 windows

It is the most convenient to use under win. After decompression, double-click to run FastGithub.UI.exe, with its own graphical interface.

3.2 mac

The usage of the 64-bit version is basically the same as that of linux

  • Double-click to run fastgithub
  • Install cacert/fastgithub.cer and set trust
  • Set the system automatic proxy to http://127.0.0.1:38457, or manually proxy http/https to127.0.0.1:38457

MacOSX running FastGithub configuration tutorial

1 解决 “XXX” cannot be opened because the developer cannot be verified

  • Open the terminal and enter the path where the FastGithub execution file is located to execute the command:
    sudo xattr -d com.apple.quarantine *.*

     

2 Install the certificate

  • After opening FastGithub, a cacert directory will be generated in the directory, double-click to open fastgithub.cer, and the system will pop up the Keychain Access window

  • Double-click FastGitHub in the list, the certificate details window will pop up, expand Trust and select Always Trust

3 Configure proxy

3.1 Automatic Proxy

Open mac settings, network, click advanced, select proxy, check the network automatic proxy configuration, fill in the address prompted by the FastGithub window

3.2 Manual Proxy

Open mac settings, network, click advanced, select proxy, check web proxy (HTTP) and secure web proxy (HTTPS), fill in the address prompted by the FastGithub window

 Author's official website: Make Github unimpeded, FastGithub1.0.0 released - jiulang - 博客园

Guess you like

Origin blog.csdn.net/qq_38261819/article/details/127104434