Thukyd /
OpenAI-Spechify-Your-Docs
OpenAI-Spechify-Your-Docs is a Python project that converts text from `.txt`, `.pdf`, and `.epub` files into speech using OpenAI's Text-to-Speech API.
50/100 healthLoading repository data…
marcogenna / repository
Convert EPUB books to M4B audiobooks with AI-powered TTS (Edge TTS, Kokoro, Piper)
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Convert EPUB books to M4B audiobooks with AI-powered text-to-speech.
https://github.com/user-attachments/assets/demo-placeholder
# Install
pip install git+https://github.com/marcogenna/epub2audiobook.git
# Web UI
epub2audiobook-web
# Open http://127.0.0.1:8000
# CLI
epub2audiobook book.epub output.m4b
pip install git+https://github.com/marcogenna/epub2audiobook.git
git clone https://github.com/marcogenna/epub2audiobook.git
cd epub2audiobook
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
epub2audiobook-web --host 0.0.0.0 --port 8000
# Basic conversion
epub2audiobook book.epub
# With options
epub2audiobook book.epub output.m4b \
--engine kokoro \
--voice if_sara \
--speed 1.2 \
--language it
# List available voices
epub2audiobook --list-voices --engine edge --language it
# Resume interrupted conversion
epub2audiobook book.epub output.m4b --work-dir ./work
| Option | Description | Default |
|---|---|---|
-e, --engine | TTS engine (edge, kokoro) | edge |
-v, --voice | Voice name | Engine default |
-s, --speed | Speech rate (0.5-2.0) | 1.0 |
-l, --language | Language code | it |
-b, --bitrate | Audio bitrate | 64k |
-w, --work-dir | Working directory (enables resume) | temp |
--list-voices | List available voices | - |
epub2audiobook --list-voices --engine edge --language it
if_sara (F), im_nicola (M)epub2audiobook book.epub --engine kokoro --voice if_sara
epub2audiobook/
├── audio/ # FFmpeg integration, M4B builder
├── tts/ # TTS engine implementations
│ ├── base.py # Abstract base class
│ ├── edge_engine.py
│ └── kokoro_engine.py
├── web/ # FastAPI web interface
├── cli.py # Command-line interface
├── converter.py # Main conversion pipeline
├── epub_parser.py # EPUB parsing and text extraction
├── metadata.py # Open Library API integration
└── models.py # Data classes
Contributions are welcome! Here are some areas where help is needed:
git clone https://github.com/marcogenna/epub2audiobook.git
cd epub2audiobook
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
# Run tests
pytest
# Run with auto-reload
uvicorn epub2audiobook.web.app:app --reload
MIT License - see LICENSE for details.
Selected from shared topics, language and repository description—not editorial ratings.
Thukyd /
OpenAI-Spechify-Your-Docs is a Python project that converts text from `.txt`, `.pdf`, and `.epub` files into speech using OpenAI's Text-to-Speech API.
50/100 healthmcp-tool-shop-org /
Convert EPUB/TXT/PDF/DOCX books into professionally narrated, multi-voice audiobooks (M4B/MP3/Opus/FLAC) with ACX/Audible-ready mastering
61/100 health