yddict

一个命令行查单词的工具💻 📚

View on GitHub

YDDICT, A CLI tool to make looking up English/Chinese words handy 简体中文

Don’t like the resource-consuming Youdao dict App? Nor the web version? Why don’t you give my YDDICT a shot?

GitHub stars MIT licensed npm version Code Climate

gif with examples

Install

npm install yddict -g

Usage

yd <word to look up>

Custom Configuration

You can add following configuration options to .config/configstore/yddict.json file which is located to your $HOME directory. The file will be generated automatically after your first running if it doesn’t exist.

{
  "proxy":"http://<SERVER ADDRESS>:<PORT>" //proxy configuration
  "color":"<CUSTOM FONT COLOR>" //Custom font color configuration, default to white
}

How to contribute code to this project(Issue and documentation are welcome as well).

  1. Fork this repo.
  2. Run npm install to install all dependencies.
  3. Run npm test after your modification to make sure your change doesn’t break anything.
  4. Submit a PR

Discussion

  1. Telegram channel

Buy me a coffee

Buy Me A Coffee