Tue, June 2, 2026
9 min read
Self-Hosting libSQL — A Reproducible Docker Compose Demo for Primary/Replica Replication and JWT Auth
#libsql
#self-hosting
#sqlite
I built a demo that reproduces, from a fresh clone, what you actually hit when self-hosting libSQL. It stands up a primary and a replica with Docker Compose, authenticates with Ed25519 JWTs, creates namespaces via the Admin API, and reads and writes from a TypeScript CLI. Here is what re-verifying against the current libsql-server turned up.
read more →