terminal-dictionary (td)
This project uses the freeDictionaryAPI. Please support its author if you can.
Ever wanted to search the dictionary right from the terminal? No? Well anyway, terminal-dictionary is a simple dictionary and thesaurus tool written in Rust for the command-line. See Installation and Usage for more.
Installation
Use any of the following methods.
NOTE: The binary name is td, which is what you will use to execute it.
1. Downloading binary
-
You can download the binary from the releases page.
-
Move the binary
tdto/usr/local/binwith
2. Using Cargo
If you are a Rust programmer and have Cargo installed, simply run the following:
This will install the binary from crates.io
3. Building from GitHub
If you have Cargo installed, run the following commands
Now, run with cargo run or move the binary to /usr/bin with:
sudo mv target/release/td /usr/local/bin
Alternatively for (1) and (3), you can add the Downloads folder to $PATH by editing the ./bashrc file.
Usage
1. Dictionary
Use the def command to search dictionary:
Output:
2. Thesaurus
Use the thes command to search synonyms and antonyms:
Output: