tuidict-0.1.5 is not a library.
tuidict
TUI dictionary with support for multiple language pairs from FreeDict.
Features
- Multi-language support - Download and use any dictionary from the FreeDict database
- Live search-as-you-type with instant results
- Fast prefix search using Trie data structure (O(k) lookups)
- Binary caching for instant startup times
- In-app dictionary downloads and management
Quick Start
- Launch the application
- Press
3to go to the Download page - Browse available dictionaries and press
Enterto download - Press
1to return to the Translation page - Start typing to search!
Keybindings
Global
1- Translation page2- Dictionary management page3- Download dictionaries pageqorCtrl+C- Quit
Translation Page (Page 1)
- Type to search (live results)
Tab- Cycle through active dictionariesj/kor↑/↓- Navigate resultsCtrl+n/Ctrl+p- Navigate results while editingEnter- Enter normal modeEsc- Go back to editing mode/- Clear input and go to editing mode
Dictionary Management (Page 2)
j/kor↑/↓- Navigate dictionary listSpaceorEnter- Toggle dictionary active/inactived- Delete dictionary (removes files)
Download Page (Page 3)
- Type to filter dictionaries (live search)
Ctrl+n/Ctrl+p- Navigate while filteringj/kor↑/↓- Navigate dictionary listEsc- Enter normal mode (stops editing filter)Enter- Download and install selected dictionary/- Clear filter and enter editing mode
Storage
- Configuration:
~/.config/tuidict/config.json - Dictionaries:
~/.local/share/tuidict/dictionaries/ - Cache files: Stored alongside dictionary files for fast loading
Dictionary Source
Dictionaries are sourced from FreeDict, a free and open-source dictionary project supporting numerous language pairs.