SQLite for self-hosted apps: when it is enough
The default database of Darkbeacon, our open source self-hosted app, with backups built in.
What we do with SQLite
SQLite is a whole database in one file, and for an application that runs on one server it is often all you need. Darkbeacon, the self-hosted EVE Online wormhole mapper we publish as open source, starts on SQLite and moves to PostgreSQL with a single setting.
- 01
One file, no database server
Nothing to install or keep running next to the app. Darkbeacon keeps everything in one volume, so a single container is the whole deployment.
- 02
Backups the app takes itself
On SQLite, Darkbeacon backs its database up while it runs, on a schedule with retention, and the data is backed up again before an update migrates it.
- 03
A clear point to switch
Its docs give the measured limits and say when to point DATABASE_URL at PostgreSQL, including for several replicas. Starting small does not lock the project in.
Open source and docs
SQLite in our client work
Your project could be our first SQLite case study
We have not published a project with SQLite in its stack yet. Tell us what you are building and we will suggest how to get it done.
- e-Tax Pro2026
A website and branding for e-Tax Pro, a tax office that runs entirely online
Astro · TypeScript · Vite
- iShots Wedding2026
A wedding film and photo site for iShots Wedding, built around the showreel
Next.js · React · Vercel
- Darkbeacon2026
A website for Darkbeacon, a shared map for EVE Online players
Astro · Vercel
Other technologies
- PostgreSQL
- Supabase
- MySQL / MariaDB
- Next.js
- React
- Astro
- Qwik
- TypeScript
- Tailwind CSS
- Medusa
- WooCommerce
- Magento
- Shoper
- WordPress
- Vercel
- Cloudflare
- n8n
- Docker
- OpenTelemetry
Building a tool that runs on one server?
Message usTell us who uses it and how much data it keeps. We will say whether SQLite is enough, or where it stops being so.
Keep up with what is new
An occasional e-mail from ZanReal on what is new and worth knowing, never spam.
By subscribing, you agree to receive emails from ZanReal about news and offers. You can unsubscribe at any time. See our Privacy Policy.