Tomecast
Turn ebooks into audiobooks on Linux, with natural-sounding voices that run entirely on your own computer.
Try it
tomecast gui # the desktop window (also in your app launcher)
tomecast convert book.epub # writes book.m4b next to the book
tomecast convert book.docx # EPUB, PDF, DOCX, FB2, HTML and TXT work today
tomecast convert book.epub --voice bm_george --speed 1.1 # speed: 0.5 to 3.0 (default 1.0)
tomecast convert book.epub --format mp3 # a folder "book/" with one MP3 per chapter
tomecast convert book.pdf --footnotes end # read footnotes at the end of each chapter
tomecast voices # list the 54 built-in voices
tomecast names book.epub # list names the voice might get wrong
tomecast preview "Galadriel" # hear a word (or -o word.wav to save it)
--format mp3 writes book/01 - Chapter title.mp3, 02 - … and so on, for players and car stereos that don't know .m4b. Each file is tagged (album, author, track n/total, chapter title) and carries the cover. MP3 is 64 kbps mono, about 29 MB per hour, the same as the M4B. Like the M4B, it never overwrites without --force; the window always picks a free name ("book (2)").
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.
Saying names and numbers right
Tomecast turns numbers, dates, times, money, years, Roman numerals and abbreviations into words before the voice reads them (Dr. Smith paid $5.50 on 4 July 1776. becomes "Doctor Smith paid five dollars and fifty cents on the fourth of July, seventeen seventy-six."). For names and made-up words, you can tell it how to say them:
- Find the names.
tomecast names book.epublists the capitalised words the book uses often that aren't ordinary English, with how many times (--min-count Nand--limit Nchange what is shown). - Hear them.
tomecast preview "Galadriel"says a word with the voice and speed you choose (--voice,--speed;-o word.wavsaves it instead of playing it). It uses your pronunciation lists, so you hear what the book will sound like;--rawskips them. - Fix them. Add a line to a pronunciation list, then convert as usual.
A pronunciation list is a plain text file with one fix per line, written → say it as:
# Lines starting with # are comments, and so is anything after " #".
siobhan → shi-vawn # all lowercase: matches Siobhan, SIOBHAN, siobhan
Nguyen -> win # "->" works as well as "→"
New Zealand → noo zee-lund # several words are fine
- Two places.
~/.local/share/tomecast/pronunciations.txtapplies to every book. A file next to the book, named like the book with.pronunciations.txt(Title.epub→Title.pronunciations.txt), applies to that book only and wins where the two disagree. - Whole words only.
Rondoesn't change Ronald. A fix written with a capital letter matches that spelling (and its ALL-CAPS form in headings), soMarkleaves mark alone. - The "say it as" part is a respelling, written the way an English reader would sound it out, not a phonetic alphabet. The voice engine can't take exact phonetic spellings, so an IPA value like
/ɡəˈlædriəl/is skipped with a warning. Hyphens make each piece its own word, and capital letters are lowercased when spoken (they only help you read the line), so try each fix withtomecast previewand adjust. - A line it can't use is skipped with a note naming the line; the rest of the list still works.
Roadmap
| Version | What's in it | Status |
|---|---|---|
| 0.1.0 | Desktop window, EPUB to M4B with chapters, the graphics card through the installed driver, speeds 0.5× to 3×, one-line install | Released |
| 0.1.1 | DOCX, FB2, TXT and HTML books, plus installer and reliability fixes | Released |
| 0.1.2 | MP3 output (one file per chapter); numbers, dates and abbreviations read properly; your own pronunciation lists, tomecast names and tomecast preview; PDF books with page numbers, headers and footnotes cleaned up |
Released |
| 0.2.0 | The premium Ming voice (graphics card), a pronunciation editor in the window, the voice engine on older distros (Ubuntu, Debian), the final app icon, safer engine updates | Planned |
| 0.3.0 | Optional AI add-ons for messy books: PDF page layout, scanned PDFs (OCR), tricky cleanup calls | Planned |
| 1.0.0 | Public launch (demo, docs, install page) and a Windows version | Planned |
Where things stand: Tomecast is a preview, and active development is paused after 0.1.2. The plan to get it fully shipped, in order:
- 0.2.0, the polish release. The premium Ming voice for computers with a graphics card, a pronunciation editor in the window, the voice engine on older distros such as Ubuntu and Debian (already part-built in #27), the final app icon, and safer engine updates that check a new engine before switching to it.
- 0.3.0, the AI add-ons. Optional downloads for messy books: understanding complex PDF page layouts, reading scanned PDFs, and a small local model for tricky cleanup decisions. This is the largest piece of work, since each add-on brings its own model.
- 1.0.0, the full release. A Windows version, a demo, the docs, and an install page.
A Mac version isn't planned yet. Each step is tracked on the milestones page, and each version reaches you by running the install line again.
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
curl -fsSL https://raw.githubusercontent.com/Kingskid2026/tomecast/main/install.sh | sh
Then open Tomecast from your app launcher. Run the same line again any time to update. No sudo: 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: Fedora 44+, Bazzite, Arch-based ones, openSUSE Tumbleweed (check with ldd --version) |
Everything |
| Ubuntu 22.04 and 24.04, Debian 12 and 13, Fedora 43 and older | Installs, but the voice engine needs a newer system. Planned for 0.2.0 (#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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tomecast-0.1.2.tar.gz | 771.6 kB | With provenance | Details for tomecast-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tomecast-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for tomecast-0.1.2-py3-none-any.whl |
Total release size: 1.6 MB
Release files / tomecast-0.1.2.tar.gz
| Download URL | tomecast-0.1.2.tar.gz |
|---|---|
| Size | 771.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c600b7f7acf34efa61901bc2653cb58bb0e96c8b68bc8b16afbec5d871bd8ef
|
|
BLAKE2b-256 checksum How to use checksums |
4a4c6d3c1de94595ebf4624f4c539bcf2e95964b06a62150727b79ad38b252c3
|
| 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 logRelease files / tomecast-0.1.2-py3-none-any.whl
| Download URL | tomecast-0.1.2-py3-none-any.whl |
|---|---|
| Size | 792.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c6eaa8d050e31ccaffb921b387c31087eb6f9b1a8302ad5eded73c27892a782
|
|
BLAKE2b-256 checksum How to use checksums |
c4103a87908d87b3e06a26d5ea1aa4cdbae4d6bd2726589e7808ac7713bd2496
|
| 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 logSecurity for tomecast 0.1.2
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.
Attestation for tomecast-0.1.2.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 logA 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.