← Back to Leaderboard
Adenizsafak

denizsafak/abogen

Local Kokoro TTS for chaptered audiobooks and synchronized captions

Engineering Health (Methodology)
A · 85/100
Maintenance Activity
● Updated yesterday
Latest Release
v1.3.1
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence11/20
License Clarity20/20
DockerSelf-HostedLocal AIGPU
Total Stars
★ 6,302
24h Growth
+1
7d Growth
+19
Forks
511

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

denizsafak/abogen Star History (2025-04-22 - 2026-12-03) ALL-TIME STAR HISTORY (2025-04 – 2026-12) +6.3k in 590d · avg +11/day 6.7k 3.3k 0 2025-04-22: ★ 12025-05-31: ★ 2932025-07-12: ★ 3222025-08-23: ★ 2,8482025-10-04: ★ 3,5642025-11-15: ★ 3,7462025-12-27: ★ 3,8992026-02-07: ★ 4,0192026-03-21: ★ 4,1332026-05-02: ★ 4,2272026-06-13: ★ 4,7682026-07-25: ★ 5,3022026-09-05: ★ 5,8732026-10-17: ★ 6,1142026-12-03: ★ 6,302 ★ 6.3k 2025-04 2026-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Abogen is a Python document-to-audio application with two entrypoints: abogen launches the PyQt6 desktop GUI, and abogen-web serves a Flask UI that submits conversion jobs to a background worker. EPUB, PDF, and Markdown are converted into editable cached text with chapter markers. The synthesis pipeline turns text chunks into audio and records timing for subtitle export and, in v1.3.1, EPUB 3 media overlays.

The dependency stack includes EbookLib, Beautiful Soup, and PyMuPDF for document handling, Misaki and spaCy for language processing, and SoundFile and Mutagen for audio and metadata. Kokoro-82M is the primary TTS engine. The Web UI adds Supertonic, LLM normalization, and Audiobookshelf integration. A top-level plugins/ directory exists, but a stable third-party extension contract is not established.

Key Capabilities & Differentiators

Inputs include EPUB, PDF, TXT, Markdown, SRT, ASS, and VTT. Timestamped plain text can set segment start times and bypasses the normal subtitle mode setting. The desktop workflow supports voice previews, weighted voice mixing with reusable profiles, speech rates from 0.1× to 2.0×, and batch jobs that keep per-item settings unless an operator applies a queue-wide override.

Chapter markers let users regenerate selected chapters or produce separate chapter files and a merged edition. Outputs include WAV, FLAC, MP3, Opus, and chaptered M4B with metadata and cover art. Non-English SRT/ASS captions use audio-duration-based timing for line, sentence, and sentence-plus-comma modes; word-level timing is English-only. EPUB 3 media overlays use generated audio and persisted chunk timing for read-along playback in compatible readers.

Trade-offs & Limitations

Compared with calling Kokoro directly, Abogen removes the need to build document import, chapter management, caption export, and audiobook packaging. That is valuable for finished audiobooks, less so if an existing pipeline only needs synthesis. Compared with managed TTS, local inference gives operators more control over source files and outputs but shifts PyTorch, accelerator compatibility, and capacity planning onto the host.

The desktop and Web interfaces are not interchangeable: choose Web for Supertonic, LLM normalization, or Audiobookshelf integration. Capabilities also differ by language; non-English duration-based captions do not provide word-level alignment. A GPU is optional, but size for the chosen engine, representative chapter lengths, and expected job load rather than extrapolating a short demo to an entire book. MIT licensing covers Abogen itself, not all model assets or the rights to distribute converted books.

Hardware & Deployment Guide

The package manifest supports Python 3.10–3.12. Native installation is available through uv or pip, with a Windows installer script as another option; native setup calls for espeak-ng. The Apple Silicon command shown with Python 3.13 conflicts with the manifest's <3.13 bound. Treat Python 3.12 as the compatible starting point and validate the MPS path separately. For NVIDIA, match the PyTorch CUDA build to the driver; the AMD ROCm path targets Linux.

For self-hosting, docker compose up -d --build builds abogen/webui/Dockerfile and serves the UI on port 8808. Compose defaults to NVIDIA GPU operation, which requires NVIDIA Container Toolkit; for CPU-only operation, remove the device reservation and any runtime: nvidia entry. Use TORCH_INDEX_URL and TORCH_VERSION to select and pin the build, and ABOGEN_DATA to set the host data directory. v1.2.4 expanded multilingual captioning, v1.2.5 added uv installation and queue overrides, and v1.3.1 brought the Web UI, persisted timing, and EPUB 3 packaging.

Interface split: abogen launches PyQt6; abogen-web runs Flask with background jobs and adds Supertonic, LLM normalization, and Audiobookshelf integration.
Chapter workflow: EPUB, PDF, and Markdown become editable cached text with chapter markers for selective regeneration, separate files, or merged audio.
Caption timing: Non-English subtitles use audio duration at line, sentence, or sentence-plus-comma granularity; word-level modes are English-only.
Read-along packaging: v1.3.1 persists chunk timing in job artifacts and uses generated audio and chunk metadata to build media-overlay EPUB 3 files.
Audiobook delivery: M4B supports chapters, metadata, and cover art; audio can also be delivered as WAV, FLAC, MP3, or Opus with SRT or ASS captions.
Container deployment: Compose defaults to GPU, serves the Web UI on port 8808, and uses ABOGEN_DATA to locate host-side uploads and outputs.
Best For

Individuals and small teams converting documents they can use into chaptered audiobooks, synchronized captions, or read-along EPUBs on hardware they control.

Skip If

You need real-time conversational TTS, word-level alignment across languages, or API-first synthesis without managing a local runtime.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AIGPU
# For NVIDIA GPUs (CUDA 12.8) - Recommended
uv tool install --python 3.12 abogen[cuda] --extra-index-url https://download.pytorch.org/whl/cu128 --index-strategy unsafe-best-match

# For NVIDIA GPUs (CUDA 12.6) - Older drivers
uv tool install --python 3.12 abogen[cuda126] --extra-index-url https://download.pytorch.org/whl/cu126 --index-strategy unsafe-best-match

# For NVIDIA GPUs (CUDA 13.0) - Newer drivers
uv tool install --python 3.12 abogen[cuda130] --extra-index-url https://download.pytorch.org/whl/cu130 --index-strategy unsafe-best-match

# For AMD GPUs or without GPU - If you have AMD GPU, you need to use Linux for GPU acceleration, because ROCm is not available on Windows.
uv tool install --python 3.12 abogen

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
abogen ★6.3k+19PythonMITLocal Kokoro TTS for chaptered audiobooks and synchronized captions
voice-pro13.5k+34PythonGPL-3.0Self-hosted Gradio studio for transcription, translation, and dubbing
voicebox61.8k+437PythonMITLocal-first voice studio with multi-engine speech synthesis, dictation and MCP.
speech-to-speech13.9k+137PythonApache-2.0A modular speech cascade for self-hosted voice agents over OpenAI Realtime

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/denizsafak/abogen.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

denizsafak/abogen Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about abogen

How do I integrate Abogen into an existing audiobook workflow?

Use abogen-web for browser uploads and background conversion jobs. Its Audiobookshelf integration is not listed for the desktop app. For a file handoff, use chaptered M4B for audiobook playback, media-overlay EPUB 3 for compatible read-along readers, or audio plus SRT/ASS for captioned playback. Do not assume the Web UI exposes a stable automation API.

Is a GPU required, and how should I size memory?

No. CPU-only deployment is supported, though the default Compose configuration targets NVIDIA GPU hosts. There is no verified minimum VRAM figure. Run a representative chapter with the intended engine and export settings, measure wall time and peak RAM or VRAM, then repeat at the job load you expect before sizing a host.

Can I self-host Abogen for commercial audiobook production?

Abogen's MIT license permits commercial use and requires retaining its copyright and license notices when redistributing the software. Check the terms for the specific models and voice assets you use, and confirm that you have rights to convert and distribute the source material. Self-hosting gives you control over file storage, but does not establish that optional LLM normalization keeps text on the host.

When should I choose Abogen over raw Kokoro or managed TTS?

Run Kokoro directly if you already have clean text and a pipeline that handles segmentation, timing, and export. Choose Abogen if you want those steps packaged with document import, batch settings, and chaptered or synchronized outputs. A managed TTS service is a better fit if your priority is an API and you do not want to operate the inference stack.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining denizsafak/abogen? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature denizsafak/abogen on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare