Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

command line iciba to lookup chinese meaning of english words

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 iciba
Octocat-spinner-32 iciba.benchmark
README.md

命令行爱词霸ICIBA

现在可以方便的在命令行查单词了。

感谢爱词霸网站www.iciba.com。

为了能更快的查询意思,把查过的单词存在本地,下次查询时直接调出来。

如何使用

chmod 744 iciba # 把iciba变成可以执行的
./iciba happy # 查"happy"的意思
./iciba happy birthday # 查"happy birthday"的意思

使用命令行iciba你需要...

  • ruby
  • rest_client
  • nokogiri
  • sqlite3

TODO

  • 增加交互模式

Command line ICIBA

Now you can translate word in commond line.

Big big thanks to www.iciba.com.

In order to make lookup faster, save what being looked up to local storage, and take it out on next lookup.

usage

chmod 744 iciba # make iciba executable
./iciba happy # lookup for meaning of "happy"
./iciba happy birthday # lookup for meaning of "happy birthday"

dependencies

  • ruby
  • rest_client
  • nokogiri
  • sqlite3
Something went wrong with that request. Please try again.