A browser-native client for note.db SQLite files.
English | 日本語
refill reads and writes any SQLite file that follows the note.db conventions, entirely in the browser.
- Fully client-side — WASM SQLite runs in the browser. Nothing leaves the page.
- Statically hostable — Deployable to GitHub Pages, Cloudflare Pages, or any static host.
- Format-agnostic — Works with any note.db–conforming format. No format-specific code.
- A reference implementation — Minimal dependencies and plain code, intended to show how note.db conventions translate into a working tool.
- Open a local SQLite file (file picker or drag & drop)
- Apply a format from a GitHub URL pointing to
format.sql - Auto-detection of note tables, related tables, and views
- CRUD on note records — Markdown editor + property panel (with NULL representation)
- Sub-form editor for related tables (per Convention 5:
note_id+label) - Read-only display of views
- Save the modified database back to disk (download)
pnpm install
pnpm devOpen http://localhost:5173/. Drop a SQLite file, or paste a GitHub URL pointing to a format.sql.
A minimal verification fixture can be generated:
sqlite3 fixtures/test.db < fixtures/seed.sql- React 18 + Vite 6 + TypeScript
- Tailwind CSS v4
@sqlite.org/sqlite-wasm— official WASM SQLitemarked+dompurify— Markdown rendering with sanitization
- note.db — the conventions refill targets