#9696th of 173 in Backends, databases and hosting

electric-pglite

Postgres compiled to WASM, run in browser, Node, Bun and Deno

Stars
16.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
TypeScript

Missed the latest GitHub check; these facts may be older.

Overview

PGlite packages Postgres built to WebAssembly as a TypeScript library, so it runs in the browser, Node.js, Bun and Deno with no other install. It works as an in-memory database or persists to the file system or IndexedDB, and supports extensions such as pgvector and PostGIS. It runs Postgres in single-user mode with an I/O layer, not in a Linux VM.

Who it is for: Developers embedding Postgres in browser, local-first or test setups

Strengths

  • About 3 MB gzipped, with no dependencies to install
  • Runs real Postgres in WASM, not a Linux VM
  • Supports extensions including pgvector and PostGIS
  • Persists to the file system or IndexedDB, or runs in memory

Weaknesses

  • Single user and single connection only
  • README labels the project alpha status
  • Building the WASM module from source requires Docker
  • Single-process design, not a drop-in server replacement

What it needs

  • no GPU

Also in Backends, databases and hosting

See all 173
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k stars+697 (+0.7%) in 30 dayscustom license93 out of 100
2traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k starsMIT93 out of 100
3appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.1k stars+546 (+0.9%) in 30 daysBSD-3-Clause93 out of 100
#4ormTypeScript ORM for PostgreSQL and MongoDB with a plugin SPI and agent skills47.7k starsApache-2.093 out of 100
#5strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100