PowerSync keeps a client-side SQLite database in sync with your backend database. Changes appear across users and devices in real-time, user interactions feel instant and your app continues to work even when offline. Supports Postgres, MongoDB, MySQL, and SQL Server. Client SDKs are available for a wide range of environments including web, mobile, desktop, headless and embedded.
powersync-service is the monorepo for the core PowerSync Service.
The service can be started using the public Docker image. See the image notes
-
- Core logic for the PowerSync backend server
-
- Customized version of pgwire (used with Postgres)
-
- Custom JSON and BigInt parser
-
- Router for reactive streams using RSocket
-
- Library containing logic for PowerSync sync config (sync streams or sync rules)
-
- Type definitions for the PowerSync Service
-
- A light-weight set of definitions and utilities for micro services
-
- A light-weight set of common logic and types for the MongoDB replication and storage modules.
-
- MongoDB replication module.
-
modules/module-mongodb-storage
- MongoDB bucket storage module.
-
- MySQL replication module.
-
- Convex replication module. See the module README for local integration testing with the
dev:convexbackend.
- Convex replication module. See the module README for local integration testing with the
-
- Postgres replication module.
Contains the PowerSync Service code. This project is used to build the journeyapps/powersync-service Docker image.
Technical documentation regarding the implementation of PowerSync.
Contains a minimal client demonstrating direct usage of the HTTP stream sync API. This can be used to test sync config in contexts such as automated testing.
See the notes for local development instructions.
