← all repositories
aedocw/epub2tts

The kitchen-sink TTS pipeline for your ebook pile

It converts DRM-free epubs and text files into standard M4B audiobooks using whatever TTS engine you have handy—from free cloud voices to local GPU voice clones.

941 stars Python Image · Video · Audio
epub2tts
Not currently ranked — collecting fresh signals.
star history

What it does

epub2tts ingests a DRM-free epub or text file and emits a standard M4B audiobook, complete with chapter markers, cover art, and sentence pauses. It wraps several TTS backends—Coqui (including XTTS voice cloning), Microsoft Edge, OpenAI, and Kokoro—and can resume generation if interrupted.

The interesting bit

The maintainer is admirably honest: the README opens by steering users toward newer, engine-specific forks for better Coqui cloning and long-form Microsoft voices, suggesting this repo has become the general-purpose proving ground while the spin-offs handle the heavy lifting.

Key highlights

  • Outputs proper M4B files with automatic chapter detection and optional cover art.
  • Supports five TTS engines: Coqui (VITS/XTTS), OpenAI, MS Edge, and Kokoro.
  • Clones a speaker from 1–3 short audio clips via Coqui XTTS v2.
  • Resumes where it left off, useful when local inference crawls at 0.15×–3.7× realtime.
  • Parallel chapter rendering via --threads, though local models need tuning.

Caveats

  • DRM-free epubs only.
  • Kokoro currently ignores speed configuration; a fix is pending.
  • Deepspeed may auto-detect but fail silently without a proper CUDA toolkit setup.

Verdict

Good for developers who want one tool to sample multiple TTS backends without writing their own pipeline. Skip it if you already know you want only Edge or only Coqui voice cloning—the author’s own spin-offs are likely sharper.

Frequently asked

What is aedocw/epub2tts?
It converts DRM-free epubs and text files into standard M4B audiobooks using whatever TTS engine you have handy—from free cloud voices to local GPU voice clones.
Is epub2tts open source?
Yes — aedocw/epub2tts is open source, released under the Apache-2.0 license.
What language is epub2tts written in?
aedocw/epub2tts is primarily written in Python.
How popular is epub2tts?
aedocw/epub2tts has 941 stars on GitHub.
Where can I find epub2tts?
aedocw/epub2tts is on GitHub at https://github.com/aedocw/epub2tts.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.