Search packages, repositories and app categories

Package detailsv2.6.1

powersync

PowerSync Dart and Flutter SDK. Sync Postgres, MongoDB, MySQL or SQL Server with SQLite in your app

AndroidiOSWebmacOSWindowsLinux
30-day downloads
58.2K
Likes
159
Pub points
160

Install package

flutter pub add powersync

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

PowerSync is a Flutter/Dart SDK that enables real-time synchronization between local SQLite databases and remote cloud databases such as Postgres, MongoDB, MySQL, or SQL Server. It allows developers to build offline-first applications with seamless data sync across devices and platforms. The SDK handles conflict resolution, data consistency, and background synchronization automatically, reducing the complexity of managing state in distributed apps. With support for Android, iOS, Web, macOS, Windows, and Linux, PowerSync ensures cross-platform consistency and reliability.

Use cases

  • Offline-first mobile applications
  • Real-time collaborative apps
  • Cross-device data synchronization
  • Cloud-backed local data storage
  • Multi-user data sharing
  • Edge computing with local persistence

Key features

  • Real-time data synchronization
  • Conflict resolution strategies
  • Support for multiple cloud databases
  • Automatic background sync
  • Cross-platform compatibility
  • SQLite as local storage

Suitable for

  • Developers building offline-capable apps
  • Teams needing real-time collaboration
  • Applications requiring consistent data across devices
  • Projects using PostgreSQL, MongoDB, MySQL, or SQL Server
  • Apps targeting multiple platforms

Considerations

  • Requires a PowerSync server instance
  • Initial setup involves configuring cloud database
  • May require additional backend infrastructure
  • Understanding of conflict resolution policies
  • Network dependency for sync operations
  • Learning curve for advanced sync features

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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 SDK for Dart and Flutter

package build pub likes pub points
powersync build pub package likes pub points
powersync_attachments_helper build pub package likes pub points
Usage

This monorepo uses melos to handle command and package management.

For detailed usage, check out the powersync package.

Additional packages in this repository are:

  • attachments helper (deprecated, a newer version of this is available in the powersync package).

To configure the monorepo for development, run dart pub get and melos prepare after cloning.

Categories

Dependencies

Dependency list 21 items

Source repository

Projects using this package