Giter Club home page Giter Club logo

google-translate-cn-ip's Introduction

google-translate-cn-ip

自 2022 年 9 月 28 日起,谷歌翻译退出了**市场,这导致 translate.googleapis.com 这个谷歌翻译接口域名无法在国内直接连通,但目前可以通过修改 hosts 的方式从国内连接到此域名。

此项目的目的是收集可以从国内直接访问 translate.googleapis.com 的 IP 地址(后文简称为“可用 IP”),并提供一些工具用于检测 IP 是否可用。

可用 IP 列表

可用 IP 会不定时更新在以下文件当中:

https://github.com/hcfyapp/google-translate-cn-ip/blob/master/packages/google-translate-ip/ips.txt

你可以通过以下链接读取到这个文件的最新内容:

https://unpkg.com/@hcfy/google-translate-ip/ips.txt

如何测试 IP 是否可用

apps/cli/README.md

如何使用

https://hcfy.app/blog/2022/09/28/ggg 中的【修改 hosts / IP 方案】。

自动化工具

目前有大佬开发了集扫描可用 IP + 测速 + 自动写入 hosts 于一体的工具:

大家可以去试用一下。

其它资源

获取可用 IP 的方法

v2ex 上有个老哥提供了一个方法,但我不懂 go,这位老哥也没有写文档,我把这位老哥分享的方法写在下方,希望有个大佬能提供一份使用文档。

来源:https://www.v2ex.com/t/888970#r_12246970

只要是 GWS 服务器都可以,可以扫描出来。 用的是 gscan_quic ,我开了这个分支。文档还没写。 原 repo: https://github.com/Kisesy/gscan_quic Frok: https://repo.or.cz/gscan_quic.git

@yjd 有提供使用方法:hcfyapp/crx-selection-translate#1526 (reply in thread)

但是粗略看下来我还是有些细节不太明白,最好能润色成一篇非技术人员也看得懂的文档存放在此仓库中。

google-translate-cn-ip's People

Contributors

lmk123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.