[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71413":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},71413,"hosts","ineo6\u002Fhosts","ineo6","GitHub最新hosts。解决GitHub图片无法显示，加速GitHub网页浏览。","https:\u002F\u002Fineo6.github.io\u002Fhosts\u002F",null,"TypeScript",5338,458,77,11,0,7,14,17,21,38.99,"MIT License",false,"master",true,[27,5,28],"github","hosts-file","2026-06-12 02:02:52","# GitHub Hosts\n\n这个有什么用？最直观的效果是`GitHub`图片可以正常加载，网页也稳定了。\n\n`GitHub Hosts`主要是通过修改`host`的方式加速`GitHub`访问，解决图片无法加载以及访问速度慢的问题。\n\n- 主站: https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\n- 镜像: https:\u002F\u002Fgitlab.com\u002Fineo6\u002Fhosts\n- Github Pages: https:\u002F\u002Fineo6.github.io\u002Fhosts\u002F\n\n全新的`GitHub`访问加速工具，等待试用和反馈中，点击 [FastDev](https:\u002F\u002Fgithub.com\u002Fineo6\u002Ffast-dev) 直达。\n\n特点就是稳定！\n\n> `hosts`地址可能会调整，所以请务必关注GitHub、Gitlab主页，保证不迷路，也可以关注公众号：湖中剑。\n\n## 使用方式\n\n### 1. 远程hosts\n\n现在新增了`DNS`获取方案，欢迎使用并反馈。\n\n请查看 [next hosts](https:\u002F\u002Fgitlab.com\u002Fineo6\u002Fhosts\u002F-\u002Fraw\u002Fmaster\u002Fnext-hosts)\n\n内容定时更新，最近更新时间：2023-03-08 20:22:25。\n\n```bash\n# New！欢迎使用基于DNS的新方案\n# https:\u002F\u002Fgitlab.com\u002Fineo6\u002Fhosts\u002F-\u002Fraw\u002Fmaster\u002Fnext-hosts\n# 地址可能会变动，请务必关注GitHub、Gitlab获取最新消息\n# 也可以关注公众号：湖中剑，保证不迷路\n# GitHub Host Start\n\n# Please Star : https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\n# Mirror Repo : https:\u002F\u002Fgitlab.com\u002Fineo6\u002Fhosts\n\n# Update at: 2023-03-08 20:22:25\n\n# GitHub Host End\n```\n\n### 2. 本地 hosts 服务\n\n本地 `hosts` 服务获取到的`ip`是经过本地测试，所以成功率较高。\n\n而且会定时获取最新的`ip`，尽可能保证访问。\n\n注意，该方案需要结合`SwitchHosts`一起使用，或者你也可以直接访问地址，手动复制。\n\n#### macOS (Intel)\n\n执行下面命令, 服务会运行在： http:\u002F\u002Flocalhost:8888\n\n```bash\ncurl -L https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\u002Freleases\u002Fdownload\u002Fv1.0.1\u002Fhosts-server-pkg-mac-x64.tar.gz | tar xzvf -\nxattr -d com.apple.quarantine .\u002Fhosts-server-pkg-mac-x64\u002Fhosts-server\n.\u002Fhosts-server-pkg-mac-x64\u002Fhosts-server --port=8888\n```\n\n#### macOS (Apple Silicon)\n\n执行下面命令, 服务会运行在： http:\u002F\u002Flocalhost:8888\n\n```bash\ncurl -L https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\u002Freleases\u002Fdownload\u002Fv1.0.1\u002Fhosts-server-pkg-mac-arm64.tar.gz | tar xzvf -\n.\u002Fhosts-server-pkg-mac-arm64\u002Fhosts-server --port=8888\n```\n\n#### Linux (x64, amd64)\n\n执行下面命令, 服务会运行在： http:\u002F\u002Flocalhost:8888\n\n```bash\ncurl -L https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\u002Freleases\u002Fdownload\u002Fv1.0.1\u002Fhosts-server-pkg-linuxstatic-x64.tar.gz | tar xzvf -\n.\u002Fhosts-server-pkg-linuxstatic-x64\u002Fhosts-server --port=8888\n```\n\n#### Linux (ARM64)\n\n执行下面命令, 服务会运行在： http:\u002F\u002Flocalhost:8888\n\n```bash\ncurl -L https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\u002Freleases\u002Fdownload\u002Fv1.0.1\u002Fhosts-server-pkg-linuxstatic-arm64.tar.gz | tar xzvf -\n.\u002Fhosts-server-pkg-linuxstatic-arm64\u002Fhosts-server --port=8888\n```\n\n#### Run on Linux (ARMv7 32bit)\n\n执行下面命令, 服务会运行在： http:\u002F\u002Flocalhost:8888\n\n```bash\ncurl -L https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\u002Freleases\u002Fdownload\u002Fv1.0.1\u002Fhosts-server-pkg-linuxstatic-armv7.tar.gz | tar xzvf -\n.\u002Fhosts-server-pkg-linuxstatic-armv7\u002Fhosts-server --port=8888\n```\n\n### Windows\n\n下载 https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts\u002Freleases\u002Fdownload\u002Fv1.0.1\u002Fhosts-server-pkg-win-x64.zip ，解压后执行下面命令，服务会运行在： http:\u002F\u002Flocalhost:8888\n\n```bash\n.\\hosts-server.exe --port=8888\n```\n\n## 配置hosts教程\n\n### 通过 SwitchHosts 自动更新\n\n这里推荐使用 `SwitchHosts` 配置`hosts`，操作很简单，支持跨平台。\n\n> 注意：首次使用先备份下本地hosts。\n\n详细介绍可以阅读 [SwitchHosts! 还能这样管理hosts，后悔没早点用](https:\u002F\u002Fmp.weixin.qq.com\u002Fs\u002FA37XnD3HdcGSWUflj6JujQ) 。\n\n#### 操作步骤\n\n添加一条规则：\n\n- 方案名：GitHub（可以自行命名）\n- 类型：远程\n- URL 地址：https:\u002F\u002Fgitlab.com\u002Fineo6\u002Fhosts\u002F-\u002Fraw\u002Fmaster\u002Fhosts\n- 自动更新：1个小时（时间可自行调整）\n\n这样就可以和最新的`hosts`保持同步。\n\n![switchhost-github.png](https:\u002F\u002Fi.loli.net\u002F2021\u002F03\u002F28\u002FXnHW5xCEzel36fA.png)\n\n### 手动配置\n\n#### macOS\n\n`hosts`文件位置：`\u002Fetc\u002Fhosts`。\n\n`macOS`系统下修改需要按照如下方式：\n\n##### 1：首先，打开（访达）Finder。\n\n##### 2：使用组合键`Shift+Command+G`打开\"前往文件夹\"，输入框中输入`\u002Fetc\u002Fhosts`。\n\n##### 3：然后就会跳转到`hosts`文件位置。\n\n> 注意：如果你使用`VS Code`，可以直接用`VS Code`修改和保存，不需要复制文件。\n\n复制`hosts`文件到桌面上，鼠标右键右击它，选择「打开方式」—「文本编辑」，打开这个`hosts`文件，把前面的`hosts`内容复制进来。\n\n然后把你修改好的`hosts`文件替换掉：`\u002Fetc\u002Fhosts` 文件。\n\n注意：如果弹出密码输入框，你需要输入你当前登录账号对应的密码。\n\n最后刷新缓存：\n\n```shell\nsudo killall -HUP mDNSResponder\n```\n\n#### Windows\n\n`hosts`文件位置：`C:\u002Fwindows\u002Fsystem32\u002Fdrivers\u002Fetc\u002Fhosts`。\n\n将前文`hosts`内容追加到`hosts`文件，然后刷新`DNS`缓存：\n\n```shell\nipconfig \u002Fflushdns\n```\n\n## 我的作品\n\n- [GitMaster](https:\u002F\u002Fgithub.com\u002Fineo6\u002Fgit-master)：开发者助手，代码仓库结构浏览器扩展\n- [homebrew-install](https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhomebrew-install)：Homebrew快速安装教程和脚本\n- [GitHub Hosts](https:\u002F\u002Fgithub.com\u002Fineo6\u002Fhosts)：GitHub最新hosts，定时更新\n- [Awesome Mirror](https:\u002F\u002Fgithub.com\u002Fineo6\u002Fawesome-mirror)：镜像收集，旨在帮助你快速安装开发工具\n- [mp-ci](https:\u002F\u002Fgithub.com\u002Fineo6\u002Fmp-ci)：微信小程序、小游戏发布助手（CI）\n","ineo6\u002Fhosts项目通过修改hosts文件来加速GitHub的访问，解决图片加载失败和网页访问速度慢的问题。其核心功能包括提供远程DNS方案和本地hosts服务，定期更新IP地址以确保访问的稳定性，并支持多种操作系统如macOS、Linux及Windows。特别适合于网络环境下GitHub访问不稳定或速度较慢的用户使用，能够显著提升浏览体验。此外，该项目还提供了详细的配置教程，指导用户如何利用SwitchHosts等工具自动更新hosts文件，简化操作流程。",2,"2026-06-11 03:37:37","high_star"]