An open API service indexing awesome lists of open source software.

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

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
[![asciicast](https://asciinema.org/a/684675.svg)](https://asciinema.org/a/684675)

### Review
[![asciicast](https://asciinema.org/a/687030.svg)](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