Electric Firebird (mariuz/electric-firebird on GitHub) compiles the Firebird database engine to WebAssembly, following the same approach PGlite took for PostgreSQL. The goal is to let Firebird run both server-side (Node.js) and fully client-side in the browser, with no server round-trip required for queries.
Highlights:
Two backends: a native Node.js implementation (via the Firebird Embedded Server) and a WASM build for browsers
Browser version persists data to IndexedDB, surviving page reloads
Parameterized queries, transactions, typed values, and cross-tab safety are supported
Apache-2.0 license
Requires Node.js 20+ and a Firebird client library to build; WASM compilation uses an Emscripten SDK
Live in-browser demo (SQL runs entirely client-side, nothing is uploaded): https://mariuz.github.io/electric-firebird/
Still under active development — DDL/DML execution and transactions are confirmed working in both Node and Chromium — but feedback, testing, and contributions are very welcome.
No comments:
Post a Comment