agregore-browser icon indicating copy to clipboard operation
agregore-browser copied to clipboard

Secure Scuttlebutt(SSB) discussion

Open resession opened this issue 2 years ago • 6 comments

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?

resession avatar Sep 06 '21 07:09 resession

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.

RangerMauve avatar Sep 06 '21 17:09 RangerMauve

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

cblgh avatar Sep 07 '21 07:09 cblgh

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 avatar Sep 07 '21 08:09 nichoth

@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.

RangerMauve avatar Sep 14 '21 19:09 RangerMauve

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.

RangerMauve avatar Jan 06 '22 19:01 RangerMauve

woah that will be huge!

cblgh avatar Jan 06 '22 19:01 cblgh