Titan AI LogoTitan AI

pglite

13,130
312
TypeScript

Project Description

Embeddable Postgres with real-time, reactive bindings.

pglite: Embeddable Postgres with real-time, reactive bindings.

pglite — Embeddable Postgres with Real-Time, Reactive Bindings

Overview

pglite is an embeddable Postgres database built in WebAssembly (WASM), allowing developers to run Postgres in environments like browsers, Node.js, Bun, and Deno without additional dependencies. It's lightweight, only 3mb gzipped, and supports many Postgres extensions, including pgvector. pglite stands out for its ability to run Postgres natively in WASM without relying on a Linux virtual machine.

Key Features

  • Runs Postgres in WASM without a Linux virtual machine
  • Supports many Postgres extensions, including pgvector
  • Lightweight, with a 3mb gzipped size
  • Real-time, reactive bindings for efficient data handling

Use Cases

  • Building local-first, reactive, and real-time applications directly on Postgres
  • Ephemeral in-memory database for testing and development
  • Persistence to the filesystem (Node/Bun/Deno) or indexedDB (Browser)

Advantages

  • No need for additional dependencies or a Linux virtual machine
  • Small footprint, making it suitable for various environments
  • Supports a wide range of Postgres extensions, enhancing functionality

Limitations / Considerations

  • Currently in alpha status, which may imply potential instability or incomplete features
  • May have limitations in terms of performance compared to a full Postgres installation

Similar / Related Projects

  • SQLite: A lightweight disk-based database that doesn't require a separate server process. Unlike pglite, it is not a client-server database and is not built in WASM.
  • CockroachDB: A cloud-native SQL database for building global, scalable cloud services. It offers distributed SQL capabilities, unlike pglite which is focused on embeddability.
  • DuckDB: An embeddable SQL OLAP database management system. While similar in concept to pglite, DuckDB is not built in WASM and has a different set of features and performance characteristics.

Basic Information

  • GitHub: pglite
  • Stars: 12,856
  • License: Unknown
  • Last Commit: 2025-09-16

📊 Project Information

  • Project Name: pglite
  • GitHub URL: https://github.com/electric-sql/pglite
  • Programming Language: TypeScript
  • ⭐ Stars: 12,856
  • 🍴 Forks: 302
  • 📅 Created: 2024-02-19
  • 🔄 Last Updated: 2025-09-16

🏷️ Project Topics

Topics: [, ", d, a, t, a, b, a, s, e, ", ,, , ", p, o, s, t, g, r, e, s, ", ,, , ", w, a, s, m, ", ]



This article is automatically generated by AI based on GitHub project information and README content analysis

Titan AI Explorehttps://www.titanaiexplore.com/projects/pglite-759893102en-USTechnology

Project Information

Created on 2/19/2024
Updated on 10/31/2025