11
Lemmy's ActivityPub activities
(endlesstalk.org)
A collaborative space for people to work together on learning Rust, learning about the Lemmy code base, discussing whatever confusions or difficulties we're having in these endeavours, and solving problems, including, hopefully, some contributions back to the Lemmy code base.
Rules TL;DR: Be nice, constructive, and focus on learning and working together on understanding Rust and Lemmy.
See also:
Thumbnail and banner generated by ChatGPT.
You can also find this in the documentation.
Oh. I feel daft now. That's some nice, comprehensive documentation, that I hadn't seen before. I'll edit this post to point to it, and I guess people can maybe use it if they want to comment about a particular activity.
Its also good to explore for yourself. Maybe you notice something missing/outdated in the documentation and can fix it. The docs are generated from these files which are also used in the unit tests.
Yea but repetition legitimises! (A reference/joke BTW)
Seriously though @freamon@endlesstalk.org , how are you deriving all of these? From theoretical understanding of what should happen or actual observations of a test system?
Observation, mostly. Also guesswork and trial-and-error, because I never realised these were all in the docs.
The comments in here are from me running lemmy in a VM, and subscribing to a fake community on a VPS (you can mimic a community with a webfinger response and a bunch of static files). The activities sent by lemmy just went to a basic server, that dumped out the JSON files it received.
I mostly made this post so I could point to something when posting about a Ruby script that can be used to interact with lemmy from the command line. This provides the opportunity to learn about ActivityPub, separate from the more complicated applications that currently implement it.
Cool. So you’re writing a CLI of some sort for ActivityPub/lemmy interaction?
Hmmm. Nothing sophisticated, but I am replying to you right now from the command-line
Very nice!
How many terminal fediverse clients are there?