electric-sql/pglite
Embeddable Postgres with real-time, reactive bindings.
⚡ Executive Summary & Quick Facts
Authoritative Sourcepglite is pglite is an open-source project written in TypeScript: Embeddable Postgres with real-time, reactive bindings..
| Repository | electric-sql/pglite ↗ |
|---|---|
| Primary Category | database |
| Language & Stack | TypeScript |
| Software License | Apache-2.0 |
| Community Traction | ★ 16.2K stars · ⑂ 465 forks · #945 globally |
| Maintenance | ● Active (Last commit: Oct 26, 2026) · 162 open issues |
| Target Audience | Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads. |
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/electric-sql/pglite?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/electric-sql/pglite?utm_source=readme_badge) [](https://githubrepo.cloud/repo/electric-sql/pglite?utm_source=readme_badge) [](https://githubrepo.cloud/repo/electric-sql/pglite?utm_source=readme_badge)
Momentum
+405
STARS · LAST 30 DAYS
14
PER DAY
#190
MOST-STARRED TypeScript
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +98 | +405 | +1.3K |
| Per day | 14 | 14 | 14 |
| Forks gained | +2 | +9 | +23 |
pglite gained 405 stars in the last 30 days, about 14 a day, and now has 16.2K. It is about 3 years old and has averaged roughly 5.4K stars a year. It ranks #190 among TypeScript repositories and #945 across all languages on GitHubRepo.
Trending Record
2
DAYS ON TRENDING
#6025
BEST RANK
Oct 26, 2026
FIRST APPEARANCE
Active
STATUS TODAY
pglite has maintained a continuous presence across global trending indexes, peaking at #6025. Below is the 30-day activity profile:
💡 Overview
pglite is an open-source project written in TypeScript: Embeddable Postgres with real-time, reactive bindings.
Engineered for speed, consistency, and developer ease, it solves common hurdles in database, postgres, wasm. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in TypeScript for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ npm install pglite
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Node.js >= 18, npm, pnpm or bun
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
pglite coordinates its core functionality through a modular TypeScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
High-Throughput Storage
Persist and retrieve structured data records with minimal latency and high concurrency.
In-Memory Caching
Accelerate application response times by caching frequently queried database entities.
Analytical Queries
Run aggregate metrics and point lookups across large sets of records.
Distributed Replication
Synchronize state across multiple cluster nodes with strong consistency guarantees.
🚀 Getting Started
Install pglite using your package manager: `npm install pglite`
Initialize your project workspace or configuration file for pglite.
Import pglite into your codebase or invoke it directly from your terminal.
Execute your test suite or run `pglite --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
electric-sql/pglite is currently ranked #945 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #940 | go-task/task | Go | ★ 16.3K | Compare ↗ |
| #941 | Automattic/harper | Rust | ★ 16.3K | Compare ↗ |
| #942 | wkentaro/labelme | Python | ★ 16.2K | Compare ↗ |
| #943 | PyO3/pyo3 | Rust | ★ 16.2K | Compare ↗ |
| #944 | cloudflare/cloudflared | Go | ★ 16.2K | Compare ↗ |
| #945 | electric-sql/pglite This Project | TypeScript | ★ 16.2K | |
| #946 | quickwit-oss/tantivy | Rust | ★ 16.2K | Compare ↗ |
| #947 | mikefarah/yq | Go | ★ 16.2K | Compare ↗ |
| #948 | tracel-ai/burn | Rust | ★ 16.1K | Compare ↗ |
| #949 | winsiderss/systeminformer | C | ★ 16.1K | Compare ↗ |
| #950 | alibaba/zvec | C++ | ★ 16.1K | Compare ↗ |
Frequently Asked Questions
What does pglite do? +
Embeddable Postgres with real-time, reactive bindings.
What language is pglite written in? +
The primary language is TypeScript. Topics include: database, postgres, wasm.
Is pglite actively maintained? +
Yes, the last recorded push was on Oct 26, 2026 with 162 open issues being tracked.
How many stars does pglite have? +
pglite has 16,191 stars and 465 forks on GitHub.
How does pglite rank among GitHub repositories? +
With 16,191 stars, electric-sql/pglite is ranked #945 globally across all repositories tracked on GitHubRepo and #190 among TypeScript projects.
What license is pglite distributed under? +
The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.