Skip to content

a command line tools use to translate en to cn or cn to en

Notifications You must be signed in to change notification settings

binku87/iciba-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iciba-cmd

iciba-cmd is a command line tools which used to translate EN to CN or CN to EN and play sound .

How to setup

1.Need Gem nokogiri and colord

sudo gem install nokogiri
sudo gem install colored

2.Need mplayer and wget
In Ubuntu:
sudo apt-get install mplayer
sudo apt-get install wget

In Mac:
brew install mplayer
brew install wget

2.In ubuntu need to make iciba executable

sudo chomd +x iciba

3.copy file iciba to bin directory,such as 'sudo cp iciba /usr/bin/'

4.Usage:

SHELL$ iciba word
SHELL$ iciba "phrase"
SHELL$ iciba 爱词霸

About

a command line tools use to translate en to cn or cn to en

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages