ssb functionality on fedi talk 

I have been listening to the @librelounge podcast and I have finished all their #activityPub episodes.

I have a few ideas, please correct me if any of these isn't possible:
c2s activityPub would allow for a client to do caching (i.e. you choose a timeframe or a storage capacity and on connection to the server it downloads the latest home, local and federated timeline and saves it for later use). It could even cache your toots, likes and comments while you are offline and then send them to the server when there is a connection, right?
So this would mean that this fedi client had the same capabilities as the scuttlebutt clients have, without a need to change the fedi server that the client connects to, right? Of course on ssb you don't need a server to connect your client to, but the offline capability would be similar.

Now to go even further, I understand that because AP specification on retries to send into your followers inbox it would not be possible to have a caching/offline capable AP server, right?
Imagine an island having a bad connection to www but many people on it, using the local server(s). If internet is offline for longer than an outside AP server retries to send toots then after the server reconnects it won't see those toots. There is nothing that this offline server could change in its code that would change this, right?

Anyways, I really like the idea of a caching/offline capable fedi client for mobile and I like the (seemingly impossible) idea of offline capable fedi servers :)

#fedi #fediverse #mastodon #pleroma #scuttlebutt
Follow

ssb functionality on fedi talk 

@pinkprius You may want to talk to @emacsen about this as he's been thinking something about this, if nothing else as a little experiment.

ssb functionality on fedi talk 

@librelounge @pinkprius A few thoughts here:

Firstly, addressing what you've talked about directly, there's nothing needed here that's new. ActivityPub's C2S protocol works just fine for this, though I think it could be optimized to some extent (and have some ideas on how do to this fairly easily).

I'm fairly sure there are clients that can do what you're asking for now, and if not, they'd be trivial to write.

As for an offline *server... [1/?]

ssb functionality on fedi talk 

@librelounge @pinkprius Re: offline servers....

The AP protocol pretty much assumes that servers are either always online, or that failures are short and temporary (much like email). What benefits would you envision from an offline server?

There are interesting parts about SSB that I would love to see in an ActivityPub implementation, such as encrypted messages and also messages that don't show a destination, but that's separate from offlineness. [2/2]

re: ssb functionality on fedi talk 

@emacsen @librelounge I was thinking about a boat or an island with a bad connection or maybe just a disaster that kills internet access.

re: ssb functionality on fedi talk 

@pinkprius @librelounge Many of the clients that work with ActivityPub right now are web based, but that's just an interface. The AP protocol itself is just a series of HTTP requests.

So if your client is offline, then it can just connect when it has the opportunity, download what it needs, and send what it needs to.

There are ActivityPub clients that are command line. The protocol is astoundingly simple.

re: ssb functionality on fedi talk 

@emacsen @librelounge Nice, so I understood correctly. I would love an app where I can like, boost and comment while I am in a train or whatever. Also when I can't access internet it would be nice to still be able to browse that last 500mb (amount from settings) of toots etc, boost and like it and when I have a connection it's sent on its way.

re: ssb functionality on fedi talk 

@pinkprius @librelounge In a few weeks, I'll release a *very very* simple AP server- totally unsuited for production but designed to show just how incredibly simple ActivityPub is.

I'm just working on docs and a few small edge cases now. We'll probably announce it on the show as we explore AP more as I write the *real* app in ReviewPub.

re: ssb functionality on fedi talk 

@emacsen @librelounge can you link to the code of that AP server already?

re: ssb functionality on fedi talk 

@pinkprius @librelounge I want to get the docs finished and finish some last bits of code to make the server AP compliant.

The other part I want to stress is that the server won't be usable for anything other than teaching. It doesn't have things like any authentication. It's a complete toy to show how simple it can be to implement.

re: ssb functionality on fedi talk 

@emacsen @librelounge ok I'll hear about it on the show then!
Sign in to participate in the conversation
FLOSS.social

For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).