{"id":16072084,"url":"https://github.com/C-Loftus/QuickPiperAudiobook","last_synced_at":"2025-10-22T17:30:27.043Z","repository":{"id":250451527,"uuid":"834332322","full_name":"C-Loftus/QuickPiperAudiobook","owner":"C-Loftus","description":"With one command, create a natural-sounding audiobook from a variety of input formats (epub, mobi, txt, PDF, HTML and more!)","archived":false,"fork":false,"pushed_at":"2025-02-01T03:05:38.000Z","size":8516,"stargazers_count":615,"open_issues_count":4,"forks_count":33,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-07T06:38:53.801Z","etag":null,"topics":["audiobooks","piper","productivity","tts"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/C-Loftus.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["c-loftus"],"custom":["https://www.paypal.com/paypalme/coltonloftus"]}},"created_at":"2024-07-27T01:06:28.000Z","updated_at":"2025-01-31T01:53:51.000Z","dependencies_parsed_at":"2024-08-26T01:59:22.719Z","dependency_job_id":"6fc4202a-aa7b-495f-98d1-a54a4031416d","html_url":"https://github.com/C-Loftus/QuickPiperAudiobook","commit_stats":null,"previous_names":["c-loftus/quickpiperaudiobook"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C-Loftus%2FQuickPiperAudiobook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C-Loftus%2FQuickPiperAudiobook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C-Loftus%2FQuickPiperAudiobook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/C-Loftus%2FQuickPiperAudiobook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/C-Loftus","download_url":"https://codeload.github.com/C-Loftus/QuickPiperAudiobook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237722923,"owners_count":19356234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audiobooks","piper","productivity","tts"],"created_at":"2024-10-09T08:00:46.978Z","updated_at":"2025-10-22T17:30:26.475Z","avatar_url":"https://github.com/C-Loftus.png","language":"Go","funding_links":["https://github.com/sponsors/c-loftus","https://www.paypal.com/paypalme/coltonloftus"],"categories":["Go"],"sub_categories":[],"readme":"# QuickPiperAudiobook\n\nCreate a natural audiobook for any text content with one command. \n\n - Converts [PDFs, epub, txt, mobi, djvu, HTML, docx, and more](https://manual.calibre-ebook.com/generated/en/ebook-convert.html)\n - All conversion is done offline and is entirely private\n - Uses [piper models](https://rhasspy.github.io/piper-samples/); supports many languages\n\nListen to sample output [ here ](./examples/)\n\n## Installing\n\n1. Grab a prebuilt [release](https://github.com/C-Loftus/QuickPiperAudiobook/releases/)\n    * (Or build from source using `go mod tidy \u0026\u0026 go build`)\n\n2. Download `ebook-convert` and make sure it is in your PATH. (This is often bundled with [calibre](https://calibre-ebook.com/))\n\n\u003e [!NOTE]  \n\u003e You don't need to have piper installed. This program manages piper and the associated models\n\n\n## Usage \n\n* Pass in either a local file or a remote URL to generate an audiobook: \n   * i.e. `./QuickPiperAudiobook test.txt`\n* For a full list of options use the `--help` flag\n   * i.e. `./QuickPiperAudiobook --help`\n\n### Non-English / UTF-8\n\n* Grab a model for the language of choice (.onnx and .json) from the [piper models](https://rhasspy.github.io/piper-samples/)\n  * i.e. `pl_PL-gosia-medium.onnx` and corresponding `pl_PL-gosia-medium.onnx.json` (rename if needed)\n* Put them in `~/.config/QuickPiperAudiobook/`\n* Use the `--speak-utf-8` and `--model=`  flags to specify you want utf characters to be spoken with a specific model\n  * i.e. `./QuickPiperAudiobook --speak-utf-8 --model=pl_PL-gosia-medium.onnx MaszynaTuringa_Wikipedia.pdf`\n\n\u003e [!NOTE]  \n\u003e Consider specifying this model as the default in the configuration file if you plan to use it frequenlty\n\n### Configuring\n\n* A configuration file at `~/.config/QuickPiperAudiobook/config.yml` will be automatically created. \n* You can specify a default model and output path so you do not need to specify these args each time.\n* You can use any arbitrary model by putting the associated `.onnx` and `.onnx.json` file for it in `~/.config/QuickPiperAudiobook/`\n\n\n```yml\n# An example for `~/.config/QuickPiperAudiobook/config.yml`\n\n# the default output directory to use if the user does not specify --output in the cli args\noutput: ~/Audiobooks\n# the default model to use if the user does not specify --model in the cli args\nmodel: \"en_US-hfc_female-medium.onnx\"\n```\n\n## Notes\n\nPiper does not support progress output. Long audiobooks may take a long time to generate since all computation is being done locally. \n\nThis repo has only been tested on Linux.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FC-Loftus%2FQuickPiperAudiobook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FC-Loftus%2FQuickPiperAudiobook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FC-Loftus%2FQuickPiperAudiobook/lists"}