awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
electric-sql avatar

electric-sql/pglite

0
View on GitHub↗
14,707 星标·354 分支·TypeScript·apache-2.0·5 次浏览pglite.dev↗

Pglite

Pglite is a client-side relational database engine that runs a full-featured PostgreSQL instance directly within browser and Node.js environments. By leveraging WebAssembly, it provides a persistent SQL storage solution that enables complex data management and querying without requiring an external database server.

The project distinguishes itself through a reactive SQL data layer that automatically synchronizes user interface components with live query results. It manages database operations using worker threads to prevent main-thread blocking and coordinates access across multiple browser tabs to ensure consistent data views. For performance, it supports binary-snapshot-based initialization, allowing applications to load pre-built database states instantly.

The platform includes a comprehensive suite of tools for local-first development, such as virtual file system persistence, transaction management, and support for custom engine extensions. It also provides developer-focused utilities including an interactive SQL terminal, schema inspection, and automated database lifecycle management for testing and development workflows.

The project integrates with modern build tools to resolve binary dependencies and provides type-safe query builders and ORM support to bridge application logic with the database.

Features

  • Browser Databases - Runs a full-featured Postgres engine directly in the browser to enable local data persistence and complex querying.
  • Client-Side Databases - Provides a persistent SQL storage solution that enables complex data management without an external database server.
  • SQL Query Execution - Runs standard SQL commands and parameterized queries directly within browser or server environments.
  • In-Browser Database Engines - Runs a full-featured relational database engine compiled to WebAssembly directly within browser and Node.js environments.
  • WebAssembly Engines - Runs a full-featured relational database engine compiled to WebAssembly for client-side SQL execution.
  • Database Execution Engines - Provides a full-featured relational database runtime environment for browser and Node.js applications.
  • Reactive Data Queries - Triggers automatic interface updates whenever the underlying database state changes by subscribing to live query results.
  • Reactive Data Bindings - Automatically updates user interface components in real time whenever underlying database query results change.
  • Multi-Tab Database Coordinators - Manages leader election across multiple browser tabs to ensure consistent database access and state.
  • Object-Relational Mapping - Provides ORM integration to map application objects to relational database records and manage complex data models.
  • WebAssembly - Provides a high-performance execution environment for relational data using binary compilation for native-speed SQL operations.
  • Databases and Data Tools - Embeddable Postgres with reactive bindings.
  • Browser Storage Managers - Manages database persistence using browser storage and virtual file systems to ensure data availability.
  • Atomic Transactions - Groups multiple operations into atomic units that commit upon success or automatically roll back on failure.
  • Type-Safe Query Builders - Offers type-safe query builders that translate application logic into SQL, ensuring compile-time validation.
  • Local-First Architectures - Enables building applications that store and process data locally while maintaining full relational database capabilities.
  • Leader Election - Coordinates database access and leader election across multiple browser tabs using messaging protocols.
  • Shared Worker Storage - Coordinates shared database access across multiple browser tabs using background workers.
  • Database Change Subscriptions - Subscribes to asynchronous database events to trigger application updates when data changes occur.
  • Virtualized Filesystem Layers - Interacts with internal storage layers to import or export data using standard file operations and streaming protocols.
  • Virtual File Systems - Maps database storage to virtual file systems to ensure persistence across browser sessions.
  • Database Initialization - Initializes persistent or in-memory database instances, supporting snapshot loading for faster startup.
  • Cross-Thread Database Dispatchers - Offloads database operations to background worker threads to maintain main-thread responsiveness.
  • Binary Snapshots - Loads pre-built database snapshots directly into memory to bypass standard initialization and reduce startup time.
  • Incremental Syncing - Tracks changes to query results using keyed diff algorithms to efficiently update component state as data evolves.
  • Database Export Utilities - Generates SQL scripts and compressed archives for database backups, restoration, and migration.
  • Database Extensions - Supports custom engine extensions and plugins to add specialized features to the database system.
  • Database Migrations - Facilitates database migrations by exporting and importing data between instances for version transitions.
  • Database Context Providers - Injects database instances into the component tree for accessible data management across the application lifecycle.

Star 历史

electric-sql/pglite 的 Star 历史图表electric-sql/pglite 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Pglite 的开源替代方案

相似的开源项目,按与 Pglite 的功能重合度排序。
  • pubkey/rxdbpubkey 的头像

    pubkey/rxdb

    23,048在 GitHub 上查看↗

    This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d

    TypeScriptangularbrowser-databasecouchdb
    在 GitHub 上查看↗23,048
  • dotnet/efcoredotnet 的头像

    dotnet/efcore

    14,587在 GitHub 上查看↗

    Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a

    C#aspnet-productc-sharpdatabase
    在 GitHub 上查看↗14,587
  • vlcn-io/cr-sqlitevlcn-io 的头像

    vlcn-io/cr-sqlite

    3,640在 GitHub 上查看↗

    cr-sqlite is a multi-master database replication system that uses conflict-free replicated data types to ensure eventual consistency across distributed nodes. It provides the core capabilities for offline-first data synchronization, allowing multiple database instances to merge concurrent updates and reach a consistent state. The project distinguishes itself through a combination of CRDT-based data replication and a WASM-based database engine, enabling full SQL execution and state persistence within web browsers. It supports peer-to-peer replication and cross-tab synchronization, utilizing ca

    Rustcrdtdatabasesqlite
    在 GitHub 上查看↗3,640
  • surrealdb/surrealdbsurrealdb 的头像

    surrealdb/surrealdb

    32,397在 GitHub 上查看↗

    SurrealDB is a multi-model database engine designed to store and query document, graph, relational, and vector data within a single ACID-compliant platform. It functions as an AI-native data store, integrating vector search, graph traversal, and machine learning model execution directly into its query layer. By providing a unified declarative query language, the platform eliminates the need for external middleware to synchronize data across different storage models. The platform distinguishes itself through its ability to manage agent memory and complex workflows natively. It allows developer

    Rustbackend-as-a-servicecloud-databasedatabase
    在 GitHub 上查看↗32,397
查看 Pglite 的所有 30 个替代方案→

常见问题解答

electric-sql/pglite 是做什么的?

Pglite is a client-side relational database engine that runs a full-featured PostgreSQL instance directly within browser and Node.js environments. By leveraging WebAssembly, it provides a persistent SQL storage solution that enables complex data management and querying without requiring an external database server.

electric-sql/pglite 的主要功能有哪些?

electric-sql/pglite 的主要功能包括:Browser Databases, Client-Side Databases, SQL Query Execution, In-Browser Database Engines, WebAssembly Engines, Database Execution Engines, Reactive Data Queries, Reactive Data Bindings。

electric-sql/pglite 有哪些开源替代品?

electric-sql/pglite 的开源替代品包括: pubkey/rxdb — This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a… dotnet/efcore — Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using… vlcn-io/cr-sqlite — cr-sqlite is a multi-master database replication system that uses conflict-free replicated data types to ensure… surrealdb/surrealdb — SurrealDB is a multi-model database engine designed to store and query document, graph, relational, and vector data… stephencelis/sqlite.swift — SQLite.swift is a type-safe Swift wrapper and object-relational mapping layer that provides a bridge for interacting… geldata/gel — Gel is an object-relational database system that models data as a graph of interconnected objects. By utilizing a…