This might be interesting to look at: nest over xmpp. Sorry, it’s in french, but a pijul backend for this xmpp-backed nest-like could be cool. It’s also probably worthwhile checking if the nest can be federated with that system.
As a side remark, I was recently investigated the ActivityPub federation protocol, to see if it can be used by the nest.
or using ipfs as storage.