{"id":19379031,"url":"https://github.com/hcfyapp/google-translate-cn-ip","last_synced_at":"2025-04-04T09:08:46.667Z","repository":{"id":62601732,"uuid":"557926886","full_name":"hcfyapp/google-translate-cn-ip","owner":"hcfyapp","description":"收集国内可用的谷歌翻译 IP 地址，并提供一些工具用于检测 IP 是否可用。","archived":false,"fork":false,"pushed_at":"2023-04-26T09:25:35.000Z","size":89,"stargazers_count":527,"open_issues_count":5,"forks_count":44,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-28T08:05:14.135Z","etag":null,"topics":["google","google-translate","google-translate-api","translate"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hcfyapp.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}},"created_at":"2022-10-26T15:06:22.000Z","updated_at":"2025-03-25T09:22:39.000Z","dependencies_parsed_at":"2024-06-19T02:42:52.200Z","dependency_job_id":"e5c7dc1a-6298-4dd9-a6aa-f247a5526091","html_url":"https://github.com/hcfyapp/google-translate-cn-ip","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/hcfyapp%2Fgoogle-translate-cn-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcfyapp%2Fgoogle-translate-cn-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcfyapp%2Fgoogle-translate-cn-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hcfyapp%2Fgoogle-translate-cn-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hcfyapp","download_url":"https://codeload.github.com/hcfyapp/google-translate-cn-ip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149501,"owners_count":20891954,"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-translate","google-translate-api","translate"],"created_at":"2024-11-10T09:08:17.545Z","updated_at":"2025-04-04T09:08:46.650Z","avatar_url":"https://github.com/hcfyapp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# google-translate-cn-ip\n\n自 2022 年 9 月 28 日起，谷歌翻译退出了中国市场，这导致 `translate.googleapis.com` 这个谷歌翻译接口域名无法在国内直接连通，但目前可以通过修改 hosts 的方式从国内连接到此域名。\n\n此项目的目的是收集可以从国内直接访问 `translate.googleapis.com` 的 IP 地址（后文简称为“可用 IP”），并提供一些工具用于检测 IP 是否可用。\n\n## 可用 IP 列表\n\n可用 IP 会不定时更新在以下文件当中：\n\nhttps://github.com/hcfyapp/google-translate-cn-ip/blob/master/packages/google-translate-ip/ips.txt\n\n你可以通过以下链接读取到这个文件的最新内容：\n\nhttps://unpkg.com/@hcfy/google-translate-ip/ips.txt\n\n## 如何测试 IP 是否可用\n\n见 [apps/cli/README.md](https://github.com/hcfyapp/google-translate-cn-ip/tree/master/apps/cli)。\n\n## 如何使用\n\n见 https://hcfy.app/blog/2022/09/28/ggg 中的【修改 hosts / IP 方案】。\n\n## 自动化工具\n\n目前有大佬开发了集扫描可用 IP + 测速 + 自动写入 hosts 于一体的工具：\n\n- @Ponderfly 开发的，项目主页及下载地址：https://github.com/Ponderfly/GoogleTranslateIpCheck\n- @GoodCoder666 开发的，项目主页及下载地址：https://github.com/GoodCoder666/GoogleTranslate_IPFinder\n\n大家可以去试用一下。\n\n## 其它资源\n\n### 获取可用 IP 的方法\n\nv2ex 上有个老哥提供了一个方法，但我不懂 go，这位老哥也没有写文档，我把这位老哥分享的方法写在下方，希望有个大佬能提供一份使用文档。\n\n来源：https://www.v2ex.com/t/888970#r_12246970\n\n\u003e 只要是 GWS 服务器都可以，可以扫描出来。\n\u003e 用的是 gscan_quic ，我开了这个分支。文档还没写。\n\u003e 原 repo: https://github.com/Kisesy/gscan_quic\n\u003e Frok: https://repo.or.cz/gscan_quic.git\n\n@yjd 有提供使用方法：https://github.com/hcfyapp/crx-selection-translate/discussions/1526#discussioncomment-3962409\n\n但是粗略看下来我还是有些细节不太明白，最好能润色成一篇非技术人员也看得懂的文档存放在此仓库中。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcfyapp%2Fgoogle-translate-cn-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhcfyapp%2Fgoogle-translate-cn-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcfyapp%2Fgoogle-translate-cn-ip/lists"}