# snaplet/postgres-wasm

A PostgresQL server running in your browser

Repository: https://github.com/snaplet/postgres-wasm
Canonical: https://ross.abutalabs.com/products/postgres-wasm
Language: Shell
License: MIT
License Family: permissive
Topics: wasm, playground, postgres
Archived: true
Last push: 2024-04-08T07:06:05+00:00

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

## Adoption (not part of the score)
Stars 2321, forks 80 (observed 2026-08-28T04:06:37.120900+00:00)

## What it is
A proof-of-concept project that runs a full PostgreSQL server inside an x86 virtual machine (via v86) directly in the browser. It packages a buildroot Linux image, a v86 runtime, and a websocket networking proxy to make the database reachable from JavaScript.

## Use cases
- run postgres in the browser for demos
- interactive sql playground without a server
- try postgresql without installing anything
- embed a postgres instance in a web tutorial
- test sql queries client-side

## When to choose
- you want a self-contained in-browser Postgres demo or playground
- you need a fully isolated VM-based Postgres running client-side

## When to avoid
- you need a production-ready or performant in-browser Postgres — use PGlite instead
- you need real networking or persistent storage
- you want an actively developed solution

## Facets
- artifact type: library
- maturity: maintenance
- function: database, wasm, developer-tools
- domain: databases, developer-tools, web-development
- platform: browser, wasm
- tags: postgresql, v86, proof-of-concept, in-browser-database, supabase

## Member repositories
- snaplet/postgres-wasm (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.120900+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-30T02:38:47.929445+00:00, confidence not recorded.
  - readme: https://github.com/snaplet/postgres-wasm (fetched 2026-08-28T04:06:37.120900+00:00, sha d8ada15d4c5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
