Chapter — Self-hosted Ebook Reader with AI Narration

1 min read Original article ↗
Chapter

A self-hosted ebook reader (server + web client) with local, AI-powered text-to-speech. Upload EPUBs, read them in your browser, or listen to them narrated aloud. Your reading position syncs between modes.

What it does

  • Read EPUBs in a clean, customizable reader
  • Generate audiobook narration using Kokoro TTS (runs locally, no API costs)
  • Switch between reading and listening—your position stays synced
  • Works offline as a PWA
  • Auto-imports books from folders you specify

Requirements

  • Docker (or Node.js if running without containers)
  • A machine with a few GB of RAM for the TTS model

Quick start

curl -sSL https://raw.githubusercontent.com/jordanful/chapter/master/install.sh | bash

Tech stack

TypeScript, Next.js, Fastify, SQLite, Prisma, Kokoro TTS. Everything runs on your own hardware.