https://github.com/maximilian27/moltendb-web
https://github.com/maximilian27/moltendb-web
angular db javascript localfirstweb offline-first opfs opfs-tools query-builder typescript wasm webassembly webworker
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/maximilian27/moltendb-web
- Owner: maximilian27
- License: mit
- Created: 2026-03-15T20:00:55.000Z (23 days ago)
- Default Branch: develop
- Last Pushed: 2026-04-06T07:44:34.000Z (1 day ago)
- Last Synced: 2026-04-06T09:46:20.940Z (1 day ago)
- Topics: angular, db, javascript, localfirstweb, offline-first, opfs, opfs-tools, query-builder, typescript, wasm, webassembly, webworker
- Language: TypeScript
- Homepage:
- Size: 1.41 MB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# MoltenDb Web
### 🌋 The Embedded Database for the Modern Web
**This is the monorepo for MoltenDb Web — a high-performance Rust engine compiled to WASM with persistent storage via OPFS.**
**Use it as a full-featured embedded database *or* as a persistent state manager — your app's data survives page reloads, browser crashes, and unexpected connection loss automatically.**
[Interactive Demo](https://stackblitz.com/~/github.com/maximilian27/moltendb-wasm-demo?file=package.json) • [Original Repository](https://github.com/maximilian27/MoltenDb) • [License](LICENSE.md)
[](https://www.npmjs.com/package/@moltendb-web/core)
[](LICENSE.md)
[](https://webassembly.org/)
---
## Demos
### 🔬 Interactive Query Demo (Core & Query packages)
Explore the full MoltenDb query builder in a live, zero-setup environment:
- ⚡ **StackBlitz:** [Open Interactive Demo](https://stackblitz.com/~/github.com/maximilian27/moltendb-wasm-demo?file=package.json)
This demo lets you test the full query builder API — `get()`, `set()`, `update()`, `delete()`, `.where()`, `.fields()`, `.sort()`, `.joins()`, and more — directly in the browser against a real WASM-powered MoltenDb instance.
### 🅰️ Angular Demo App
A real-world Angular application showcasing the `@moltendb-web/angular` integration:
- 🔗 **Demo repo:** [github.com/maximilian27/moltendb-angular](https://github.com/maximilian27/moltendb-angular)
- ⚡ **StackBlitz:** [Open in StackBlitz](https://stackblitz.com/~/github.com/maximilian27/moltendb-angular)
- 🌐 **Live demo:** [moltendb-angular.maximilian-both27.workers.dev/laptops](https://moltendb-angular.maximilian-both27.workers.dev/laptops)
The demo app showcases two real-world scenarios:
- **`/laptops`** — A fully-featured data table with filtering, sorting, column visibility, field projection, and reactive summary stats using `moltenDbResource`.
- **`/stress-test`** — A benchmarking page measuring MoltenDB CRUD performance (bulk writes, reads, filtered/sorted queries, updates, and deletes) displayed as ops/sec.
---
## Packages
This monorepo contains the following packages. Please refer to their individual READMEs for detailed documentation, usage examples, and API references.
| Package | Description | README |
|---------|-------------|--------|
| [`@moltendb-web/core`](packages/core) | Core WASM engine — low-level database bindings | [README](packages/core/README.md) |
| [`@moltendb-web/query`](packages/query) | Query builder — ergonomic API on top of core | [README](packages/query/README.md) |
| [`@moltendb-web/angular`](packages/angular) | Angular integration — reactive Signals, resources, and DI | [README](packages/angular/README.md) |