sxzxs/Real-time-translation-typing
实时打字翻译软件、语音实时打字、语音实时翻译、LOL 语音打字
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#2 Repository of the week
████████╗██╗ ██╗██████╗ ██╗███╗ ██╗ ██████╗ ████████╗██████╗ █████╗ ███╗ ██╗███████╗██╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
╚══██╔══╝╚██╗ ██╔╝██╔══██╗██║████╗ ██║██╔════╝ ╚══██╔══╝██╔══██╗██╔══██╗████╗ ██║██╔════╝██║ ██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
██║ ╚████╔╝ ██████╔╝██║██╔██╗ ██║██║ ███╗ ██║ ██████╔╝███████║██╔██╗ ██║███████╗██║ ███████║ ██║ ██║██║ ██║██╔██╗ ██║
██║ ╚██╔╝ ██╔═══╝ ██║██║╚██╗██║██║ ██║ ██║ ██╔══██╗██╔══██║██║╚██╗██║╚════██║██║ ██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
██║ ██║ ██║ ██║██║ ╚████║╚██████╔╝ ██║ ██║ ██║██║ ██║██║ ╚████║███████║███████╗██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
想体验更强的版本可以联系【3261404579@qq.com】持续迭代中




Real-time-translation-typing


使用
- 鼠标拖动
实时打字翻译-网页版(推荐).ah2到Autohotkey.exe上面 - 或者修改
实时打字翻译-网页版(推荐).ah2的文件名为实时打字翻译-网页版(推荐).ahk,然后修改Auohotkey.exe的文件名为实时打字翻译-网页版(推荐).exe双击实时打字翻译-网页版(推荐).exe即可
功能
- 实时打字翻译
- 实时语音转文字并翻译
- LOL 语音转文字输入
快捷键
- ALT Y: 打开
- ALT ENTER:发音
- ENTER: 输出翻译文本
- CTRL ENTER: 输出原始文本
- ESC: 退出
- TAB: 切换另一个翻译API
- CTRL F7: 网页版调试
网页版额外快捷键
- CTRL + C :复制结果
- CTRL + ALT + Y :翻译当前粘贴板
- CTRL + V:打开状态下,输入粘贴板内容
- ALT + I:语音输入
- xbutton1: LOL语音输入触发
- xbutton2: LOL语音输入结束
网页调用版本(推荐)
目前支持 搜狗、百度、有道
| 环境 | 版本 |
|---|---|
| 系统 | 需要win10或者安装 webview2 runtime |
| 源码运行需要 ahk 版本 | autohotkey v2H |
API版本(不推荐)
通过配置文件来配置 /config/setting.json
- 选择主翻译API
"cd" : "youdao" ## 目前支持 "baidu", "google"(需要科学上网,且美国节点), "youdao", "sougou"
备选API需配置 is_open 为 1
如果没反应,可能api在维护,可以切换另一个使用
目前免费的是有道和搜狗和谷歌, 有道是直接调用的api速度比较快,搜狗是爬虫(速度较慢),谷歌需要翻墙
百度结果很不错,但是需要注册(免费100w字符/月)
- 有道词典
http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc&sessionFrom=null
{
"is_open" : 1
}
https://fanyi.sogou.com/text?keyword=%E4%BD%A0%E5%A5%BD&transfrom=auto&transto=en&model=general
"sougou" :
{
"is_open" : 1,
"is_real_time_translate" : 1
},
- 谷歌
{
"is_open" : 0,
"is_real_time_translate" : 0
}
- 百度翻译 需要自己注册后,把key填到配置文件 http://api.fanyi.baidu.com/api/trans/product/index
{
"is_open" : 0,
"BaiduFanyiAPPID" : "xxxxx",
"BaiduFanyiAPPSEC": "xxxxx",
"is_real_time_translate" : 0
}
因为百度使用次数有限额,因此通过 is_baidu_real_time_translate 来配置是否实时触发翻译
当配置 0 时,需要输入 空格 键 主动翻译, 建议输入最后键入空格
- 切换
按 tab键,从配置和打开的API切换
Similar Projects
Discover other similar projects and AI models.
Open-source Windows and Office activator featuring HWID, Ohook, TSforge, and Online KMS activation methods, along with advanced troubleshooting.
UI and QoL overlay for Path of Exile 1 and 2. Emphasizes ease of use, minimalist design, and seamless integration. Formerly Lailloken UI.
Block the keyboard input while you were eating instant noodles on your laptop keyboard.
RMT (RuoMengTu) is a free, open-source macro tool built on AHKv2. Let the code handle the tedious work—you have more meaningful things to do.
A virtual AI-based pit crew for Sim Racing. Use the latest GPT technology to create a real life like experience when out on the track.
"DreymaR's Big Bag of Keyboard Tricks" for Windows with EPKL