Show HN: Convert ePub to audio files

github.com

8 points by rafael1mc 7 hours ago

A way to generate .mp3 files from ePUB.

I wanted to continue "reading" even after my eyes got tired or if I went away from the screen. For these cases, what I did was select a given text, and select "Speech". If you've used this before, you know it's fine for small sections, but not for big chunks of text.

So, I challenged myself to create a project that would "text-to-speech" a given book. After some attempts, I came up with a good-enough initial version using Golang. It will parse an ePUB into sections and run MacOS's `say` command to generate audio files.

For now it's quite basic, but worked fine for the few files I tested.

shinycode 3 hours ago

Eleven labs does it for free (for now) and it works pretty well, multiple voices available and some are high quality

the_third_wave 3 hours ago

Another way of doing this is by using the 'Record TTS' facility of Librera Reader - a book reader for Android, available on F-Droid, no iOS version available as far as I know - which can use the TTS service on Android to narrate all formats supported by Librera to audio files.