https://github.com/mazezen/command-fanyi
command-fanyi 命令行翻译工具,将命令执行的结果翻译成中文
https://github.com/mazezen/command-fanyi
Last synced: 10 months ago
JSON representation
command-fanyi 命令行翻译工具,将命令执行的结果翻译成中文
- Host: GitHub
- URL: https://github.com/mazezen/command-fanyi
- Owner: mazezen
- License: mit
- Created: 2024-11-04T14:47:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-21T03:15:36.000Z (over 1 year ago)
- Last Synced: 2024-12-21T03:25:04.276Z (over 1 year ago)
- Language: Go
- Size: 10.9 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
###
command-fanyi
#### 命令行翻译工具,将命令行执行的结果翻译成中文
####
####

## 翻译采用的百度翻译,你可以自行修改为其他翻译
> 设置百度翻译的appid 和 app secret
>
> export APPID="**********"
>
> export SECRETKEY="**********"
## 安装
1. Mac
```shell
curl -sSL https://raw.githubusercontent.com/mazezen/command-fanyi/refs/heads/master/install.sh | bash
```
2. Windows
下载地址: https://github.com/mazezen/command-fanyi/releases/download/v1.0.2/command-fanyi-amd64-windows.exe
自行配置系统变量
## 示例
```shell
fanyi go mod -h
fanyi tldr git push
fanyi tldr curl
```