r/javascript • u/amd__ • 1d ago
I built WebDB – a lightweight relational database and ORM made natively for the browser
https://webdb.dev/
6
Upvotes
r/javascript • u/amd__ • 1d ago
View all comments
2
u/amd__ 1d ago
Hey everyone,
I’ve been building WebDB, an MIT-licensed relational database designed from the ground up for the web.
Why I built it: Whenever I worked on offline-first web apps, I felt stuck between two options:
I wanted a small, fast relational engine that actually embraces native browser APIs instead of abstracting them away under heavy layers.
What WebDB brings to the table:
BroadcastChannelfor cross-tab sync, plusNodeFsStorageso your tests and CLI tools run the exact same engine in Node.Links:
npm install @ahmadmoussawi/webdbI’d really appreciate any feedback on the ORM ergonomics, storage backends, or benchmarks you’d like to see. Happy to answer any questions about how the engine works under the hood!