Skip to content
Lumbung

Experimental

SQLite and file storage on your own server

Branch a database before you change it

Get started
The main SQLite database sits in the middle. Two branches and a file bucket circle it.

Branches are SQLite files

Full copies you can change, diff against main and throw away.

Branches

Works with libSQL clients

Point @libsql/client or Drizzle at a branch URL.

libSQL client

Files next to your data

Buckets that any S3 client can read and write.

Buckets
import { createClient } from "@lumbung/client"

const db = createClient({
  url: "http://127.0.0.1:4870",
  token: process.env.LUMBUNG_TOKEN!,
  database: "shop",
  branch: "pr-42",
})

const { rows } = await db.query("SELECT * FROM orders")

Query from TypeScript

A small client with no dependencies.

TypeScript SDK
git clone https://github.com/zakiego/lumbung.git
cd lumbung
docker compose up -d --build

Runs on your machine

One Compose file: the engine, the dashboard and your data.

Docker Compose

Branch your first database in five minutes