For #ActivityPub implementors, here's a nice set of cheat sheets on different object types available to you via ActivityStreams and ActivityVocabulary. Mostly good as a reminder of the breadth of what is specified when you're thinking through high level federation design

https://reb00ted.org/tech/20230124-activitystreams-model/

reb00ted | Activity Streams graphical model

reb00ted
@darius ohhhh that explains why collections are so fucking annoying to model, i only just now see the double inheritance 💀
@darius that is a big headache. I need to go back to implement it on the shitty social network i made and im still working on it :/
@gabboman maybe of interest to you is this thing I wrote a long time ago https://tinysubversions.com/notes/reading-activitypub/
reading-activitypub

@darius what is killing me right now is sending posts because signing

signing is hell

@gabboman you are correct. At least on the Mastodon side, v4.1.0 is going to have much better error messages that include things like the exact string it expected you to sign. it's going to make debugging mastodon signing a lot easier

https://github.com/mastodon/mastodon/pull/21617

Add more specific error messages to HTTP signature verification by ClearlyClaire · Pull Request #21617 · mastodon/mastodon

specific error when passed an invalid Date header specific error when the actor is missing preferredUsername change errors to be reported as JSON payloads include the expected signed string and the...

GitHub

@darius OH GOD THANK GOD.

Also I was having issues with calckey and misskey, butt figured out how to sign the GET requests haha

@activitypub: great resource shared by
@darius above: https://reb00ted.org/tech/20230124-activitystreams-model/

Visual guide to ActivityPub types

reb00ted | Activity Streams graphical model

reb00ted

@darius speaking of the breadth of types, I've been meaning to ask you: does Hometown's broader support for object types include Image/Video?

I can't get an answer from Mastodon on whether they'd accept a PR to support them as inline media instead of just url text

https://github.com/mastodon/mastodon/issues/19357

@activitypub

Federated Create->Image activities do not render the image inline · Issue #19357 · mastodon/mastodon

Steps to reproduce the problem I would like to see the image content of an Image ActivityPub object render in my Mastodon timeline. I see in the Mastodon documentation that Image type payloads are ...

GitHub
@datatitian @activitypub I would happily accept a PR to hometown on this, it's 100% aligned with what I'm trying to do

@datatitian @darius @activitypub

Not sure if anyone looked into what redaktor did.
We have all types in https://github.com/redaktor/widgets-preview
Place with maps, nice Events etc. Currently fulltime work and cofounded soon.
An overview: https://digitalcourage.social/@sl007/109743699298466034
If you need something just let me know.

GitHub - redaktor/widgets-preview

Contribute to redaktor/widgets-preview development by creating an account on GitHub.

GitHub

@datatitian @darius
PS

What I am still looking for is people coding together for ActivityPub.
Am I missing something?
I mean, in journalism anything is teamwork, we were first reporters in
NWFP Gun factories, it needed a good team (also our team ;).
https://digitalcourage.social/@sl007/109786092147604750

How about doing some infrastructure?
Since christmas holidays I did an Atlas in ActivityPub with 400.000 well known places.
It maps all the Open Data (multilanguage) plus wikidata, OSM and geonames ids.
Q2, the planet Earth is a huge `Collection` …
It was partly completed by humans with help of a console tool (stupid me).
Anyway, tons of knowledge, articles (e.g. wikivoyage) and commons.

In general, here it drove a rather crazy way.
Never studied “coding” but the opposite, pressing a button.
I hated different languages, wanted just a photo.
Then we started with a generic server. My problem is that I tried my best to learn
at least 1 language sufficiently which is TypeScript / Javascript.

1/2

Sebastian Lasse (@[email protected])

Attached: 4 images [DE] Danke an die #Tagesthemen für die #Pakistan Meinung von Oliver Mayer und die Vertiefung der Situation … (nicht @[email protected] aber der HR Oliver Mayer ist noch nicht hier) Poste unsere Pakistan Geschichten aus dem Archiv (Texte von Carsten Stormer). Morgen mehr… --- Wilkommen in Gun City. In einem pakistanischen Dorf werden Waffen aller Art kopiert. Darra Adam Khel liegt in der Grenzregion zu Afghanistan - der sogenannten Tribal Area der Paschtunen in der NWFP Region (2007). [EN] Posting some archive stories from Pakistan … Welcome to Gun City. Weapons of all kinds are copied in a Pakistani village. Darra Adam Khel is located in the border region to Afghanistan - the so-called Tribal Area of the Pashtuns in the NWFP region (2007).

digitalcourage.social

@datatitian @darius

I learned to hate node.js and am switching to deno.
So, also the posted widgets are now rather a prototype regarding the UI cause I want to
avoid if possible client side JS and a vdom.

Anyway, also Chris Moser and others are doing stuff towards a generic server and infrastructure for everyone, see e.g. https://github.com/yuforium/

My belief is really we should
• think about a generic reference implementation for a server and things which could extend it.
• have a Social CG meeting about enhancing C2S (Andreas Kuckartz is currently caring)
• and I'd like to talk about (Evan initial) idea ActivityHandler, see
https://gist.github.com/sebilasse/17e52461d500f4c97f2d34edeb12c2ad

2/2

yuforium

A social platform based on ActivityPub - let's make forums and social networks operate like public Internet exchange points! - yuforium

GitHub
@sl007 @datatitian @darius C2S should define a sync mechanism, so that there could be offline-first clients.
[email protected] from January 2023: by date

@sl007
wasn't aware of this mailing list - just join. Thanks for the tip!
@blinry have you seen this?
@flauschzelle No, seems super helpful, thank you! <3