Open resession opened 3 years ago
Yeah, SSB would be nice to have. The main thing that I'm unsure about is how the data loading should work.
With all the protocols inside Agregore so far URLs are used to fetch data from a global network, where if you have a given URL, you'll be able to download the data from somewhere.
With SSB you download data through a graph of connections. Either through pubs, rooms, or direct connections to your friends. I'm not sure how this would fit in with the rest of the web. Also, there are some standards for representing files on SSB which I'm not sure about the status of.
At the moment SSB is going through some new changes, so I wonder if it'll be easier to map this stuff to fetch URLs once they're there.
CC @cblgh in case you have comments or know folks that'd be interested in talking about this more.
there is a big push right now for making URIs/modules conform to the ssb-uri spec, so that will certainly help with making things fetchable! as for the concrete mechanism of how/where to get the data from, i'm not really sure. maybe agregore could try to integrate ssb-browser-core and see what comes of that?
there is an example app that shows how it could be used https://github.com/arj03/ssb-browser-demo
Traditionally in SSB you download a full replica of all your friends and foafs, and anything outside of that you just don't look at.
The nice thing is that since agregore is electron-based, it could be similar to running an sbot application, and you could keep a local replica running (patchwork is also electron-based)
@nichoth Yeah, the friends thing is the hard part IMO when it comes to translating to how Agregore works.
Like, is there a need for special SSB URIs that you can GET/POST to add and remove your friends? Is there a single identity per Agregore instance, or can you have multiple identities?
The SSB URI spec seems pretty good for loading data, but the fact that they're URIs instead of URLs also changes stuff. 😅
This seems like a lot of work so it'd probably need a decent amount of time to figure out and a need from folks to actually use it. If somebody wants to take a shot at it I'm down to help out, but I don't think I have the spare time to figure it out on my own at the moment.
Gonna be releasing the initial version of SSB support (GET for ssb://
URIs based on the spec, and pasting cypherlinks into the URLbar) in v1.0.0-48 🎉
I'll leave this open for discussing what POST
to SSB might seem like.
woah that will be huge!
didn't pay too much attention to Secure Scuttlebutt before. but i recently read more about it. maybe others here know more about it. from what i have seen, it is social-network centric and based around messages, i am picturing it as a way to store messages and get messages for p2p sites. basically a database. might also be easy to "fetchify". any thoughts?