3 releases (stable)
1.0.1 | Dec 6, 2020 |
---|---|
1.0.0 | Dec 5, 2020 |
0.1.0 | Dec 5, 2020 |
#65 in #english
15KB
92 lines
owldict
owldict is a command line dictionary that uses owlbot to find definitions and examples of words.
Build
From crates.io
If you have cargo on your system you can install owldict from crates.io like this
$ cargo install owldict
From Source
You can install owldict from source if you have Rust installed on your system:
$ git clone https://github.com/SpyrosRoum/owldict.git
$ cd owldict
$ cargo build --release
Set up
You need to get a token from owlbot for owldict to work correctly.
Get your owlbot token from https://owlbot.info.
Then you will need to set an the OWLDICT_TOKEN
environment variable.
On linux it's as simple as running export OWLDICT_TOKEN={Your token}
Dependencies
~5–16MB
~151K SLoC