C-Loftus/QuickPiperAudiobook
C-Loftus/QuickPiperAudiobook has 1,061 GitHub stars and 78 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 13:22 UTC. Last push 2025-11-07.
With one command, create a natural-sounding audiobook from a variety of input formats (epub, mobi, txt, PDF, HTML and more!)
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalQuickPiperAudiobook
Create a natural audiobook for any text content with one command.
- Converts PDFs, epub, txt, mobi, djvu, HTML, docx, and more
- All conversion is done offline and is entirely private
- Uses piper models; supports many languages
Listen to sample output here
Installing
- Download the binary via one of the following methods:
- A prebuilt release
go install github.com/C-Loftus/QuickPiperAudiobook@latest- (Or build from source using
go build)
- Download
ebook-convertand make sure it is in your PATH. (This is bundled with calibre) - (Optional) Download
ffmpegfor mp3 and chapter support
[!NOTE]
You don't need to have piper installed. This program manages piper and the associated models
Usage
- Pass in either a local file or a remote URL with the proper extension
- i.e.
./QuickPiperAudiobook test.txt
- i.e.
- Specify the
--chaptersflag to generate mp3 chapters for epub files- i.e.
./QuickPiperAudiobook --chapters test.epub
- i.e.
- For a full list of options use the
--helpflag- i.e.
./QuickPiperAudiobook --help
- i.e.
Non-English / UTF-8
- Grab a model for your language of choice (.onnx and .json) from the piper models
- i.e.
pl_PL-gosia-medium.onnxand correspondingpl_PL-gosia-medium.onnx.json(rename if needed)
- i.e.
- Put them in
~/.config/QuickPiperAudiobook/ - Use the
--speak-utf-8and--model=flags to specify you want utf characters to be spoken with a specific model- i.e.
./QuickPiperAudiobook --speak-utf-8 --model=pl_PL-gosia-medium.onnx MaszynaTuringa_Wikipedia.pdf
- i.e.
[!NOTE]
Consider specifying this model as the default in the configuration file if you plan to use it frequently
Configuring
- You can create a config file at
~/.config/QuickPiperAudiobook/to specify preferred values if you do not want to specify these as cli args each time- i.e. you can use any arbitrary model by putting the associated
.onnxand.onnx.jsonfile for it in~/.config/QuickPiperAudiobook/ - A full example config can be found here
- i.e. you can use any arbitrary model by putting the associated
# 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
Notes
- Piper does not support progress output. Long audiobooks may take a long time to generate since all computation is being done locally.
- This repo has been tested on Linux but can also work on MacOS once an upstream bug is fixed with Piper
Support
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
Explore related projects
n8n-io/n8n
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
209,959 starslanggenius/dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
160,773 starsmicrosoft/PowerToys
Microsoft PowerToys is a collection of utilities that supercharge productivity and customization on Windows
140,755 starsstablyai/orca
Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
120,604 stars