this post was submitted on 21 Jun 2023
15 points (100.0% liked)

Programming

13212 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Hey does anybody know if there's a description of ActivityPub available that isn't just the spec? I realized I don't actually know how the protocol works, and I'd be interested in learning more. May have to just bite the bullet and dive into the spec – it doesn't actually look too bad based on a quick glance – but a summary would be cool

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 2 years ago (1 children)
[–] [email protected] 3 points 2 years ago (2 children)

Fuck me what a rabbit hole: ActivityPub is built on ActivityStreams which use Action Vocabulary and this is all structured with JSON-LD.

[–] [email protected] 5 points 2 years ago

Its easier to grok if you watch lemmy server logs

[–] [email protected] 1 points 2 years ago

It's even worse than that. :) I've read the 4 standards (which, to be fair, are very pleasant to read, we're lightyears away from xhtml docs), and I still don't understand how the search feature works in Lemmy and Mastodon. Because the standards are very minimalists : they describe what messages look like (the various activities a user can do), ActivityPub itself describe the http structure of the inbox and outbox (the requests to do to use them), and… that's about it. There is nothing about discovery, so I suppose now applications implement it as they see fit, which means on top of understanding the standards, you need to understand actual implementations (that's what I'm going to read next, at least).

[–] [email protected] 5 points 2 years ago (1 children)

The overview in the spec is probably as good of a summary as anyone could give you.

[–] [email protected] 1 points 2 years ago

Another commenter had this to share, it's got a bunch of guides etc.

[–] [email protected] 1 points 2 years ago (1 children)

I'm curious myself. Has anyone done a YouTube explainer?

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (1 children)

I think this link from the comments here had some video guides

Edit: in Spanish 😅

[–] [email protected] 1 points 2 years ago

Time to learn Spanish for the video. Much easier than reading the spec. /s