├── README.md └── hosts.conf /README.md: -------------------------------------------------------------------------------- 1 | # Hosts for Surge 2 | 3 | ![License](https://img.shields.io/badge/License-MIT-orange.svg) 4 | 5 | **重要提醒:** 本仓库暂停维护, 可访问 [racaljk/hosts](https://raw.githubusercontent.com/racaljk/hosts/master/surge.conf) 获取最新 `surge.conf` 6 | 7 | 这是一份 [Hosts](https://zh.wikipedia.org/wiki/Hosts%E6%96%87%E4%BB%B6) 列表,按照 [Surge](https://itunes.apple.com/cn/app/surge-web-developer-tool-proxy/id1040100637?mt=8) 的配置文件规则生成的,~~每3天更新一次~~,欢迎使用!无需再配置代理服务器,支持 Wikipedia、Google、Facebook、Twitter、Instagram等。 8 | 9 | Host 文件 | Raw hosts | 域名数 10 | ---------|:---------:|:---------: 11 | Github | [link](https://raw.githubusercontent.com/ifyour/Hosts-for-Surge/master/hosts.conf) | 3524 12 | Coding | [link](https://coding.net/u/ifyour/p/hosts-for-Surge/git/raw/master/hosts.conf) | 3524 13 | 14 | ![hosts for surge QR](http://ww2.sinaimg.cn/large/6057861cgw1f2qgmw5a3qg203o03oa9t.gif) 15 | 16 | ## 使用 17 | 18 | 1. 扫描二维码并复制 URL,或者打开 Safari 输入本项目短网址:`dwz.cn/ifyour` 19 | 2. 长按 `link` 选择拷贝(推荐 Coding 速度更快) 20 | 3. 打开 Surge,点击右上角 `Edit`,选择`Download Configuration from URL`,添加刚才复制的 URL 21 | 4. 粘贴 22 | 5. 点击 `OK` 后,保存!启用当前规则,Enjoy it! 23 | 24 | ## 优点 25 | 26 | * 不需要自备代理服务器 27 | * 拥有 Hosts 的全部优点 28 | * Https 全程加密 29 | * 不干扰本地连接 30 | 31 | ## 注意 32 | 33 | * 更新 Hosts 数据请执行第三步覆盖本地 Hosts 数据 34 | * 配合使用 Https 效果更佳,例如访问 Google 国际版:[http**s**://www.google.com/ncr](http**s**://www.google.com/ncr) 35 | * 配合 DNS 效果更佳,推荐:Google Public DNS:8.8.8.8/8.8.4.4 36 | * 若有其它问题请尝试重启设备 37 | 38 | ## 来源 39 | 40 | 数据来自 [racaljk/hosts](https://github.com/racaljk/hosts),再次向维护 Hosts 列表的人表示感谢! 41 | 42 | ## License 43 | 44 | Licensed under The MIT License 45 | --------------------------------------------------------------------------------