{"id":25098555,"url":"https://github.com/feng2208/github-hosts","last_synced_at":"2025-04-12T22:19:17.064Z","repository":{"id":219913910,"uuid":"750134939","full_name":"feng2208/github-hosts","owner":"feng2208","description":"加速github，用spotify听歌无广告。","archived":false,"fork":false,"pushed_at":"2025-03-25T06:27:20.000Z","size":24058,"stargazers_count":258,"open_issues_count":2,"forks_count":28,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-04T05:41:42.659Z","etag":null,"topics":["github","hosts","spotify"],"latest_commit_sha":null,"homepage":"https://feng2208.pages.dev/github-hosts","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feng2208.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-01-30T03:34:26.000Z","updated_at":"2025-04-02T04:45:26.000Z","dependencies_parsed_at":"2024-03-25T02:54:18.132Z","dependency_job_id":"c8648088-999e-4a3e-b588-fe28ddad9c61","html_url":"https://github.com/feng2208/github-hosts","commit_stats":null,"previous_names":["glue208/github-hosts","feng2208/github-hosts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng2208%2Fgithub-hosts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng2208%2Fgithub-hosts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng2208%2Fgithub-hosts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feng2208%2Fgithub-hosts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feng2208","download_url":"https://codeload.github.com/feng2208/github-hosts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637945,"owners_count":21137576,"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","hosts","spotify"],"created_at":"2025-02-07T18:32:08.196Z","updated_at":"2025-04-12T22:19:17.028Z","avatar_url":"https://github.com/feng2208.png","language":"Python","readme":"\n\n- [加速github](https://github.com/feng2208/github-hosts)([mirror](https://feng2208.pages.dev/github-hosts))\n- [国内注册使用spotify](https://feng2208.pages.dev/posts/spotify)，无广告可以任意切歌。\n\n\n\n## 加速github\n从`命令提示符`启动，在执行命令前**先关闭**浏览器。\n\n### 谷歌浏览器\nWindows\n```bat\n\"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\" --host-rules=\"MAP github.com octocaptcha.com, MAP github.githubassets.com yelp.com, MAP *.githubusercontent.com yelp.com\" --host-resolver-rules=\"MAP octocaptcha.com 20.27.177.113, MAP yelp.com 199.232.240.116\"\n```\n\nmacOS\n```sh\n/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --host-rules=\"MAP github.com octocaptcha.com, MAP github.githubassets.com yelp.com, MAP *.githubusercontent.com yelp.com\" --host-resolver-rules=\"MAP octocaptcha.com 20.27.177.113, MAP yelp.com 199.232.240.116\"\n```\n\n\n### 微软Edge浏览器\n在浏览器`设置`-`系统和性能`将`启动增强`关闭。\n\n```bat\n\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --host-rules=\"MAP github.com octocaptcha.com, MAP github.githubassets.com yelp.com, MAP *.githubusercontent.com yelp.com\" --host-resolver-rules=\"MAP octocaptcha.com 20.27.177.113, MAP yelp.com 199.232.240.116\"\n```\n\n\n### git命令\n- [下载github-hosts](https://github.com/feng2208/github-hosts/archive/refs/heads/main.zip) 解压出来，运行`github-hosts.bat`\n- 设置`git`使用代理`git config --global http.proxy http://127.0.0.1:8180`\n- 使用`git`命令，类似：\n  ```\n  git -c http.sslVerify=false clone https://github.com/feng2208/github-hosts.git\n  ```\n- 取消使用代理：`git config --global --unset http.proxy`\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeng2208%2Fgithub-hosts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeng2208%2Fgithub-hosts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeng2208%2Fgithub-hosts/lists"}