Merge illustrations
Build apps that work offline and merge shared data when they reconnect with SafeMesh, from Rust, TypeScript/JavaScript via WASM, Python or C. Each language path has its own scope.
These illustrations explain independent edits and repeated delivery. For a running counter, return to the homepage; for failure modes, open the Lab.
1. Offline
Three copies. The crew adds two checklist entries.
2. Reconnect
The app delivers both entries to every device.
3. Same everywhere
All three lists match. Neither addition is lost.
Illustration of two additions to a shared set, not a running integration. Your app supplies delivery and storage. For the real Rust/WASM behavior, open SafeMesh Lab ↗.
Share counts. Don’t count them twice.
A counted 2. B counted 3. C counted 0. Each replica keeps the largest count seen for each source, then adds those counts: 2 + 3 + 0 = 5.
Shown after all counts arrive. Messages can travel again; merging the same counts does not add them again. Illustration of the data rule; your app supplies delivery and storage.