Terminal eBook Reader with Audiobook-Quality Text-to-Speech — Supports EPUB, PDF, DOCX, HTML, RTF, TXT, and MD.
Terminal eBook Reader with Audiobook-Quality Text-to-Speech — Supports EPUB, PDF, DOCX, HTML, RTF, TXT, and MD.
| Feature | Description |
|---|---|
| Multi-Format Support | Support for EPUB, PDF, TXT, DOCX, HTML, RTF, and Markdown with seamless format detection |
| Modular TTS System | Edge TTS (default) and Kokoro TTS (local/offline) with extensible architecture for new models |
| Cross-Platform & Multilingual | Full support for macOS, Linux, Windows (via WSL) with 100+ languages and consistent global experience |
| Speed Adjustment | Adjust text-to-speech playback speed from 1x to 3x for personalized listening experience |
| Auto-Scroll & Precise Word Highlighting | Automatic scrolling and word-level highlighting synchronized with actual speech, improving focus and concentration |
| Smart Persistence | Automatic progress saving, state restoration, and cross-session continuity for seamless reading |
| Fast Navigation | Intuitive shortcuts, mouse support, smooth scrolling and chapters list for fast navigation. |
| Extensive Customization | Fully customizable keyboard layouts (including Vim-style bindings), adjustable UI elements, colors, and display modes |
Want to try Lue right away? Follow these simple steps:
# 1. Install FFmpeg (required for audio processing)
# macOS
brew install ffmpeg
# Ubuntu/Debian
sudo apt install ffmpeg
# 2. Install the latest version from PyPI
pip install lue-reader
# 3. Practice using Lue with the navigation guide
lue --guide
# 4. Start reading!
lue path/to/your/book.epub Note: Quick start uses Edge TTS (requires internet). For offline capabilities, see full installation.
brew install ffmpeg
# Optional
brew install espeaksudo apt update && sudo apt install ffmpeg
# Optional
sudo apt install espeak# Using yay
yay -S lue-reader-git
# Or using paru
paru -S lue-reader-git# 1. Install WSL
# Open PowerShell as Administrator:
wsl --install
# 2. Restart your PC if prompted, then launch Ubuntu from Start Menu
# 3. Inside Ubuntu terminal:
sudo apt update && sudo apt upgrade -y
sudo apt install ffmpeg python3 python3-pip -y
# Optional
sudo apt install espeak# 1. Clone repository
git clone https://github.com/paulilaaso/lue.git
cd lue
# 2. Install dependencies
pip install -r requirements.txt
# 3. Install Lue
pip install .For local/offline TTS capabilities:
# 1. Edit requirements.txt - uncomment Kokoro packages:
kokoro>=0.9.4
soundfile>=0.13.1
huggingface-hub>=0.34.4
# 2. Install PyTorch
# CPU version:
pip install torch torchvision torchaudio
# GPU version (CUDA):
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
# 3. Install updated requirements
pip install -r requirements.txt
# 4. Install Lue
pip install .…Lue offers four UI complexity modes that you can cycle through using the v key, set as your default in the config.py file, or choose at launch with -m / --mode:
Additionally, Lue provides customizable word-level and sentence-level highlighting that can be adjusted to suit your reading preferences. You can cycle through different highlighting modes using the w and s keys. These highlighting settings can also be configured as defaults in the config.py file.
Lue comes with two built-in keyboard layouts that can be set using -k/--key command line option or set as your default in the config.py file. You can create your own keyboard layout by copying and modifying one of the existing layout files:
"play_pause": "p") or multiple keys as an array (e.g., "play_pause": ["p", " "]).Lue allows you to customize the color theme, visual icons/symbols and all ui elements of the interface by modifying the classes in ui.py. Create your own theme or choose one of the three themes that come with the default installation.
Interested in extending Lue?
Check out the Developer Guide for instructions on adding new TTS models and contributing to the project.
Reading Progress:
~/Library/Application Support/lue/~/.local/share/lue/ ~/.local/share/lue/ (within WSL filesystem)Error Logs:
~/Library/Logs/lue/error.log~/.cache/lue/log/error.log~/.cache/lue/log/error.log (within WSL filesystem)This project is licensed under the GPL-3.0-or-later License - see the LICENSE file for details.
No open issues yet, or sync has not completed.