Local device sync

Keep nearby devices in sync — no internet required

Coming Soon

This feature is in active development and will ship with buoyient 2.0

View the design plan →

The problem

buoyient already handles offline-first sync between each device and your server. But what happens when multiple devices are in the same room and the internet goes down?

Device A
Creates a todo
No internet
Device B
Doesn’t see it

Today, each device queues changes locally and waits for the server. Nearby devices can’t share data until the internet comes back.

The solution

Local device network sync discovers nearby devices running the same app and synchronizes data directly over the local network — Wi-Fi, Bluetooth, or peer-to-peer.

Your Server
Unreachable — no internet
Local Device Network
Device A
peer sync
Device B

When internet returns, all devices reconcile with the server as usual — no data loss, no conflicts between local-synced changes.

How it will work

Local device sync plugs into the existing buoyient architecture. The same pending queue, placeholder resolution, and conflict resolution you already use — now with a peer-to-peer transport layer.

1. Automatic discovery

Devices running your app automatically discover each other on the local network. No manual pairing, no QR codes, no configuration.

2. Selective sync

Only the services you opt in will sync locally. Sensitive data can remain device-only until the server is reachable. Per-service encryption is respected.

3. Conflict-free merging

The same 3-way merge and RebaseHandler you already use for server conflicts handles local device conflicts too. One conflict resolution strategy across all sync paths.

4. Seamless server reconciliation

When the internet comes back, locally-synced changes are reconciled with the server. Placeholder resolution works the same way — objects created offline still get their server IDs at sync time.

Use cases

Anywhere multiple devices need to stay coordinated without relying on the cloud.

Field operations

Warehouse workers, field inspectors, and delivery crews sharing real-time updates in areas with poor or no connectivity.

Point of sale

Multiple registers and tablets in a store that need to share inventory and order data even during an internet outage.

Events & venues

Ticketing, check-in, and staff coordination at events where cellular networks are overloaded.

Healthcare

Clinics and mobile care teams sharing patient records between devices in low-connectivity environments.

Transport options

Local sync will support multiple transport layers depending on your platform and use case.

Wi-Fi
Devices on the same local network — fastest throughput
Wi-Fi Direct
Peer-to-peer without a router — no existing network needed
Bluetooth
Low-power, short-range sync for nearby devices

Interested?

Local device sync is under active development. Star the repo to stay updated.

View Design Plan → Star on GitHub →

The design plan tracks the latest architecture decisions, open questions, and scope for this feature.