tinyplex / tinybase

The reactive data store for local‑first apps.
https://tinybase.org
MIT License
3.48k stars 67 forks source link

webrtc synchronizer #158

Open fenicento opened 1 month ago

fenicento commented 1 month ago

Is your feature request related to a problem? Please describe. Currently to synchronize remote clients the only way is through websockets. This requires a WS server, which can be non trivial to maintain

Describe the solution you'd like It would be great to have a synchronizer working with webRTC in order to enable peer to peer data update. A signaling server is still required, but it's lighter and data would be exchanged directly between clients

Describe alternatives you've considered y-webrtc works just fine, it would be great to ingreate it in the project.

jamesgpearce commented 1 month ago

ok! this sounds fun...