Skip to content

Automatically convert epubs to audiobooks

License

Notifications You must be signed in to change notification settings

synexo/autiobooks

 
 

Repository files navigation

Autiobooks: Automatically convert epubs to audiobooks

Installing via pip and running PyPI - Python Version PyPI - Version

Autiobooks generates .m4b audiobooks from regular .epub e-books, using Kokoro's high-quality speech synthesis.

Demo of Autiobooks in action

Kokoro is an open-weight text-to-speech model with 82 million parameters. It yields natural sounding output while being able to run on consumer hardware.

It supports American, British English, French, Korean, Japanese and Mandarin (though we only-support English, for now) and a wide range of different voices with different accents and prosody.

PRs are welcome!

How to install and run

If you have Python 3 on your computer, you can install it with pip. Be aware that it won't work with Python 3.13.

pip install autiobooks

You will require ffmpeg and tkinter installed:

Linux:

sudo apt install ffmpeg python3-tkinter

MacOS:

brew install ffmpeg python3-tkinter

To start the program, run:

autiobooks

The program creates .wav files for each chapter, then combines them into a .m4b file for playing using an audiobook player.

Author

by David Nesbitt, distributed under MIT license. Check out the excellent project audiblez if you'd prefer a command-line interface.

About

Automatically convert epubs to audiobooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 98.9%
  • Other 1.1%