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
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!
3
u/shrimpcest 1d ago
Well, your website doesn't fully load, for starters. (I'm on mobile, so I can't easily see the console to give you more details).
None of the text in the page loads though.
EDIT: It was because my phone was in dark mode. This is a bad sign for the rest of your work though :/