参考
https://github.com/afc163/fanyi
Steps
# install sudo npm install -g fanyi # Translation data is fetched from iciba.com and fanyi.youdao.com # and only support translation between Chinese and English. # use fy word fanyi word fy 中文也可以 # 配置 cat > ~/.fanyirc <<EOF { "iciba": true, "youdao": true, "dictionaryapi": false, "say": true, "color": true } EOF
![](https://cdn.1024.ee/wp-content/uploads/2021/04/mini_-2021-04-11-at-15.09.18-1280x1077.png)
It’s amazing for me to have a website, which is good in favor of my know-how.
thanks admin