Nazbu keeps your app and its data alive on every device — with or without internet, and with no server.
the problem
One weak router upstream and the whole operation goes dark — tills, scanners, records, all frozen until the bar comes back. Nazbu makes that impossible.
how it works
Nazbu watches the database your app already uses and picks up every change as it happens. Your app keeps saving exactly as before.
nothing to rewriteEvery device carries its own full copy and shares changes directly — over the local network, or across the internet between different networks. No server in the middle, all encrypted.
works across networksWhen two devices reconnect they catch up automatically, with safe rules for money and records so nothing is lost or double-counted. Files travel with the data that points to them.
safe by defaultyour database, unchanged
Point Nazbu at your existing database and it keeps it offline-first and in sync across every device — no migration, no new store.
Ships today for PostgreSQL, MySQL/MariaDB, SQLite and MongoDB. Any database with a change feed can plug in — the adapter contract is tiny.
why nazbu
Point Nazbu at the data you already have. That’s why it actually ships instead of stalling in a migration.
Devices talk to each other directly. The cloud, when you want it, is just one more device — never a requirement.
Devices on entirely different networks connect straight through the internet. No shared router, no VPN to set up.
Sales, stock and balances merge under rules that never silently drop or double a number. Auditable by design.
Each site, tenant or team syncs only its own data — isolation is built in, not bolted on.
MIT-licensed and self-hostable. No lock-in, no per-seat meter, no black box.
quick start
Your existing database connection, a room to sync in, and you’re live — offline, on every device, converging on its own.
import Nazbu from 'nazbu' import { Pool } from 'pg' const room = new Nazbu({ db: new Pool({ connectionString: process.env.DATABASE_URL }), room: 'shop-42', internet: true, policies: { sales: 'append-only', '*': 'last-writer-wins' } }) await room.start() // that database is now offline-first, on every node
No new database, no server to run. Fully typed — TypeScript definitions ship in the box. Turn Nazbu off and your app still works; it just stops surviving the outage.
proof
Shops sell, scan and print with zero internet. Each site holds its whole business, runs on its own, and syncs to the cloud the instant the link returns — every record and every uploaded file. The hard parts are already carrying real money, every day.