A cli multi-tool for japanese. Forked from https://github.com/JojiiOfficial/jisho-cli
Find a file
2023-12-17 21:00:12 +00:00
.img Upload local patches I've been running for jisho-cli. 2023-10-14 17:12:06 +01:00
src Moved error messages out of kanji_search.rs 2023-12-17 21:00:12 +00:00
.gitignore initial commit 2021-02-07 22:51:54 +01:00
Cargo.lock Upload local patches I've been running for jisho-cli. 2023-10-14 17:12:06 +01:00
Cargo.toml Upload local patches I've been running for jisho-cli. 2023-10-14 17:12:06 +01:00
LICENSE initial commit 2021-02-07 22:51:54 +01:00
README.md Update README. 2023-11-21 18:07:15 +00:00

Jisho (cli)

A very simple cli tool to look up Japanese words using jisho.org's API. Searching for kanji by radicals is also available.


Installation

Binaries are directly available from the release tab.

Compilation

Download source and run

cargo build --release

Usage

A readline wrapper like rlwrap is strongly recommended if using jisho-cli interactively (-i).

jisho [<words to look up>]
jisho :[<radicals in kanji>]

When looking up radicals, * (or ) can be used to add a radical that can't be easily typed, e.g. 气.

Note

To search kanji by radicals, the radkfile needs to be installed in either ~/.local/share/ on Linux or ~\AppData\Local\ on Windows.