Automatically convert epubs to audiobooks
Project description
Autiobooks: Automatically convert epubs to audiobooks
Autiobooks generates .m4b audiobooks from regular .epub e-books, using Kokoro's high-quality speech synthesis.
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!
Changelog
1.0.4
- Fix pip installs
1.0.3
- Fix bug causing errors on some linux installs
- Read epub files with chapters not marked as ITEM_DOCUMENT
- Select all chapters if none are selected
1.0.2
- Window can be resized
1.0.1
- Initial release
How to install and run
(Note that pip installs are currently not working - we are looking into the cause of this, but in the meantime, please download the repo and run directly)
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 python-tk
To start the program, run:
python3 -m 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autiobooks-1.0.4.tar.gz.
File metadata
- Download URL: autiobooks-1.0.4.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227cdca4240adae58b18f4204d13c1998b3defc33209a6464d793825f3b95461
|
|
| MD5 |
bc90c1a1433af48e3fd516fd13b618f1
|
|
| BLAKE2b-256 |
433877574e9713d6bd48c2dca19ef147e4754dccc2a2463e42a4dcefda170697
|
File details
Details for the file autiobooks-1.0.4-py3-none-any.whl.
File metadata
- Download URL: autiobooks-1.0.4-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e3fc458efbd6d9186825bf4f001b9d49394128b1357612902e17f648d8a66ec
|
|
| MD5 |
a0cbcb2e359f159a00cfc7fe69972cfc
|
|
| BLAKE2b-256 |
a9690ec1c6a98c7dc35680d776e1136685949ba3a18679cb470290829f33d2eb
|