πŸ”’ 100% Local β€” Zero Server

SQLite in the Browser

A local-first boilerplate powered by SQLite WASM + OPFS. Data persists on-device. Queries run in microseconds.

Vite Vanilla TS SQLite WASM OPFS Comlink
Initializing SQLite WASM & OPFS…
Last query: β€” Open DevTools console for full timing logs
⚑

Sub-millisecond reads

SQLite runs entirely inside a Web Worker via WASM. All I/O is synchronous on OPFS β€” the fastest storage primitive available in browsers.

πŸ’Ύ

Persistent, private storage

OPFS stores data directly on-device. It survives page reloads and works offline. Your data never leaves the browser.

🧩

Framework-agnostic primitive

Import src/db.ts into any modern stack β€” React, Vue, Svelte, Astro β€” and you're done.