{"by":"rafael1mc","descendants":9,"id":42487674,"kids":[42489223,42501157,42489191,42497293,42498321,42522889],"score":45,"text":"A way to generate .mp3 files from ePUB.<p>I wanted to continue &quot;reading&quot; 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 &quot;Speech&quot;. If you&#x27;ve used this before, you know it&#x27;s fine for small sections, but not for big chunks of text.<p>So, I challenged myself to create a project that would &quot;text-to-speech&quot; 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&#x27;s `say` command to generate audio files.<p>For now it&#x27;s quite basic, but worked fine for the few files I tested.","time":1734887731,"title":"Show HN: Convert ePub to audio files","type":"story","url":"https://github.com/rafael1mc/epub-tts"}