Show HN: An in-browser relational db under 50KB
Category: database
Tags: browser-database, wasm, offline-first, relational-db, webassembly
Score: 6.5/10 (Innovation: 7, Technical: 7, Documentation: 7, Utility: 5)
WebDB is an ultra-lightweight relational database engine built from scratch for browsers, aiming to be a SQLite alternative under 50KB WASM. It bypasses heavy SQL parsers by using a TypeScript query builder that compiles to bytecode, and embraces native Web APIs like OPFS, IndexedDB, and Web Locks for async, offline-first persistence. The project is an ambitious reimagining of database architecture specifically for the web platform, currently in early prototype stage.
Target audience: frontend developers, backend developers, web developers building offline-first applications
Repository: https://ahmad-moussawi.github.io/webdb/ · TypeScript · 4 stars
View on Hacker News