rdict

August 22, 2023 ยท View on GitHub

An offline CLI dictionary written in rust, using data from wiktionary.

Installation

Install the Rust toolchain: https://rustup.rs

Install from source:

$ cargo install --git https://github.com/Lodobo/rdict

Download json (1.5GB):

# This will download a jsonl file to ~/.local/share/rdict
$ rdict download-json

Create sqlite database:

# This will create a .db file to ~/.local/share/rdict
$ rdict json-to-db

Usage of rdict:

OptionsDescription
-w [WORD]Search word
--helpPrint help
-VPrint version

See also