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

https://github.com/khuei/lire

TUI EPUB Reader
https://github.com/khuei/lire

command-line command-line-tool epub epub-reader python tui

Last synced: 2 months ago
JSON representation

TUI EPUB Reader

Awesome Lists containing this project

README

          

# Lire

> Lire /ˈlaɪ(ə)r/: to read

Thumbnail 1
Thumbnail 2

## Features

- **EPUB Parsing:** Reads and extracts text from EPUB files.
- **Navigation:** Scroll through the text with arrow keys or `j/k` keys, jump by pages, and navigate between chapters.
- **Text Redaction:** Manually blank out words you already read to keep track of progress.

## Key Bindings

- `UP` / `k`: Scroll up one line.
- `DOWN` / `j`: Scroll down one line.
- `LEFT` / `h`: Go to the previous chapter.
- `RIGHT` / `l`: Go to the next chapter.
- `f`: Scroll forward one page.
- `b`: Scroll backward one page.
- `n`: Move the redaction boundary forward (hiding one word).
- `p`: Move the redaction boundary backward (Revealing last redacted word).
- `SPACE`: Toggle redaction on/off.
- `P`: Reset the redaction boundary.
- `q`: Quit the reader.

## Requirements

- Python 3.6+
- Required Python packages:
- `ebooklib`
- `beautifulsoup4`
- `argparse` (built-in module in most Python3 distributions)
- `curses` (built-in module in most Python distributions)

## Usage

Run the program with the following command:

``` sh
./lire
```