wasm_sqlite_with_stats
sql.js
wasm_sqlite_with_stats | sql.js | |
---|---|---|
3 | 1 | |
24 | 118 | |
- | - | |
10.0 | 10.0 | |
over 1 year ago | about 4 years ago | |
C | ||
MIT License | - |
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.
wasm_sqlite_with_stats
-
SQLite Release 3.40.0
Not by default, you can test it out here[1].
I documented how to compile an extension into the wasm build here[2], I assume something like that would work for fts? But I'm not sure exactly.
[1]: https://sqlite.org/fiddle/
[2]: https://github.com/llimllib/wasm_sqlite_with_stats/tree/buil...
-
SQLite WASM Official
I wrote up how to compile SQLite to WASM and also include an extension: https://github.com/llimllib/wasm_sqlite_with_stats
You can play with the wasm-compiled extension at the version of the sandbox I compiled here: https://llimllib.github.io/wasm_sqlite_with_stats/
I tried to be thorough with the writeup, so hopefully it helps somebody if that's something they need.
-
I Figured out How to Build SQLite into WASM And Include Extensions
I put thorough instructions here because it wasn't documented anywhere that I could find.
sql.js
-
SQLite WASM Official
SQLite was one of the first large C code bases to be ported to the web. Alon Zakai (@kripken, the creator of emscripten), made the first commit to sql.js at the start of 2012 [0]. I got involved two years later, and have been maintaining sql.js since. A lot was added since 2012, but the initial core api with 3 functions 'open', 'exec', and 'close' still works today.
https://github.com/kripken/sql.js/commit/cebd80648dbd369b348...
What are some alternatives?
vaxine - Rich-CRDT database based on AntidoteDB.
kikko - Powerful SQLite adapter for web, mobile and desktop. Build reactive UI on top of it
examples - Example applications using ElectricSQL.
wasi-sqlite - sqlite3 CLI for a-Shell on iOS
cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
datasette-lite - Datasette running in your browser using WebAssembly and Pyodide
evolu - Local-first platform designed for privacy, ease of use, and no vendor lock-in