# rhashimoto/wa-sqlite

WebAssembly SQLite with support for browser storage extensions

Repository: https://github.com/rhashimoto/wa-sqlite
Canonical: https://ross.abutalabs.com/products/wa-sqlite
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, sqlite, webassembly, wasm, vfs, indexeddb, opfs
Last push: 2026-08-16T23:04:55+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 85, longevity 100
- inputs: {"age_days": 1961, "days_push": 17, "days_rel": 22, "gap_med": 43.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1406, forks 108 (observed 2026-08-28T04:04:38.339633+00:00)

## What it is
wa-sqlite is a WebAssembly build of SQLite with JavaScript-extensible virtual filesystem (VFS) support. It enables running SQLite in the browser with storage backends like IndexedDB and Origin Private File System, in synchronous or asynchronous builds.

## Use cases
- run sqlite in the browser
- persist app data client-side with indexeddb
- store structured data in opfs
- use a real sql database in a web app without a server
- write custom sqlite vfs in javascript
- offline-first web app with local database

## When to choose
- you need full SQL in a browser-based application
- you want client-side persistent storage with IndexedDB or OPFS backends
- you need to customize SQLite behavior via JavaScript VFS extensions

## When to avoid
- you need a server-side or native (non-browser) database
- you only need simple key-value storage without SQL
- your target browsers lack WebAssembly or OPFS support

## Facets
- artifact type: library
- maturity: active
- function: database, database-driver, file-system
- domain: databases, web-development, browser-extensions, developer-tools
- platform: browser, wasm, cross-platform
- tags: sqlite, webassembly, indexeddb, opfs, vfs, browser-storage, sql, javascript

## Member repositories
- rhashimoto/wa-sqlite (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:38.339633+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:43.978516+00:00, confidence not recorded.
  - readme: https://github.com/rhashimoto/wa-sqlite (fetched 2026-08-28T04:04:38.339633+00:00, sha ea6107db2839)
- Data as of 2026-08-30T08:39:29.467469+00:00.
