搜尋套件、儲存庫與 APP 分類

套件詳情v2.6.1

powersync

PowerSync Dart 與 Flutter SDK。在您的應用中將 Postgres、MongoDB、MySQL 或 SQL Server 與 SQLite 同步

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
5.8萬
喜歡數
159
Pub 分數
160

安裝套件

flutter pub add powersync

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

PowerSync 是一個 Flutter/Dart SDK,可實現本地 SQLite 資料庫與遠端雲端資料庫(例如 Postgres、MongoDB、MySQL 或 SQL Server)之間的即時同步。它讓開發者能夠建構離線優先的應用程式,並在裝置和平台之間實現無縫資料同步。該 SDK 可自動處理衝突解決、資料一致性以及背景同步,從而降低分散式應用程式中管理狀態的複雜性。支援 Android、iOS、Web、macOS、Windows 和 Linux,PowerSync 確保跨平台的一致性和可靠性。

適用情境

  • 離線優先的移動應用
  • 即時協作應用
  • 跨裝置資料同步
  • 基於雲的本地資料儲存
  • 多用戶數據共享
  • 邊緣計算與本地持久化

主要特色

  • 即時資料同步
  • 衝突解決策略
  • 對多種雲資料庫的支援
  • 自動背景同步
  • 跨平台相容性
  • SQLite作為本機儲存

適合對象

  • 開發離線功能的應用程式開發者
  • 需要即時協作的團隊
  • 需要在設備間保持資料一致性的應用程式
  • 使用 PostgreSQL、MongoDB、MySQL 或 SQL Server 的項目
  • 針對多個平台的應用程式

使用建議

  • 需要一個 PowerSync 伺服器實例
  • 初始設定包括配置雲資料庫
  • 可能需要額外的後端基礎設施
  • 衝突解決策略的理解
  • 同步操作的網絡依賴
  • 進階同步功能的學習曲線

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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.

所屬分類

依賴

依賴清單 21 項

原始碼儲存庫

使用此套件的專案