Skip to content
dmitrysobolevPublic

About

A terminal user interface (TUI) EPUB reader written in Rust

Resources

Stars

16 stars

Watchers

1 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookRat

A terminal user interface (TUI) EPUB reader written in Rust.

Features

  • Browse and select EPUB files from the current directory
  • Read EPUB content with proper formatting
  • Navigate between parts
  • Scroll through content
  • Preserve text formatting (paragraphs, emphasis, quotes, etc.)
  • Debug mode for troubleshooting text formatting issues

Installation

  1. Make sure you have Rust installed (https://rustup.rs/)
  2. Clone this repository
  3. Build the project:
    cargo build --release

Usage

  1. Run the application:
    cargo run
  2. Create a books directory in the same directory as the executable (where you run cargo run from). Place your .epub files inside this books directory.
  3. Use the following controls:
    • j/k: Navigate file list or scroll content
    • h/l: Navigate between parts
    • Tab: Switch between file list and content view
    • Enter: Select a file to read
    • d: Toggle debug mode (in content view) to see raw text with visible special characters
    • q: Quit the application

Dependencies

  • ratatui: Terminal user interface library
  • crossterm: Cross-platform terminal manipulation
  • epub: EPUB file parsing
  • anyhow: Error handling
  • simplelog: Logging
  • regex: Regular expressions

License

MIT License

About

A terminal user interface (TUI) EPUB reader written in Rust

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages