已归档项目!仓库和其他项目资源均为只读

    README.md

    https://www.ipaddress.com/site/ 解析github全部ip地址并转换为hosts格式

    如何使用?

    git clone https://gitcode.net/pubx/github-hosts.git

    在microsoft windows下:

    1. 安装python3环境
    2. pip -r fetch_ip_for_host/requirements.txt
    3. explorer ./github-hosts/ 管理员权限运行 run-me.bat (自动安装py依赖fetch_ip_for_host/requirements.txt), 即 将github.com所有cdn的ip地址列表 放到c:\Windows\System32\drivers\etc\hosts中即可访问github.com

    在linux下:

    1. 安装python3环境
    2. pip -r fetch_ip_for_host/requirements.txt
    3. 运行 cd github-hosts ; sudo run-me.sh (自动安装py依赖fetch_ip_for_host/requirements.txt),即 将github.com所有cdn的ip地址列表 放到/etc/hosts中即可访问github.com

    项目简介

    https://www.ipaddress.com/site/ 解析github全部ip地址并转换为hosts格式

    发行版本

    当前项目没有发行版本

    贡献者 2

    ziix @hfcaoguilin
    P prgrmz01@163.com @prgrmz01@163.com

    开发语言

    • Python 85.5 %
    • Batchfile 8.3 %
    • Shell 6.3 %