Self-host ebook2audiobook---Legacy
v26.11.22Turn ebooks into audiobooks with TTS and voice cloning
docker run -v "./ebooks:/app/ebooks" -v "./audiobooks:/app/audiobooks" -v "./models:/app/models" -v "./voices:/app/voices" -v "./tmp:/app/tmp" --rm -it -p 7860:7860 athomasson2/ebook2audiobook:cpu- Stars
- 20 639
- RAM
- 2GB min, 8GB recommended
- Port
- 7860 (Gradio web GUI / web app.)
athomasson2/ebook2audiobookWhat is ebook2audiobook---Legacy?
ebook2audiobook (E2A) is an Apache-2.0 licensed converter that turns ebooks and PDFs into audiobooks, preserving chapter and metadata structure. Synthesis runs through a choice of TTS backends—XTTSv2, VITS and Fairseq among them, plus Bark, GlowTTS and Tortoise—and you can clone your own voice from a short reference recording, with noisy uploads cleaned automatically. Language coverage reaches 1158 tongues. A Gradio web interface runs locally, while headless flags make batch or scripted use easy. Further capabilities include OCR of scanned pages, translating an ebook before synthesis, SML tags that insert pauses or switch voices mid-book, optional MusicGen interludes, and pushing finished files to an Audiobookshelf library. Install via launcher scripts on Linux, macOS and Windows, or use the published Docker image and compose files with CUDA, ROCm, XPU and Jetson variants. CPU-only conversion is slow for the heavier engines, and the tool is meant solely for DRM-free books you own legally.
ebook2audiobook---Legacy alternatives
OmniVoice-StudioThis self-hosted, open-source ElevenLabs alternative clones and designs voices, dubs video and builds audiobooks in 646 languages, fully local on desktop or Docker.CompareOmniVoice-Studio with ebook2audiobook---Legacy
audio.cppSelf-hosted C++ framework running 100+ audio models locally with CUDA, Vulkan, Metal, CPU backends, built-in WebUI, no Python deps.Compareaudio.cpp with ebook2audiobook---Legacy
koodo-readerOpen-source, cross-platform ebook manager and reader you can self-host with Docker; reads EPUB, PDF, MOBI and CBZ, with notes, OPDS and cloud sync.Comparekoodo-reader with ebook2audiobook---Legacy
Whisper-WebUISelf-hosted Gradio web UI that turns Whisper speech recognition into an easy subtitle generator: transcribe files, YouTube links or microphone.CompareWhisper-WebUI with ebook2audiobook---Legacy
LibrumA cross-platform, open-source e-book reader and library manager that syncs your books across devices and can be self-hosted with your own Librum-Server backend.CompareLibrum with ebook2audiobook---Legacy
AudiobookshelfOpen-source, self-hosted media server for audiobooks and podcasts with on-the-fly audio streaming, progress syncing and podcast auto-downloads.CompareAudiobookshelf with ebook2audiobook---Legacy
Kokoro FastAPIA self-hosted, open-source FastAPI wrapper for the Kokoro-82M speech model with an OpenAI-compatible endpoint, multi-speaker mixing, SSML, timestamps and a web player.CompareKokoro FastAPI with ebook2audiobook---Legacy
Fish SpeechSelf-hosted text-to-speech toolkit with voice cloning, multi-speaker scripts and inline emotion tags, plus a TTS API server and WebUI in CUDA or CPU Docker images.CompareFish Speech with ebook2audiobook---Legacy
Should you self-host ebook2audiobook---Legacy?
ebook2audiobook---Legacy scores 74/100 on selfhost.directory (how scoring works) and ranks #2 of 9 in Text to Speech. It has 20 639 GitHub stars, +264 in the last 30 days.
It shipped 12 stable releases in the past year. The latest, v26.11.22, came out on 22 November 2026. New versions land roughly every 3 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is OmniVoice-Studio (90/100, 116 304 stars). It scores higher overall, so compare the two before you pick. See ebook2audiobook---Legacy vs OmniVoice-Studio side by side.
Features
- Batch folder conversion
- Custom / fine-tuned model upload
- Direct text-to-speech of typed text
- eBook to audiobook conversion
- Ebook translation before synthesis
- Gradio web GUI
- Headless CLI mode
- Multilingual TTS (1158 languages)
- Multiple audio output formats
- Multiple TTS engines
- Music interludes
- OCR of image pages
- SML tags for pauses and voice switching
- Voice Cloning
- Wide eBook format input
ebook2audiobook---Legacy README
More in Text to Speech
Fish SpeechSelf-hosted text-to-speech toolkit with voice cloning, multi-speaker scripts and inline emotion tags, plus a TTS API server and WebUI in CUDA or CPU Docker images.
Kokoro FastAPIA self-hosted, open-source FastAPI wrapper for the Kokoro-82M speech model with an OpenAI-compatible endpoint, multi-speaker mixing, SSML, timestamps and a web player.
kokoro-webKokoro Web is a self-hosted, open-source AI voice generator with OpenAI-compatible API and browser UI for natural speech in multiple languages.
OmniVoice-StudioThis self-hosted, open-source ElevenLabs alternative clones and designs voices, dubs video and builds audiobooks in 646 languages, fully local on desktop or Docker.
openai-edge-ttsA self-hosted, open-source text-to-speech API server that mimics OpenAI's /v1/audio/speech endpoint and synthesizes audio for free via Microsoft Edge's TTS voices.
OpenReaderA self-hosted open-source document reader that speaks EPUB, PDF, DOCX, text, and Markdown files aloud with word-level highlighting and audiobook export.
unspeechunSpeech is a self-hosted, open-source TTS proxy with an OpenAI-compatible API for multiple cloud providers like ElevenLabs, Azure, and Deepgram.
wyoming-piperSelf-hosted Wyoming protocol server for Piper TTS, providing neural text-to-speech for Home Assistant and Wyoming clients. Open-source, runs locally via Docker or Python.
airunnerSelf-hosted, open-source desktop AI engine: local LLM chat companions, Stable Diffusion art generation, TTS/STT voice, and a headless Ollama/OpenAI-compatible API.
audiobook-studioSelf-hosted open-source app for producing audiobooks locally using XTTS voice cloning, with optional Voxtral cloud voices. Multi-voice, segment repair, chapter assembly
Breeze TTS 2Self-hosted open-weight TTS model with voice cloning, design from descriptions, and voice direction. Streaming REST API and CLI for real-time synthesis on NVIDIA GPUs.
chatterbox-tts-apiChatterbox TTS API is a self-hosted, OpenAI-compatible TTS server with voice cloning and 22-language support. Runs via Docker or Python, integrates with Open WebUI.



0 comments