Koodo Reader

Deploy the web version

Deploy Koodo Reader with a static build, Docker, Vercel or Netlify, and understand browser storage limits.

There are three ways to run the web version: a static build, self-hosted Docker, or a platform such as Vercel or Netlify.

Static build

You need Node.js and Yarn:

yarn
yarn build

The build folder contains the static files. Upload its contents to the document root of Nginx, Apache or any static host.

Docker

The official image includes the web app, the data-source service, OPDS and the KOReader sync server. See Deploy with Docker for the command and environment variables.

A self-hosted web version needs ALLOWED_ORIGINS configured, otherwise it cannot reach the data source.

Vercel / Netlify

Fork the repository, import it in Vercel or Netlify and deploy; both detect the build settings automatically.

Browser storage limits

  • Chromium-based browsers ask where to store data on first visit and can use a local folder.
  • Other browsers only use browser storage.
  • Browser storage can be evicted; back up regularly or sync through a data source.
  • When served over HTTPS, WebDAV, S3 and Docker endpoints must also use HTTPS with CORS configured.

CORS and HTTPS

Browsers treat WebDAV, S3 and Docker as cross-origin. If connections fail, check server CORS and HTTPS, or install the browser extension.

On this page