Skip to content
/ ds Public

A small dictionary tool running in the shell

Notifications You must be signed in to change notification settings

LanceGin/ds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages