{"id":13775626,"url":"https://github.com/jiangxianli/googlehosttool","last_synced_at":"2026-01-22T04:37:17.325Z","repository":{"id":89488064,"uuid":"92039538","full_name":"jiangxianli/GoogleHostTool","owner":"jiangxianli","description":"一键添加最新google hosts文件到本地hosts文件中，google 翻墙访问工具，适用windows、linux、mac","archived":false,"fork":false,"pushed_at":"2018-06-25T08:21:38.000Z","size":7,"stargazers_count":32,"open_issues_count":6,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T17:12:07.041Z","etag":null,"topics":["google","google-host","google-host-tool","google-hosts","hosts","shell","wget"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiangxianli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-05-22T10:07:12.000Z","updated_at":"2024-04-13T11:29:07.000Z","dependencies_parsed_at":"2024-01-17T16:06:50.415Z","dependency_job_id":"5e1ea402-d673-4acf-8e3f-4fd6a3abf18f","html_url":"https://github.com/jiangxianli/GoogleHostTool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangxianli%2FGoogleHostTool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangxianli%2FGoogleHostTool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangxianli%2FGoogleHostTool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiangxianli%2FGoogleHostTool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiangxianli","download_url":"https://codeload.github.com/jiangxianli/GoogleHostTool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225027474,"owners_count":17409442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google","google-host","google-host-tool","google-hosts","hosts","shell","wget"],"created_at":"2024-08-03T17:01:42.982Z","updated_at":"2026-01-22T04:37:17.318Z","avatar_url":"https://github.com/jiangxianli.png","language":"PowerShell","funding_links":[],"categories":["\u003ca id=\"af9d2b4988d35a2a634c042a1c66bb8c\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"6e28befd418dc5b22fb3fd234db322d3\"\u003e\u003c/a\u003e翻墙"],"readme":"# GoogleHostTool\n一键添加最新google hosts文件到本地hosts文件中，适用windows、linux、mac。我将最新的google hosts文件保存在远程服务器上，通过脚本下载获取最新hosts文件，并更新到本地hosts文件中。\n\n## windows使用\n- windows脚本采用powerShell编写\n- 选中google-hosts.bat文件右键以管理员身份运行\n- 遇到360等杀毒软件提示修改HOST，点击允许本次修改\n\n## linux及Mac下使用\n- 修改google-hosts.sh可执行权限,chmod u+x google-hosts.sh\n- 配置软连接加入到全局环境中 ln -s 当前目录/google-hosts.sh /usr/bin/google-hosts\n- 终端中输入google-hosts以root用户权限执行命令\n\n## 注意\n- 用户权限问题\n- 部分linux系统中可能没有预装wget,需要手动先安装wget\n- 执行完脚本后访问google,请记得是https://www.google.com.hk ,是https开头哦\n- 如遇到执行完脚本后,google hosts不生效的问题请提交到issues\n\n## 叨扰一下\n- 因为在国内Host翻墙访问的特殊性，ZF在一些必要的时候会做一些特殊处理导致不能正常访问，为了国家发展和和平，请多理解。\n- 您可以点击项目【Watch】 随时关注动态，我会在这里随时记录Host的实时可用性。\n\n## 可用性记录\n- 2018-6-19 - 2018-6-25  可用\n- 2018-6-25 - 至今  不可用\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiangxianli%2Fgooglehosttool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiangxianli%2Fgooglehosttool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiangxianli%2Fgooglehosttool/lists"}