Earthstar v10: Attachments, Read-only shares, and Efficient Sync
[https://earthstar-project.org/]
Earthstar is a small and resilient distributed storage protocol designed with a strong focus on simplicity and versatility, with the social realities of peer-to-peer computing kept in mind. Storage for private, distributed, offline-first applications.
Changelog:
[github.com/earthst…/v10.0.0]
This is a major release which introduces attachments, share keypairs, efficient sync, and much much more. It is the biggest release of Earthstar ever.
As such, this version breaks compatibility with previous versions of Earthstar.
Here are the headline features:
- Attachments. When a new document is written to a Replica you can attach arbitary binary data to it. This can be used for sharing large images, music, video, anything. There is no size limit.
- Shares with granular read / write access. Share addresses are now the public key of a share keypair. The public key grants discovery and read access, the secret key grants write access to the replica.
- Efficient sync. Syncing has been completely overhauled to use a new efficient reconclition mechanism powered by range-reconcile and push-pull-push-multicast trees.
The server APIs have also been moved into this repo.
In addition to new features, many APIs have been tweaked or changed entirely. Please see the API documentation and the README to see what these new API changes are like.
#EarthStar
Sync stuff you care about with people you know. Earthstar is a specification and Javascript library for building online tools you can truly call your own.