I wish there was an established way to build local first software with a robust syncing in the background, either P2P or to a server.

I feel projects like this for local first and projects like Iroh for connectivity over NAT and through firewalls need to come together more.

It would be could to have a drop in framework for this.

Have you looked at https://duckdb.org/quack/ ?

Loro along with their protocol crate works great. Automerge has something similar.

[dead]