electric-sql/pglite

Embeddable Postgres with real-time, reactive bindings.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 48 minutes ago
Added to GitGenius on September 3rd, 2026
Created on February 19th, 2024
Open Issues & Pull Requests: 159 (+0)
GitHub issues: Enabled
Number of forks: 439
Total Stargazers: 15,995 (+0)
Total Subscribers: 71 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 18.7 hours
Mean response time: 26.0 days
90th percentile: 69.9 days
Tracked items: 318

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 82% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 5% of issues opened in the past year have been closed. Three people close 75% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 115
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 482 days
Stale 30+ days: 104
Stale 90+ days: 82

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (50)
  • enhancement (34)
  • bundlers-nextjs/emsdk (12)
  • wasi/fsm (8)
  • documentation (7)
  • bug(compiler) (3)
  • compatibility (3)
  • good first issue (3)

Most active issues this week

Detailed Description

PGlite is a WebAssembly build of Postgres packaged as a TypeScript client library that runs Postgres in browsers, Node.js, Bun, and Deno without external dependencies.

The tool solves the problem of needing a full database server by embedding Postgres directly into JavaScript environments. Since WebAssembly cannot fork processes like traditional Postgres does, PGlite operates in single-process mode, compiling Postgres to WASM using Emscripten. The library is distributed as a 3mb gzipped package and supports many Postgres extensions including pgvector and PostGIS. It can run as an ephemeral in-memory database or persist data to indexedDB in browsers or the file system in Node.js, Bun, and Deno.

Developers should choose this tool when building local-first, reactive applications that benefit from having a real Postgres instance available client-side without server infrastructure. It suits projects needing offline-capable databases, edge computing scenarios, or applications where embedding a full relational database in the client makes sense. The approach differs from previous "Postgres in the browser" projects by avoiding Linux virtual machines entirely and running actual Postgres compiled to WebAssembly.

The project maintains active engagement through a Discord community channel and social media presence. Development activity shows ongoing work across multiple runtime environments and storage backends, with support for various Postgres extensions indicating sustained feature expansion. The tool carries an alpha status designation, reflecting its position as a maturing project still subject to changes.