Skeleton Key: a local-first, privacy-first template for record-keeping apps where your own folder is the database. Built with it: OpenImmi (immigration documents) and Glovebox (car and home renewals). Kiroween 2026 · Skeleton Crew.
Live: https://openimmi.bondarenko-12.workers.dev
OpenImmi keeps immigration documents and key dates in one place for people and pets. You open a folder of your own files, and it gives you a library, a timeline of dates, calendar reminders (.ics) and a privacy panel. The first audience is Ukrainians in the UK, so the interface is in English and Ukrainian. It is an app built on the Skeleton Key kit: a config, a theme, locale files and a demo vault in apps/openimmi/.
- Your folder is the database. Files stay where they are. Metadata is a readable JSON file inside the folder (
_openimmi/vault.json). - No account, no analytics, no telemetry. No file, file name or date leaves your device. A strict Content-Security-Policy (
connect-src 'self') enforces it, and the in-app privacy panel lists every request the page has made. - The host sees standard request metadata (IP address and user agent) for the static files, as any website host does. It never sees file contents.
OpenImmi organises your records. It is not legal advice and is not affiliated with any government. Where it shows an official rule, it quotes it with a link and asks you to check the official guidance.
The demo vault is a fictional family of three and a dog. Every file is watermarked "SPECIMEN, NOT A REAL DOCUMENT". There are no national emblems and no copies of real document designs. Dates are generated relative to today, so the dashboard always shows overdue, due-soon and upcoming items.
| Mode | Browsers | What works |
|---|---|---|
| Read-write | Chromium desktop (Chrome, Edge, Brave, Opera) | Open a folder, edit metadata, add documents (copied in, never overwritten), automatic backups |
| Read-only | Firefox, Safari and other browsers | Open a folder to view it. Saving downloads vault.json, and you copy it into the folder |
| Demo | Every browser | "Try the demo vault" runs in memory. Nothing is saved |
Mobile browsers get the demo and read-only modes only.
pnpm install
pnpm --filter openimmi dev # dev server
pnpm --filter openimmi build # production build into apps/openimmi/dist
pnpm --filter openimmi run deploy # wrangler deploy (needs `wrangler login`)
pnpm --filter openimmi exec tsx scripts/write-demo-vault.ts --regenerate-media # re-render the specimen filesUse run deploy: plain pnpm deploy is a pnpm built-in command. --regenerate-media is needed only after changing the demo template, and it needs heif-enc (brew install libheif). A normal build reuses the committed specimen files.
Tests: pnpm test (Vitest with fast-check), pnpm lint, pnpm typecheck.
Third-party licences are listed in THIRD_PARTY_LICENSES.md. OpenImmi is MIT licensed.