Skip to content

The-Ducktor/edgeab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edgeab is a free and open-source Python app that easily creates a full-featured audiobook from an EPUB or text file using realistic text-to-speech from Edge-TTS.

Note: This project is a semi-remake of epub2tts-edge, but it's optimized for my use case, running approximately 8x faster (or at a minimum 4-5x) and using calibre for metadata.

  • Generally takes about 10 minutes for the light novels I've tested this on from start to finished file.

🚀 Features

  • Creates standard format M4B audiobook file
  • Automatic chapter break detection
  • Embeds cover art if specified (crops image to square)
  • Utilizes Microsoft Edge for free cloud-based TTS
  • Reads sentences in parallel for extremely fast audiobook creation (approximately 10x faster than epub2tts-edge)
  • Resumes from the last point if interrupted (kind of)
  • Embeds all the fun metadata pulled from a calibre opf file

Note: EPUB file must be DRM-free

📖 Usage

Convert EPUB to formatted TXT file:

edgeab -f "epubfile"

Alternatively, use epub2tts-edge:

edgeab -f "gen-file" -m "opfmetafile" -c "coverimage" -v "voice"

Updating

  1. Navigate to the repository directory:
cd /path/to/repo
  1. Pull the latest changes:
git pull
  1. If you installed in a virtual environment, activate it:
source /path/to/venv/bin/activate
  1. Upgrade the installation:
pip install . --upgrade

Thanks

A special thanks to the following projects that made edgeab possible:

Author

The Ducktor


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages