https://github.com/lancegin/ds
A small dictionary tool running in the shell
https://github.com/lancegin/ds
dictionary shell terminal translation
Last synced: 5 months ago
JSON representation
A small dictionary tool running in the shell
- Host: GitHub
- URL: https://github.com/lancegin/ds
- Owner: LanceGin
- Created: 2017-03-23T03:05:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T15:10:55.000Z (about 8 years ago)
- Last Synced: 2023-03-04T12:23:59.716Z (over 2 years ago)
- Topics: dictionary, shell, terminal, translation
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 21
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ds
[](https://travis-ci.org/LanceGin/ds)> '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

## • translate English to Chinese

# Usage
## 1. translate English
ds ENG_WORD
## 2. translate Chineseds 中文词汇
# 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. updateds -c update
## 4. reset YOUDAO api key and keyfrom
ds -c reset_key
source ~/.bashrc