Git Product home page Git Product logo

fetch-github-hosts's Introduction

介绍

本项目主要为解决研究及学习人员访问Github过慢或其他问题而提供的免费的Github hosts同步服务。

本项目部分参考 521xueweihan/Github520,但与之不同的是前者是通过ipaddress.com获取github.comhosts,而本项目是通过部署此项目的服务器来获取github.comhosts,所以在IP节点上会存在一定的差异。

使用方法

Unix/Linux

sed -i "/# fetch-github-hosts begin/Q" /etc/hosts && curl https://hosts.gitcdn.top/hosts.txt >> /etc/hosts

提示:可以设置定时任务定时获取更新即可

Chrome

使用 FasterHosts 插件

Windows/MacOS及其他桌面端

使用 https://github.com/oldj/SwitchHosts 程序,添加远程规则即可,远程地址为:https://hosts.gitcdn.top/hosts.txt

开源协议

GPL 3.0

fetch-github-hosts's People

Contributors

licoy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.