With one command, create a natural-sounding audiobook from a variety of input formats (epub, mobi, txt, PDF, HTML and more!)
Go
1,060
118 commits
updated Nov 7, 2025
Create a natural audiobook for any text content with one command.
Listen to sample output here
go install github.com/C-Loftus/QuickPiperAudiobook@latestgo build)ebook-convert and make sure it is in your PATH. (This is bundled with calibre)ffmpeg for mp3 and chapter support[!NOTE]
You don't need to have piper installed. This program manages piper and the associated models
./QuickPiperAudiobook test.txt--chapters flag to generate mp3 chapters for epub files
./QuickPiperAudiobook --chapters test.epub--help flag
./QuickPiperAudiobook --helppl_PL-gosia-medium.onnx and corresponding pl_PL-gosia-medium.onnx.json (rename if needed)~/.config/QuickPiperAudiobook/--speak-utf-8 and --model= flags to specify you want utf characters to be spoken with a specific model
./QuickPiperAudiobook --speak-utf-8 --model=pl_PL-gosia-medium.onnx MaszynaTuringa_Wikipedia.pdf[!NOTE]
Consider specifying this model as the default in the configuration file if you plan to use it frequently
~/.config/QuickPiperAudiobook/ to specify preferred values if you do not want to specify these as cli args each time
.onnx and .onnx.json file for it in ~/.config/QuickPiperAudiobook/# An example for `~/.config/QuickPiperAudiobook/config.yaml`
# the default output directory to use if the user does not specify --output in the cli args
output: ~/Audiobooks
# the default model to use if the user does not specify --model in the cli args
model: "en_US-hfc_female-medium.onnx"
# output the audiobook as an mp3 file (requires ffmpeg in your PATH)
mp3: false
# generate chapter metadata when outputting mp3s (requires an epub input and ffmpeg in your PATH)
chapters: false
Thank you for considering supporting this project.
I accept donations on Github or Paypal. If you would like to sponsor this project or reach out to me for business reasons, you can contact me via email or my website
Latest release
Releases this year
811 followers · starred Aug 2025
986 followers · starred Oct 2024
184 followers · starred Oct 2024
29 followers · starred Mar 2025
With one command, create a natural-sounding audiobook from a variety of input formats (epub, mobi, txt, PDF, HTML and more!)
Go
1,060
118 commits
updated Nov 7, 2025
Create a natural audiobook for any text content with one command.
Listen to sample output here
go install github.com/C-Loftus/QuickPiperAudiobook@latestgo build)ebook-convert and make sure it is in your PATH. (This is bundled with calibre)ffmpeg for mp3 and chapter support[!NOTE]
You don't need to have piper installed. This program manages piper and the associated models
./QuickPiperAudiobook test.txt--chapters flag to generate mp3 chapters for epub files
./QuickPiperAudiobook --chapters test.epub--help flag
./QuickPiperAudiobook --helppl_PL-gosia-medium.onnx and corresponding pl_PL-gosia-medium.onnx.json (rename if needed)~/.config/QuickPiperAudiobook/--speak-utf-8 and --model= flags to specify you want utf characters to be spoken with a specific model
./QuickPiperAudiobook --speak-utf-8 --model=pl_PL-gosia-medium.onnx MaszynaTuringa_Wikipedia.pdf[!NOTE]
Consider specifying this model as the default in the configuration file if you plan to use it frequently
~/.config/QuickPiperAudiobook/ to specify preferred values if you do not want to specify these as cli args each time
.onnx and .onnx.json file for it in ~/.config/QuickPiperAudiobook/# An example for `~/.config/QuickPiperAudiobook/config.yaml`
# the default output directory to use if the user does not specify --output in the cli args
output: ~/Audiobooks
# the default model to use if the user does not specify --model in the cli args
model: "en_US-hfc_female-medium.onnx"
# output the audiobook as an mp3 file (requires ffmpeg in your PATH)
mp3: false
# generate chapter metadata when outputting mp3s (requires an epub input and ffmpeg in your PATH)
chapters: false
Thank you for considering supporting this project.
I accept donations on Github or Paypal. If you would like to sponsor this project or reach out to me for business reasons, you can contact me via email or my website
Latest release
Releases this year
811 followers · starred Aug 2025
986 followers · starred Oct 2024
184 followers · starred Oct 2024
29 followers · starred Mar 2025