https://github.com/lengyijun/mdict-cli-rs
https://github.com/lengyijun/mdict-cli-rs
dictionaries dictionary mdict mdict-reader
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lengyijun/mdict-cli-rs
- Owner: lengyijun
- Created: 2023-12-26T08:11:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T12:23:31.000Z (over 1 year ago)
- Last Synced: 2024-10-24T20:49:39.062Z (over 1 year ago)
- Topics: dictionaries, dictionary, mdict, mdict-reader
- Language: Rust
- Homepage:
- Size: 81.1 KB
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mdict-cli-rs
## Features
1. support stardict and mdict
2. anki mode
## Get start
1. put the mdict or stardict under `~/.local/share/mdict-cli-rs`
`mdict-cli-rs` will search dictionaries recursively
mdict only support v1,v2
2. install [carbonyl](https://github.com/fathyb/carbonyl)
3. `cargo r -- awesome`
### Search
[](https://asciinema.org/a/684675)
### Review
[](https://asciinema.org/a/687030)
## Usage
```
# search word
mdict-cli-rs
# anki-like review mode
# you can also open http://127.0.0.1:3333 in browser manually
mdict-cli-rs anki
mdict-cli-rs --list-dicts
mdict-cli-rs --show-path
```
### blog in Chinese
https://rustcc.cn/article?id=f1875505-af4e-4043-ba92-f95a2e7e01a1