Sql.js-httpvfs
lastmod 2021-05-15created 2021-05-151 edits
Hosting an SQLite DB on GitHub Pages
Features
- A way to use a full-featured SQLite DB on a static web page without a backend
- Compiles SQLite to WASM with emscripten and uses sql.js as the JS Wrapper
- Since sql.js is memory-based, it was changed to read the DB via HTTP Range requests (httpvfs)
- Page size set to 1 KiB to keep requests small (default 4 KiB)