{"id":26194143,"url":"https://github.com/jianboy/github-host","last_synced_at":"2025-05-16T01:04:49.069Z","repository":{"id":38244217,"uuid":"270505905","full_name":"jianboy/github-host","owner":"jianboy","description":"auto get github host ip","archived":false,"fork":false,"pushed_at":"2025-05-10T03:00:43.000Z","size":1002,"stargazers_count":386,"open_issues_count":3,"forks_count":116,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-10T04:18:11.910Z","etag":null,"topics":["github","python"],"latest_commit_sha":null,"homepage":"http://blog.yoqi.me/lyq/16489.html","language":"Python","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/jianboy.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-08T02:54:20.000Z","updated_at":"2025-05-10T03:00:47.000Z","dependencies_parsed_at":"2023-10-15T04:02:58.702Z","dependency_job_id":"b19d9608-7824-40ff-bc05-9b3aa0ca9351","html_url":"https://github.com/jianboy/github-host","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/jianboy%2Fgithub-host","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianboy%2Fgithub-host/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianboy%2Fgithub-host/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianboy%2Fgithub-host/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jianboy","download_url":"https://codeload.github.com/jianboy/github-host/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"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":["github","python"],"created_at":"2025-03-12T01:55:20.615Z","updated_at":"2025-05-16T01:04:49.052Z","avatar_url":"https://github.com/jianboy.png","language":"Python","readme":"# github-host\n\n## 墙介绍\n\n被 qiang 大体有两种：DNS污染，封杀IP。 \n\nDNS污染则无法通过域名直接访问，一种方法就是修改DNS，这个最简单的就是修改hosts。 封杀IP的话，只能通过 “反墙” 来解决。由于政策风险，这里不介绍。 \n\n## github访问\n\n由于众所周知的原因 github 很多时候无法加载，或者样式不显示。我们可以简单修改 Host，解决 github 无法访问。编辑下面文件：\n**C:\\Windows\\System32\\drivers\\etc\\hosts**。把上述hosts文件内容复制进去即可。\n\n\n## 更新\n\ngithub 子域名非常多，服务器非常多，墙是动态的。所以需要不断更新 hosts 来解决无法访问问题。\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianboy%2Fgithub-host","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjianboy%2Fgithub-host","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianboy%2Fgithub-host/lists"}