Skip to content

自动获取 github 相关域名的 ip 地址,加速国内访问

Notifications You must be signed in to change notification settings

ovenx/github-hosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

github 域名国内加速

# updated by 20210301
# GitHub Start
140.82.112.4 github.com
140.82.114.4 gist.github.com
185.199.111.153 assets-cdn.github.com
185.199.111.133 raw.githubusercontent.com
185.199.109.133 gist.githubusercontent.com
185.199.111.133 cloud.githubusercontent.com
185.199.111.133 camo.githubusercontent.com
185.199.108.133 avatars.githubusercontent.com
185.199.111.133 avatars0.githubusercontent.com
185.199.111.133 avatars1.githubusercontent.com
185.199.111.133 avatars2.githubusercontent.com
185.199.111.133 avatars3.githubusercontent.com
185.199.110.133 avatars4.githubusercontent.com
185.199.110.133 avatars5.githubusercontent.com
185.199.111.133 avatars6.githubusercontent.com
185.199.111.133 avatars7.githubusercontent.com
185.199.109.133 avatars8.githubusercontent.com
185.199.110.154 github.githubassets.com
# GitHub End

如何使用:

go run main.go

# 可以选择 3 种方式保存
#1. Create the host file to current directory (default)")
#2. Append the host to system host file in linux (/etc/hosts)")
#3. Append the host to system host file in windows (/mnt/c/Windows/System32/drivers/etc/hosts)")

About

自动获取 github 相关域名的 ip 地址,加速国内访问

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages