7 ms·
https://github.com/sqlite/sqlite-wasm https://github.com/sqlite/sqlite-wasm sqlite-wasm loads much faster than Pyodide, so if you don't need Python, then the f
by rblank 2y ago
https://github.com/sqlite/sqlite-wasm https://github.com/sqlite/sqlite-wasm
sqlite-wasm loads much faster than Pyodide, so if you don't need Python, then the former is a better choice.
- simonw 2y agoAmazing! npm install @sqlite.org/sqlite-wasm
- wg0 2y agoThis would run on client side I presume? Where the data would go? Okay that's listed here: https://sqlite.org/wasm/doc/trunk/persistence.md https://sqlite.org/wasm/doc/trunk/persistence.md EDIT: Self answered.
- simonw 2y agoI built my own little demo page here: https://tools.simonwillison.net/sqlite-wasm https://tools.simonwillison.net/sqlite-wasm With the help of Claude, though it incorrectly hallucinated some of the details despite me pasting in documentation: https://gist.github.com/simonw/677c3794051c4dfeac94e514a8e5b697 https://gist.github.com/simonw/677c3794051c4dfeac94e514a8e5b...