Aitranslate
监听粘贴版新的英文内容并翻译成中文,Monitor the new English content of the pasted version and translate it into Chinese
Install / Use
/learn @cnbattle/AitranslateREADME
ai translate
监听粘贴版新的内容并翻译成中文
仅在
Manjaro上测试,其他平台未知,有问题或建议请提交Pull Requests或Issues
命令行版请查看cli分支,master为systray系统托盘版本
|Linux| Windows 10|
|:---:|:---:|
|
|
|
特色
- 自动翻译
clipboard的内容 - 支持
Google Translate和YouDao Translate - 开源,不用担心
clipboard内容泄漏问题
TODO
- [ ] GUI系统托盘执行,实现托盘切换翻译渠道及运行模式
- [ ] 增加测试代码
使用
依赖
- Linux
xsel或xclip
// Manjaro/Arch:
sudo pacman -S xsel xclip
// Debian/Ubuntu
sudo apt-get install xsel xclip
// Fedora
sudo dnf install xsel xclip
- Windows 10
PowerShell
Linux or Mac
nohup ./aitranslate -c [Google|YouDao] &
Windows
start /b ./aitranslate.exe -c [Google|YouDao]
Tips
manjaro 可以开启
clipman设置中的同步鼠标选择区,实现选中自动翻译
依赖
Linux xsel或xclip
// Manjaro/Arch:
sudo pacman -S xsel xclip
// Debian/Ubuntu
sudo apt-get install xsel xclip
// Fedora
sudo dnf install xsel xclip
Windows 10 PowerShell
screenshots

