READ PDF/EPUB BOOKS IN THE TERMINAL
Bookokrat renders EPUB and PDF content with real layouts, images, and math. Built for readers who live in the terminal.
Demos
EPUB and PDF, captured in the terminal.
EPUB / HTML demo
Tables, code blocks, MathML, and images rendered inline.
PDF demo
Page/scroll modes, outline, search, and annotations.
Features that matter
Everything you expect, nothing you do not.
EPUB + HTML
Proper layout: tables, lists, images, and code blocks.
PDF modes
Page and scroll views with TOC and fast navigation.
MathML
Readable equations for math-heavy books.
Annotations
Attach notes, export Markdown, and track history.
Vim + Mouse
Keyboard-first or mouse-friendly, your choice.
Graphics
Kitty, Sixel, iTerm2, and Unicode image backends.
Reading workflow
Full-text search, jump list, bookmarks, and annotation export make Bookokrat a research tool.
Install
Pick a path and start reading.
Homebrew (macOS) brew install bookokrat
- Prereqs: Homebrew installed.
- PDF support is enabled by default.
Linux binary GitHub Releases (musl)
- Prereqs:
curlandtar. - Download and extract:
curl -LO https://github.com/bugzmanov/bookokrat/releases/latest/download/bookokrat-v0.3.1-x86_64-unknown-linux-musl.tar.gztar -xzf bookokrat-v0.3.1-x86_64-unknown-linux-musl.tar.gz- Install to your
PATH: sudo mv bookokrat /usr/local/bin/
Arch Linux AUR (bookokrat-bin)
- Install with your AUR helper:
yay -S bookokrat-binorparu -S bookokrat-bin.
Cargo (all platforms) cargo install bookokrat
- Prereqs: Rust toolchain + C compiler/linker.
- Linux (Debian/Ubuntu):
sudo apt install build-essential. - Linux (Fedora/RHEL):
sudo dnf install gcc make. - macOS:
xcode-select --install. - Windows: Visual Studio Build Tools with C++ workload.
- PDF builds on Linux:
pkg-config,libfontconfig1-dev,clang,libclang-dev. - Without PDF:
cargo install bookokrat --no-default-features.
FAQ
Short answers for common setup questions.
Is PDF support enabled by default?
Yes. To build without PDF support use --no-default-features.
What do I need to build from source?
A C compiler and standard build tools. For PDF builds on Linux, install
pkg-config, libfontconfig1-dev, and libclang-dev.
Does it work on Windows?
Yes, via Cargo. Install the Visual Studio Build Tools with C++ workload.