加速github

命令提示符启动,在执行命令前先关闭浏览器。

谷歌浏览器

支持 140 及以下版本,141 及以上看下面说明。

Windows

"C:\Program Files\Google\Chrome\Application\chrome.exe" --host-rules="MAP github.com octocaptcha.com, MAP github.githubassets.com www.yelp.com, MAP *.githubusercontent.com www.yelp.com"

macOS

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --host-rules="MAP github.com octocaptcha.com, MAP github.githubassets.com www.yelp.com, MAP *.githubusercontent.com www.yelp.com"

浏览器及其他程序

下载 github-hosts (备用) 解压出来,双击打开 github-hosts.vbs,点击 安装证书。

浏览器及其他程序就可以使用 github-hosts 加速了。