PowerSync
Core requirementSync engine that bridges SQLite on every client with PostgreSQL in the cloud.
- 9 Sync Streams scoped by role — workers see their own incidents, supervisors see their site, admins see everything, and edge devices receive a parameterized critical feed.
- Mobile app writes incidents to local OP-SQLite; PowerSync reconciles them with Supabase Postgres when connectivity returns.
- Rust edge daemon uses the PowerSync Rust SDK (pre-alpha) to sync a read-only SQLite on rugged Linux devices with a TUI dashboard.
- The web dashboard can subscribe to PowerSync for optional real-time reads alongside Supabase Realtime.