Hey # ActivityPub friends

submitted by

Hey #ActivityPub friends. Are there any new ActivityPub / Mastodon features I should add to #ActivityBot?

It's a small bot-only ActivityPub server in a single PHP file.

gitlab.com/edent/activity-bot/

It can be followed, post images, allow quote posts, etc.

Is there anything else you would like a bot-server to be able to do?

14
1

Log in to comment

14 Comments

@Edent Not a feature, but a bug report. The ActivityPub spec doesn't spell it out super clearly, but I'm pretty sure that an Actor's Outbox should be a collection of Activities, not Objects like the single-file server uses.

So the outbox should have "type" => "Create", and the Object will specify the type it is

@samedwards Interesting. Could you point out where it says that?
(Not saying you're wrong; saying I sometimes have difficulty finding the right spec!)

@Edent w3.org/TR/activitypub/#outbox

> The outbox stream contains activities the user has published

And then an example of a Create activity on a Note w3.org/TR/activitystreams-voca

@Edent

https://example.viii.fi/posts/69aeb347-03d0-dc44-83c8-9c7c488ff6e0.json

It is served by an instance of your bot? The value of inReplyTo in this document is an empty string, which is not a valid URI.

@silverpill good spot!
I assume if it isn't a reply, the field should be excluded?

Or should it be null?

@Edent Here are some that I think could be worthwhile:

FEP-c0e0 Emoji reactions (fediverse.codeberg.page/fep/fe), I think all you'd need is to accept and maybe store them
FEP-8967 Embedded link previews (fediverse.codeberg.page/fep/fe), would like to see adoption/progress on this
FEP-11dd: Context Ownership (fediverse.codeberg.page/fep/fe), part of a push for threads that survive reply chain gaps etc.

Also fediverse.codeberg.page/fep/fe & fediverse.codeberg.page/fep/fe for infrastructure improvements.

See anything you like?

To build on @julian@fietkau.socialโ€™s bit about threadiverseโ€ฆ

If your blog were exposed as a Group actor and Announceโ€™d posts by the author (a regular Person actor), then your blog could show up on NodeBB as a category, and on the threadiverse as a separate community.

@edent@mastodon.social

@julian@activitypub.space Just to note, @Edent's blog doesn't run on ActivityBot, it uses the WordPress plugin, so implementation details there are (presumably) not up for discussion here. But ActivityBot improvements would percolate to @colours, @openbenches etc.

@julian@fietkau.social ah ๐Ÿ˜… then it should support 1b12 depending on configuration! ๐Ÿ™‚

Insert image