Discover and explore top open-source AI tools and projects—updated daily.
Generate audiobooks from documents with synchronized captions
Top 13.6% on SourcePulse
Abogen is a text-to-speech tool that converts EPUB, PDF, and text files into audiobooks with synchronized captions, targeting content creators and audiobook enthusiasts. It leverages the Kokoro-82M model for natural-sounding speech, offering a quick and efficient way to generate audio content with customizable subtitles.
How It Works
Abogen processes input files (EPUB, PDF, TXT) and utilizes the Kokoro-82M text-to-speech model to generate audio. It supports various subtitle synchronization options, from word-level to sentence-level highlighting. The tool also features a voice mixer for creating custom voices and can handle chapter splitting for e-books, saving each chapter as a separate audio file or merging them into a single audiobook.
Quick Start & Requirements
WINDOWS_INSTALL.bat
for an automated setup including CUDA. Alternatively, use pip install abogen
(requires Python 3.10-3.12). Mac and Linux users install espeak-ng
and then pip3 install abogen
. Specific instructions for NVIDIA and AMD GPUs (Linux) are provided.espeak-ng
is required on all platforms. CUDA is automatically handled for Windows installations via the script. For Mac (M1/M2), Kokoro's development version with MPS support needs to be installed (pip3 install git+https://github.com/hexgrad/kokoro.git
).Highlighted Details
Maintenance & Community
The project welcomes contributions via pull requests. Specific contributors are credited for features like chapter support, voice mixing, and subtitle highlighting. Links to potential community channels are not explicitly provided in the README.
Licensing & Compatibility
Abogen is released under the MIT License. The underlying Kokoro model is licensed under Apache-2.0, which permits commercial use, modification, and distribution.
Limitations & Caveats
Subtitle generation is currently limited to English due to Kokoro's timestamp token support. Audio preview is not functional within the Docker container, and directory opening options in settings do not work in Dockerized environments.
1 day ago
Inactive