# jlongster/absurd-sql

sqlite3 in ur indexeddb (hopefully a better backend soon)

Repository: https://github.com/jlongster/absurd-sql
Canonical: https://ross.abutalabs.com/products/absurd-sql
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-08-06T03:06:36+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1881, "days_push": 1123, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4325, forks 107 (observed 2026-08-28T04:08:42.002723+00:00)

## What it is
absurd-sql is a backend for sql.js (SQLite compiled to WebAssembly) that persists the database in IndexedDB by reading and writing it in small blocks instead of whole-file dumps. It lets web apps run a fully persistent SQLite database entirely in the browser, inside a web worker.

## Use cases
- persist a sqlite database in the browser
- run sql queries offline in a web app
- store structured app data client-side without a server
- replace localStorage with a real sql database
- build an offline-first web app with sqlite
- query large datasets in the browser with sql

## When to choose
- you want full SQL and SQLite semantics entirely client-side
- your app must work offline with persistent structured data
- you want incremental block-level persistence instead of rewriting a whole database file
- you're building a browser app like a budgeting tool that needs a real database

## When to avoid
- you need a server-side or shared multi-user database
- your data is small and simple enough for localStorage or IndexedDB directly
- you can't set COOP/COEP headers or run code in a web worker
- you need broad Safari support or nested workers
- you need a library under active development

## Facets
- artifact type: library
- maturity: maintenance
- function: database, database-driver, orm
- domain: databases, web-development, frontend
- platform: browser
- tags: sqlite, indexeddb, sql.js, web-workers, client-side-database, persistence, offline-first, javascript, web-server

## Member repositories
- jlongster/absurd-sql (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:42.002723+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-29T18:21:42.211474+00:00, confidence not recorded.
  - readme: https://github.com/jlongster/absurd-sql (fetched 2026-08-28T04:08:42.002723+00:00, sha 146dc37c4d6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
