Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lancegin/ds
A small dictionary tool running in the shell
https://github.com/lancegin/ds
dictionary shell terminal translation
Last synced: 4 days 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T15:10:55.000Z (over 7 years ago)
- Last Synced: 2023-03-04T12:23:59.716Z (almost 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
[![Build Status](https://travis-ci.org/LanceGin/ds.svg?branch=master)](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
![alt text](http://wx1.sinaimg.cn/mw1024/89243dfbgy1fdwz01bf4lg20n80cctg6.gif "Title")
## • translate English to Chinese
![alt text](http://wx3.sinaimg.cn/mw1024/89243dfbgy1fdwz04r67ag20ko09wn1b.gif "Title")
# 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