Make an audiobook from an ebook on your own computer
The Run & Read audiobook pipeline is an open source Python project that turns an EPUB into MP3 narration with AI text-to-speech models, and packs it into a .randr file. Run & Read on iPhone and Android plays that file like any other book.
What you need
- A computer with Python 3.9 or later and ffmpeg.
- The pipeline from GitHub: github.com/sergenes/runandread-audiobook
- An EPUB you own, or a public domain book.
Steps
- Clone the repository and install its requirements, as its README describes.
- Follow RANDR.md in the repository: it converts the EPUB to text, generates the audio and merges the clips.
- Choose a text-to-speech engine. The pipeline supports Zonos, Kokoro and Qwen3 models that run on your computer, and cloud services such as OpenAI.
- Wrap the audio and the text into a .randr file, the last step of RANDR.md.
- Move the .randr file to your phone and open it in Run & Read.
Limits
- It is a command line pipeline, not an app with buttons.
- Generating a whole book on your own computer takes time, and cloud voices are paid to their providers.
- The Qwen3 engine runs only on a Mac with Apple silicon.