StarDict: Dictionary for your terminal
Jason Cravens
Posted on May 13, 2024
On most repositories, there's sdcv
, the console version of StarDict program.
Freely available dictionaries in StarDict format for offline use.
Use html2text to correct the dictionary's HTML output for reading at the console.
Set up an alias for easy lookup.
For example, this alias would setup french definition's:
sdcvfr() {
sdcv --data-dir="/path/to/french_file" --non-interactive "$1" | html2text --ignore-emphasis
}
alias sdf='sdcvfr'
Now, just type: sdf développeur
Any language, instantly, with a single command!
💖 💪 🙅 🚩
Jason Cravens
Posted on May 13, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.