Skip to content

Local-first stack

How NT² runs a structured vault in the browser: OPFS, WASM SQLite, and the local-first path.

2 posts

6 min read By NT²

Why host a heavy server when a PWA can do everything locally? Built a zero-server privacy vault.

Tech

In the era of massive cloud-first applications, we often overlook a powerful alternative: the Progressive Web App (PWA). Why maintain a heavy, expensive, and potentially vulnerable server infrastructure when the modern browser is capable of running a full-featured, secure, and high-performance application entirely on the user's device?

Read story →

9 min read By NT²

Why our vault SQLite database lives in OPFS, not IndexedDB

Tech

SQLite wants a file. A privacy vault wants durable relational storage that stays fast as its item count, indexes, and encrypted attachments grow. Putting a SQLite virtual file system on IndexedDB can bridge those worlds, but it makes the bridge part of every database operation. For NT² Vault, the browser vault file belongs in the Origin Private File System.

Read story →