earthstar-project / earthstar

Storage for private, distributed, offline-first applications.
https://earthstar-project.org
GNU Lesser General Public License v3.0
623 stars 18 forks source link

Port Discovery API + DiscoveryLan #337

Open sgwilym opened 1 month ago

sgwilym commented 1 month ago

What's the problem you want solved?

Earthstar v11 does not have the Discovery API or the DiscoveryLan driver. So there is no discovery or syncing over LAN.

Is there a solution you'd like to recommend?

Port the existing APIs to the new codebase. One thing which will need to be decided (and specified) is the scheme used to encrypt the messages sent over TLS. Another will be the subtypes broadcast over MDNS.