---
title: "Deploy OpenReader"
description: "Read-along TTS reader for EPUB, PDF and web pages with audiobook export"
category: "Other"
url: https://railway.com/deploy/openreader
---

# Deploy OpenReader

Read-along TTS reader for EPUB, PDF and web pages with audiobook export

**[Deploy OpenReader on Railway](https://railway.com/template/openreader)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/openreader/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### openreader https://raw.githubusercontent.com/richardr1126/openreader/v5.5.2/src/app/icon.png

- **Source:** https://github.com/aalfath/openreader-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host OpenReader on Railway

OpenReader is an open-source (MIT), self-hosted read-along document reader. Upload EPUB, PDF, DOCX, Markdown or text files, or add a web page, and listen to them with synchronised word highlighting. It exports audiobooks (MP3/M4B) and works with many text-to-speech providers, including OpenAI-compatible servers such as Kokoro-FastAPI.

## About Hosting OpenReader

This template runs OpenReader v5.5.2 from the official image (pinned by tag and digest) as one service, built from a public GitHub repo, with one volume at `/app/docstore`. That volume holds the SQLite database, the embedded SeaweedFS document storage and the NATS job queue. A small Caddy front serves the app on Railway's domain and answers the `/healthz` health check. On first boot the start script creates your administrator account, closes sign-ups and turns off guest sessions, and it opens the public port only after it has checked both. Text-to-speech uses a provider you bring: set it at deploy time or later in the admin settings.

## Common Use Cases

* Listen to e-books, papers and saved web articles while reading along with highlighted words
* Turn long documents into MP3 or M4B audiobooks for offline listening
* Share a private reading and listening library with a few invited users

## Dependencies for OpenReader Hosting

* A text-to-speech provider: an OpenAI API key, or any OpenAI-compatible TTS server (for example Kokoro-FastAPI), Google AI Studio, Fish Audio, OpenRouter or Replicate
* A Railway volume for documents, audio and the database (included)

### Deployment Dependencies

* OpenReader: https://github.com/richardr1126/openreader
* Template repo: https://github.com/aalfath/openreader-railway-template
* OpenAI API keys (optional): https://platform.openai.com/api-keys
* Kokoro-FastAPI (optional self-hosted TTS): https://github.com/remsky/Kokoro-FastAPI

### Implementation Details

**What you enter:** only `BOOTSTRAP_ADMIN_EMAIL`. `BOOTSTRAP_ADMIN_PASSWORD` and `AUTH_SECRET` are generated. `API_BASE`, `API_KEY` and `API_MODEL_NAME` are optional: with only `API_KEY`, OpenAI is used with `gpt-4o-mini-tts`; leave all three empty to add providers later.

**After deploy:** open the service's URL, sign in with `BOOTSTRAP_ADMIN_EMAIL` and the generated `BOOTSTRAP_ADMIN_PASSWORD` (Variables tab), then change the password in Settings → Account. That activates the admin role. Add more users or open sign-ups in Settings → Admin.

**Memory:** at 0.5 GB (Free/Trial) sign-in, EPUB, Markdown, text and web pages, playback and audiobook export work (about 310 MB idle, about 430 MB during an export). PDF layout analysis needs about 2 GB (Hobby or higher), so below that a PDF shows a clear message instead of crashing the service. DOCX conversion switches on from about 0.9 GB. The optional local Kokoro voice model also needs about 2 GB.

**Custom domain:** set `BASE_URL` to `https://YOUR-DOMAIN`.

**Updates:** when the template repo's `main` gets a new OpenReader version, Railway shows you an update notice. Read the repo's CHANGELOG.md first. Your data stays on the volume, and migrations run on start.

## Why Deploy OpenReader on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying OpenReader on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.



## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — Self-hosted virtual tabletop for role-playing games (license required)
- [Wiki-Go](https://railway.com/deploy/wiki-go) — Flat-file Markdown wiki in Go: no database, generated admin login

Open this page in a browser: https://railway.com/deploy/openreader
