{"data":{"slug":"pglite","name":"PGlite","tagline":"Apache-2.0 Postgres compiled to WASM for browser, Node, Bun and Deno","category":"databases","categoryName":"Databases","url":"https://pglite.dev","github":"https://github.com/electric-sql/pglite","pricing":"open-source","hook":"PGlite is real Postgres compiled to WebAssembly and wrapped in a TypeScript client, so you can run a Postgres database in the browser, Node.js, Bun or Deno with one npm install and no server.","whatsGood":"Apache-2.0 (electric-sql/pglite), release @electric-sql/pglite 0.5.10 (2026-10-14). About 3 MB gzipped, no Linux VM underneath, runs in memory or persists to the file system (Node/Bun/Deno) or IndexedDB in the browser. Good for local-first apps, per-test throwaway databases in CI and agent sandboxes that need real SQL, and it pairs with Electric for sync. Postgres extensions such as pgvector are available as add-ons. ★~16.2k.","theCatch":"It is single user and single connection, so it is not a replacement for a Postgres server behind a multi-user backend. Performance and memory are bounded by the WASM runtime, and only the extensions the project has ported can be loaded. It is still 0.x, so expect API changes between minor versions.","verdict":"The easiest way to get real Postgres in tests, the browser or a local-first app — not your production server.","addedAt":"2026-10-18","featured":false,"domain":"Databases","subSpecialty":"Data","subcategory":"Postgres","tags":["self-host","local-first","permissive","postgres","active"],"capabilities":["browser"],"surfaces":["Self-host"],"ecosystem":["Multi-platform"],"licenseModel":"Apache-2.0","githubStars":16170,"starsPerWeek":116,"access":"free","archived":false,"repo":{"createdAt":"2024-02-19","pushedAt":"2026-10-14","license":"Apache-2.0","archived":false,"checkedAt":"2026-10-19"}},"related":[{"slug":"supabase","name":"Supabase","tagline":"Open-source Firebase alternative built on Postgres"},{"slug":"turso","name":"Turso","tagline":"SQLite at the edge with libSQL"},{"slug":"redis","name":"Redis","tagline":"The in-memory data store everyone uses"},{"slug":"upstash","name":"Upstash","tagline":"Serverless Redis and Kafka"},{"slug":"pinecone","name":"Pinecone","tagline":"Vector database for AI applications"}],"links":{"self":"/api/gems/pglite","html":"/gems/pglite","markdown":"/gems/pglite.md","category":"/api/gems?category=databases","categoryPage":"/stacks/databases"}}