>_ DevTrendsen

Language

Home

Languages

Sections

Frontend Backend Mobile DevOps AI / ML GameDev Blockchain Embedded Security
Python

ebook2audiobook — Your Personal AI Audiobook Factory

When was the last time you didn't have enough time to read your favorite book? Or maybe you'd like to listen to technical documentation while jogging? The ebook2audiobook project turns these dreams into reality — with support for 1100+ languages and voice cloning capabilities.

What is this tool?

ebook2audiobook is an open-source Python solution that uses modern text-to-speech (TTS) models to create audiobooks from electronic formats. Under the hood, it runs powerful engines such as:

  • XTTSv2
  • Bark
  • VITS
  • Fairseq
  • YourTTS
  • Tacotron

Interface demo

Key features

  1. Support for 1100+ languages — from English to rare dialects
  2. Voice cloning — you can use your own voice for reading
  3. Automatic chapter splitting — preserves the book's structure
  4. Various output formats — MP3, M4B, FLAC and others
  5. Works even on low-end hardware — minimum requirements 4GB RAM

How does it work in practice?

Installation is simple — there are options for all operating systems:

git clone https://github.com/DrewThomasson/ebook2audiobook.git
cd ebook2audiobook
./ebook2audiobook.sh  # Для Linux/Mac

Or even simpler — via Docker:

docker run --pull always --rm -p 7860:7860 athomasson2/ebook2audiobook

After launching, you open the web interface, upload a book in EPUB, PDF or another supported format, choose your settings — and after a while you get a ready audiobook.

Who will find it especially useful?

  • For developers — to listen to documentation
  • For students — to study materials on the go
  • For writers — to hear their own texts from the outside
  • For people with visual impairments — access to books in audio format
  • For polyglots — support for a huge number of languages

Technical features

The project is actively developing — already has:

  • GPU support for faster processing
  • Fine-tuning speech parameters
  • Integration with Google Colab and Kaggle
  • Docker Compose support

ebook2audiobook is one of the most advanced open-source text-to-speech tools. If you've long wanted to create your own audio library or were looking for a way to "read" books on the go — it's definitely worth trying.

The project is actively developing and has already gathered over 10 thousand stars on GitHub. Join the community on Discord and start creating your audiobooks today!

Related projects