examples
wasi-sqlite
examples | wasi-sqlite | |
---|---|---|
1 | 3 | |
28 | 6 | |
- | - | |
3.5 | 0.0 | |
9 months ago | almost 2 years ago | |
JavaScript | C | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
examples
-
SQLite WASM Official
Yup, open source (https://github.com/electric-sql) + managed replication-as-service. Some of our service code (eg: infra, control plane) is proprietary.
Download size depends on the driver (we support different SQLite drivers for different environments). The web is quite heavy as it loads the SQL.js WASM (as a separate file, it’s not bundled). I want to say ~350-400kb total but I need to check and it depends a bit on how you build/bundle and serve it.
One approach would be to look at the network tab of the browser console when running the web example: https://github.com/electric-sql/examples
wasi-sqlite
-
SQLite 3.40.0 with WASM Support
I hacked a bit of that in here: https://github.com/rcarmo/wasi-sqlite
Right now I can run SQLite on my iPad under a-Shell pretty well, but there seems to be a bug in the REPL (not sure where) and memory usage skyrockets.
Would love to see this working in a CLI environment.
-
SQLite WASM Official
Very nice. I built sqlite3 for WASI/a-Shell to use on my iPad (https://github.com/rcarmo/wasi-sqlite) and it still has a few issues, I hope this will help (although right now the biggest issue seems to be that the REPL has some sort of memory leak when run inside WASI).
- Rcarmo/wasi-SQLite: sqlite3 CLI for a-Shell on iOS
What are some alternatives?
vaxine - Rich-CRDT database based on AntidoteDB.
wasm_sqlite_with_stats - Documentation and demonstration of how to build WASM versions of SQLite with extensions embedded
evolu - Local-first platform designed for privacy, ease of use, and no vendor lock-in
cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
cowasm - CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.
kikko - Powerful SQLite adapter for web, mobile and desktop. Build reactive UI on top of it