admin管理员组

文章数量:1566986

之前出过一期改hosts文件解决开发软件翻译插件失效问题,之前就有看到全球最大男性同好网站github上有个非常好用的软件

GoogleTranslate_IPFinder

,一直忘了分享,这回在公司又需要翻译所以才想起来,先分享一下,有时间在搞个国内网盘。

 

下面就是直接复制的作者的介绍,hosts配置翻我以前的文章说的很清楚 http://t.csdn/XwCtJ

# GoogleTranslate_IPFinder

谷歌翻译服务器(`translate.googleapis`)在中国大陆的IP地址扫描、测速工具。

项目使用Python编写,GUI使用的是 `PySide6`(Qt for Python 6)。

稳定版下载地址:

- [https://github/GoodCoder666/GoogleTranslate_IPFinder/releases](https://github/GoodCoder666/GoogleTranslate_IPFinder/releases)

预览版(alpha)下载地址:

- Windows: [https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-win-x64.exe](https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-win-x64.exe)
- Mac OS: [https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-mac.zip](https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-mac.zip)

## 屏幕截图

请注意:屏幕截图均来自初始版本,新版 UI 稍有改动。

![](screenshots/1.gif)

![](screenshots/2.png)

## 注意事项

- 本项目仅在 Windows 11 下测试通过,其他操作系统若有运行问题请开 issue。
- 由于 Python 的限制,本项目不支持 Windows 7 及以下。

## 功能对比

|     功能     |       本项目       | [GoogleTranslateIpCheck](https://github/Ponderfly/GoogleTranslateIpCheck) | [google-translate-cn-ip](https://github/hcfyapp/google-translate-cn-ip) | [gscan_quic](https://github/Kisesy/gscan_quic) |
| :----------: | :----------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :------------------------------------------------: |
|   IP 收集    | :heavy_check_mark: |                      :heavy_check_mark:                      |                      :heavy_check_mark:                      |                        :x:                         |
|   IP 扫描    | :heavy_check_mark: |                      :heavy_check_mark:                      |                             :x:                              |                 :heavy_check_mark:                 |
|   IP 测速    | :heavy_check_mark: |                      :heavy_check_mark:                      |                      :heavy_check_mark:                      |                        :x:                         |
|  HOSTS 写入  | :heavy_check_mark: |                      :heavy_check_mark:                      |                             :x:                              |                        :x:                         |
| GUI 图形界面 | :heavy_check_mark: |                             :x:                              |                             :x:                              |                        :x:                         |

## 快速上手

### 使用打包好的可执行文件(仅限Windows和MacOS系统)

从[Releases](https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/tag/alpha)页面下载对应系统的可执行文件,运行即可。

- Windows: [https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-win-x64.exe](https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-win-x64.exe)
- Mac OS: [https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-mac.zip](https://github/GoodCoder666/GoogleTranslate_IPFinder/releases/download/alpha/checker-mac.zip)

文件由GitHub Actions自动打包发布,如果下载慢可以用IDM/NDM等多线程下载器进行下载。

### 从源代码运行(适用于所有操作系统)

在命令行中依次执行如下命令(请提前安装好Python>=3.6和Git):

```shell
git clone https://github/GoodCoder666/GoogleTranslate_IPFinder.git
pip install -r requirements.txt
python main.py
```

## 开发计划

- [X] IP 测速
- [X] IP 扫描
- [x] 自动写入 Hosts
- [x] 自动获取 IP 列表

...(若有其他需求欢迎在[issues](https://github/GoodCoder666/GoogleTranslate_IPFinder/issues)中提出)

## 关于在线同步功能

本项目作者提供的 IP 库在打开软件时会自动导入。程序还提供了在线导入其他 IP 库的功能,地址如下:

- 精简 IPv4:
  - 官方:https://unpkg/@hcfy/google-translate-ip/ips.txt
  - 备用1(ghproxy 镜像):https://ghproxy/https://raw.githubusercontent/hcfyapp/google-translate-cn-ip/master/packages/google-translate-ip/ips.txt
  - 备用2(jsDelivr CDN):https://cdn.jsdelivr/npm/@hcfy/google-translate-ip/ips.txt
- 扩展 IPv4:
  - 官方1:https://raw.githubusercontent/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/ip.txt
  - 官方2:https://ghproxy/https://raw.githubusercontent/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/ip.txt
  - 备用(GitCode 镜像):https://gitcode/mirrors/Ponderfly/GoogleTranslateIpCheck/-/raw/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/ip.txt
- 标准 IPv6:
  - 官方1:https://raw.githubusercontent/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/IPv6.txt
  - 官方2:https://ghproxy/https://raw.githubusercontent/Ponderfly/GoogleTranslateIpCheck/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/IPv6.txt
  - 备用(GitCode 镜像):https://gitcode/mirrors/Ponderfly/GoogleTranslateIpCheck/-/raw/master/src/GoogleTranslateIpCheck/GoogleTranslateIpCheck/IPv6.txt

程序会自动找到可用的网址并导入 IP 库(设置备用网址是因为 raw.githubusercontent 访问不稳定)。导入一般需要 5-10 秒,请耐心等待。

感谢 @hcfyapp 和 @Ponderfly 提供的 IP 库。

## 版权说明

本项目使用[GPLv3](https://github/GoodCoder666/GoogleTranslate_IPFinder/blob/main/LICENSE)版权许可。IP 扫描逻辑参考 [https://repo.or.cz/gscan_quic](https://repo.or.cz/gscan_quic)。

类似的项目:[hcfyapp/google-translate-cn-ip](https://github/hcfyapp/google-translate-cn-ip) [Ponderfly/GoogleTranslateIpCheck](https://github/Ponderfly/GoogleTranslateIpCheck)

本文标签: 插件测速浏览器ip