qmetrics.net

PGlite

Embeddable WASM PostgreSQL for apps

DatabasesDesktop/CLI app
PGlite screenshot

PGlite ships Postgres compiled to WebAssembly in a TypeScript client. It runs in the browser, Node.js, Bun, and Deno without a separate database install.

Overview

PGlite is a compact WebAssembly build of PostgreSQL packaged as a TypeScript library. It lets applications run a real Postgres engine locally for prototyping, tests, or local-first data without standing up a full server process.

It can operate in memory or persist data to the filesystem on Node, Bun, and Deno, or to IndexedDB in the browser. The design uses Postgres single-user mode adapted for WASM rather than embedding a full Linux VM. Many extensions are supported, including pgvector and PostGIS, via dynamic loading.

Developers install it through npm or load it from a CDN. APIs cover in-memory and persistent setups. From recent releases it can expose a connection compatible with node-postgres clients. Documentation and interactive browser demos are published separately.

PGlite is single-connection only, which matters when planning concurrency. It targets reactive and real-time app patterns with built-in primitives for synchronization and live queries described in project materials.

Key features

  • Postgres in WebAssembly under 3MB gzipped
  • Browser, Node, Bun, Deno support
  • In-memory or persistent storage
  • pgvector and PostGIS extensions
  • IndexedDB persistence in browsers
  • node-postgres compatible connection
  • Reactive query and sync primitives
  • No separate Postgres daemon required

Use cases

  • Local-first web apps with SQL
  • Unit tests needing real Postgres
  • Embedded analytics in the browser
  • Prototyping without cloud databases

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift