Skip to main content

yakbox

Yakbox is a local-first audiobook build system. It turns Markdown manuscripts into generated narration, mastered WAV chapters, delivery MP3 chapters, and verified releases.

It uses local Chatterbox for narration and local Whisper for transcription, alignment, and speech QA. Audio and manuscript processing stay on your machine.

Install

Yakbox supports macOS and Linux with Python 3.14. Install the CLI from PyPI with uv:

uv tool install --python 3.14 yakbox
yakbox --version
yakbox doctor

To upgrade, run uv tool upgrade yakbox.

For local Chatterbox synthesis, install the local extra with the matching security overrides:

uv tool install --python 3.14 "yakbox[local]==0.5.0" \
  --overrides https://raw.githubusercontent.com/pbsladek/yakbox/v0.5.0/constraints/chatterbox-security-overrides.txt

FFmpeg and FFprobe are required to master, encode, inspect, and assemble audio. Alternatively, install a wheel downloaded from the GitHub Releases page:

uv tool install --python 3.14 ./yakbox-*.whl

GitHub Releases include SHA256SUMS. See the installation and release guide for checksum verification and the automated GitHub and PyPI release process.

Build an audiobook

yakbox init my-book
cd my-book
yakbox validate
yakbox audition --profile default --text "A short voice check."
yakbox build
yakbox release check --write-manifest

New projects use the fast offline fake backend. Change the profile in yakbox.toml to use local Chatterbox for real narration. For a new local project, use yakbox init my-book --backend chatterbox-local. Add --play to preview or audition to listen, and use yakbox status --watch in another terminal to follow a build. See the operations guide.

Examples

The examples cover a tiny offline book, local Chatterbox, multiple voice editions, pronunciations, selective rebuilding, and M4B assembly. Start with the tiny book:

cp -R examples/tiny-book my-tiny-book
cd my-tiny-book
yakbox validate
yakbox plan
yakbox build

Direct text to speech

yakbox tts "A short local test." --backend chatterbox-local --out local.wav

Use only voices and reference audio for which you have the necessary rights and consent.

The local Chatterbox example includes four public-domain LibriVox prompts with verified provenance and checksums. See the third-party notices and licensing policy.

For one- to three-word dialogue, Yakbox can generate longer carrier sentences, use local Whisper to crop and verify the target, and stop for a hash-bound listening review. See Whisper inspection and short-audio QA.

Documentation

See the documentation for manifests, local models, cleanup, releases, troubleshooting, and the Python API.

Metadata

Release files for yakbox 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yakbox 0.5.0
File Size Uploaded Provenance Actions
yakbox-0.5.0.tar.gz 20.7 MB With provenance Details for yakbox-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yakbox 0.5.0
File Interpreter ABI Platform Actions
yakbox-0.5.0-py3-none-any.whl Python 3 none any Details for yakbox-0.5.0-py3-none-any.whl

Total release size: 21.5 MB

Release files / yakbox-0.5.0.tar.gz

Download URL yakbox-0.5.0.tar.gz
Size 20.7 MB
Tags Source
SHA-256 checksum
How to use checksums
44859f3a0e1fa383580239e7fa632f7066ceecc7788cc4af9e95059ae4158cee
BLAKE2b-256 checksum
How to use checksums
44dd0797aebb880c5af07a5969cc56188a102a136d113bbf5e23630006d87932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / yakbox-0.5.0-py3-none-any.whl

Download URL yakbox-0.5.0-py3-none-any.whl
Size 748.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e30f1b34b3c42dc57fc797fbf51374aad90c6814ad7d29f7dacf83e648c6eeb9
BLAKE2b-256 checksum
How to use checksums
bac5a3b3521e9cc4014cce1dd205eb2e56084bd936018aded323a44abe7445ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for yakbox 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yakbox-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page