Open source

Read any book in your language.
No app. No paywall.

Drop a PDF or EPUB in any language. TransPub translates it chapter by chapter, generates summaries and audio, and publishes a clean reading website — hosted free on GitHub Pages.

See it in action View source

Any format in

PDF and EPUB with automatic chapter detection from table of contents

A website out

Static HTML with summaries and audio — share a link, read on any device

Completely free

Open source, self-hosted. You own the output. No accounts, no subscriptions

One command, seven steps

Hover to explore
01
Extract
Split into chapters via TOC
02
Clean
Fix PDF artifacts & formatting
03
Translate
EN → ZH via GPT
04
Summarize
AI chapter summaries
05
Audio
Text-to-speech via OpenAI
06
Build
Generate static HTML
07
Publish
Deploy to GitHub Pages

Built for people who actually read

No bloated Electron apps, no DRM-locked readers, no monthly fees. Just a URL you can open on your phone, tablet, or laptop — with every chapter translated, summarized, and optionally narrated.

PDF & EPUB

Automatic chapter detection from TOC outlines with pattern-matching fallback

Fully resumable

Every step checkpointed. Interrupted? Re-run and it picks up where it stopped

Batch processing

Process an entire library with one script. Each book gets its own website

Three lines to start

# Clone and install
git clone https://github.com/jinghan23/TransPub
pip install -r requirements.txt

# Turn a book into a website
./process_book.sh "books/my-book.pdf" "my-book" "My Book Title"

See what the output looks like

A real book, fully translated and published. Browse chapters, read summaries, listen to audio.

Open live demo