Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ds

Build Status

'ds' means 'dictionary shell', it helps you to translate a word from Chinese to English or from English to Chinese in a terminal. The translation based on YOUDAO traslate api.

Feature

• translate Chinese to English

alt text

• translate English to Chinese

alt text

Usage

1. translate English

ds ENG_WORD

2. translate Chinese

ds 中文词汇

Api

1. install

curl -L https://raw.githubusercontent.com/LanceGin/ds/master/install.sh > install.sh
bash install.sh
source ~/.bashrc
rm install.sh

2. uninstall

ds -c uninstall

3. update

ds -c update

4. reset YOUDAO api key and keyfrom

ds -c reset_key
source ~/.bashrc

About

A small dictionary tool running in the shell

Topics

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages