Skip to main content

Tomecast

Turn ebooks into audiobooks on Linux, with natural-sounding voices that run entirely on your own computer.

CI License: Apache 2.0

Try it

uv tool install tomecast                      # or: pipx install tomecast
tomecast convert book.epub                    # writes book.m4b next to the book
tomecast convert book.epub --voice bm_george --speed 1.1   # speed: 0.5 to 3.0 (default 1.0)
tomecast voices                               # list the 54 built-in voices

The first conversion downloads the voice engine, eSpeak NG and the Kokoro model (about 264 MB, after asking). On an 8-core laptop CPU, a 13-minute story took about 3 minutes to make.

If your computer has a graphics card with a working Vulkan driver (NVIDIA, AMD or Intel), Tomecast uses it automatically through the driver you already have, which was about 4 times faster on an NVIDIA laptop card (the story took 41 seconds). It downloads a different engine build for that (about 317 MB in all), never installs drivers, and falls back to the CPU if the card doesn't work. Turn it off with --no-gpu or the "Use graphics card" switch; tomecast doctor prints what Tomecast sees, for bug reports.

What it does (and will do)

  • Reads the book, not the page. Chapters come out as chapters. Page numbers, running headers and footers, footnote markers, copyright pages, indexes and "read the next book" previews are skipped.
  • Every sentence gets spoken. Text is voiced in small, checked pieces, so the end of a page or chapter is never silently dropped.
  • Human-sounding, fully local voices. Kokoro runs fast on any CPU. Ming-3.0-tts is an optional premium voice for computers with a graphics card. No cloud, no account, no subscription.
  • Many formats in: EPUB, PDF (including scanned PDFs, with an optional AI add-on), DOCX, FB2, HTML and TXT.
  • Standard files out: one M4B audiobook with chapter markers and cover art, or one MP3 per chapter. Play them in any audiobook app.
  • Fits the machine it's on. On first launch, Tomecast checks the hardware and picks the right settings for a CPU-only laptop, an NVIDIA card or an AMD card. You can still switch the graphics card off.
  • Pause and resume. Long books pick up where they left off after a crash or reboot.
  • Pronunciation fixes. A word list for names the voice gets wrong, a finder for unusual names before you convert, and a button to hear any word right away.
  • One-line install. It sets up its own engines and models, with no sudo.

How it works

flowchart LR
    A[Ebook file] --> B[Reader<br/>chapters & paragraphs]
    B --> C[Cleanup<br/>rules + optional AI]
    C --> D[Text prep<br/>pronunciations, numbers]
    D --> E[Voice<br/>Kokoro or Ming]
    E --> F[Checks<br/>nothing missing]
    F --> G[M4B or MP3s]

The full design, including why each model and quantization was chosen, is in docs/architecture.md.

Install (planned for v0.1.0)

curl -fsSL https://raw.githubusercontent.com/Kingskid2026/tomecast/main/install.sh | sh

The script is short and readable. It installs uv if it's missing, then installs Tomecast from PyPI into your home folder. On first launch, Tomecast downloads only the engines and models your machine needs, and asks before downloading.

Your system Support
Distros with glibc 2.43 or newer, like Arch-based ones and openSUSE Tumbleweed (check with ldd --version) Everything
Ubuntu 22.04 and 24.04, Debian 12 and 13, current Fedora Installs, but the voice engine needs a newer system. Planned in #18
Alpine, NixOS, ARM computers Not supported yet

Privacy

Everything runs locally. Tomecast uses the internet only to download engines and models (from their official sources, checked against pinned checksums) and for a once-a-day update check that you can turn off. There is no telemetry.

Contributing

Contributions are welcome. Start with CONTRIBUTING.md, and please follow the Code of Conduct. To report a security problem, see SECURITY.md.

Credits and license

Tomecast's own code is licensed under the Apache License 2.0. It builds on many open models and engines, each under its own license. They're listed in THIRD_PARTY.md.

Metadata

Release files for tomecast 0.1.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 tomecast 0.1.0
File Size Uploaded Provenance Actions
tomecast-0.1.0.tar.gz 647.2 kB With provenance Details for tomecast-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / tomecast-0.1.0.tar.gz

Download URL tomecast-0.1.0.tar.gz
Size 647.2 kB
Tags Source
SHA-256 checksum
How to use checksums
45631a46cd3446c666f2e7daba3e65f5f57db2db6a9b3f9f83e1a8829136de37
BLAKE2b-256 checksum
How to use checksums
d9b0d113fbb6462733d32b34317b5160439698ec4e6134fe688e90085d3cdebd
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 5, 2026.

Transparency log

Release files / tomecast-0.1.0-py3-none-any.whl

Download URL tomecast-0.1.0-py3-none-any.whl
Size 665.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68536c0d61d7ae18f3e2811ae7986acfee9868a33dec55f602c629384c85a236
BLAKE2b-256 checksum
How to use checksums
f4772d99d51b602ae4b6bf3b491ec37fdb7e4d1a712beb1ad7234a5b9e3f6d23
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 5, 2026.

Transparency log

Security for tomecast 0.1.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 tomecast-0.1.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 5, 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