Re:Show HN: Offline audiobook from any format with one CLI c...
by C-Loftus on Tuesday October 08, 2024 @06:03PM
(#41782254)
Issues should be fixed now in the latest release.
Re:Show HN: Offline audiobook from any format with one CLI c...
by archargelod on Tuesday October 08, 2024 @10:44PM
(#41783981)
Can confirm that everything is fixed. Thanks for the update!
Re:Show HN: Offline audiobook from any format with one CLI c...
by andai on Saturday October 12, 2024 @10:26AM
(#41819300)
The intention seems to have been to skip running ebook-convert if the input file is already a text file, but it runs it anyway. So I recompiled it to not do that.
https://gist.github.com/avelican/8602b417e810f8dd4e31e8e3fbb...
...at which I did some more digging and realized that (for my purposes anyway -- operating on txt files), QPA can simply be replaced with piper itself!
cat book.txt | piper --model [model] --output_file book.wav
(which I found kind of funny)Re: the ebook-convert dependency, I wonder if there are any feasible alternatives? My first thought was pandoc, which is ~140MB, but I guess that's smaller than Calibre's ~1400MB (!!!).
Your feedback on ebook-convert is very valid. I can take a look at breaking it up. (Granted I am not sure how much of a lift that would be)