Hacker GitHub

← All repos

rhashimoto/wa-sqlite

View on GitHub ↗ ★ 1,424 JavaScript

WebAssembly SQLite with support for browser storage extensions

19 mentions on Hacker News by 14 people: 3 stories, 16 comments · first 2022-09-16 · latest 2026-05-13

Mentions per year 19 mentions · busiest year 2024 (10)
20082026
  1. …quite realistic, which might mean a good/great OPFS VFS (like Roy's) actually starts to make sense. https://github.com/rhashimoto/wa-sqlite/discussions Unfortunately I'm not knowledgeable enough on the browser side of things to advance…
    comment by ncruces · 2026-05-13 · in What if the browser was the server?
  2. …one worker alive managing access to the file system. It’s informed by this discussion on wa-sqlite: https://github.com/rhashimoto/wa-sqlite/discussions/81 Hope somebody will find this useful!
  3. …FTS5 full text search stuff for the index. There are several sqlite backends available (see https://github.com/rhashimoto/wa-sqlite/tree/master/src/exam... ), something like their IDB VFS will store each block in the sqlite file as a row…
  4. https://github.com/rhashimoto/wa-sqlite
    comment by eirikhm · 2024-10-16 · in Sqlite3 WebAssembly
  5. …year² will definitely appreciate it. 1: https://github.com/ncruces/go-sqlite3/discussions/69 2: https://github.com/rhashimoto/wa-sqlite
    comment by ncruces · 2024-10-16 · in Sqlite3 WebAssembly
  6. …working on one. If you're interested in working on it or contributing, feel free to chime in here: https://github.com/rhashimoto/wa-sqlite/discussions/154 This essentially requires that we import the sqlite emscripten build via an extern C…
    comment by aabhay · 2024-10-15 · in Sqlite3 WebAssembly
  7. …interested in contributing to that, here is a good place to start (in early discussion stages): https://github.com/rhashimoto/wa-sqlite/discussions/154
    comment by aabhay · 2024-10-15 · in Sqlite3 WebAssembly
  8. …and it also works great in-browser using wa-sqlite[0]. Example, if anyone's curious [1]. [0]: https://github.com/rhashimoto/wa-sqlite [1]: https://github.com/iansinnott/prompta/blob/master/src/lib/mi...
    comment by iansinnott · 2024-08-09 · in SQLite FTS5 Extension
  9. …SQLite files in memory while persisting to IndexedDB". It has remarkable performance, of course. https://github.com/rhashimoto/wa-sqlite/discussions/189 Also, looks like Roy takes advantage of the aforementioned proposal when he wrote…
  10. …sqlite check out wa-sqlite. It can use both IndexedDB and OPFS as a backend filesystem. [1]: https://github.com/rhashimoto/wa-sqlite
  11. …Hashimoto doesn't want to maintain it as an NPM package for instance, as it is just an experiment: https://github.com/rhashimoto/wa-sqlite/issues/12 "Low traffic is a happy place - I don't have any motivation to mess with that."
    comment by Ciantic · 2024-01-02 · in A future for SQL on the web (2021)
  12. …Edit: It looks like wa-sqlite already has a prototype VFS taking advantage of the above feature https://github.com/rhashimoto/wa-sqlite/discussions/116
    comment by AlexErrant · 2023-12-31 · in A future for SQL on the web (2021)
  13. This is the WASM blob and it's 1.1 MB uncompressed. https://github.com/rhashimoto/wa-sqlite/blob/master/dist/wa-... . No issues - it's cached by cloudflare. We're using IndexedDB. Here's a writeup on alternatives…
    comment by hugodutka · 2023-11-13 · in Loro: Reimagine state management with CRDTs
  14. …cool stuff going on with OPFS and WASM SQLite atm, so the technical options are evolving fast. [1] https://github.com/rhashimoto/wa-sqlite
  15. …server source of truth. [3] Replicache is still the best closed source solution I know of. [1] - https://github.com/rhashimoto/wa-sqlite [2] - https://github.com/vlcn-io/cr-sqlite [3] - https://replicache.dev/
    comment by maccaw · 2023-06-29 · in Scaling Linear's Sync Engine
  16. …things to say about cr-sqlite and its maintainer. [0] https://github.com/vlcn-io/cr-sqlite/ [1] https://github.com/rhashimoto/wa-sqlite/ [2] https://github.com/rhashimoto/wa-sqlite/discussions/63 [3] https://github.com/vlcn-io/cr-sqlite/#ho…