@Edent But then I'd have to create a gitlab account and, worse, write PHP.
Posts
-
Because #BotsInSpace is shutting down () I'm looking for a new home for my bots. -
Because #BotsInSpace is shutting down () I'm looking for a new home for my bots.@Edent Some bizarre code in there.
in_array( $inbox_message["actor"], $followers_ids ) ? $from_follower = true: $from_follower = false;
Removing the duplicated code, this is just
$from_follower = in_array( $inbox_message["actor"], $followers_ids ) ? true : false;
And
... ? true : false
is redundant, leaving:$from_follower = in_array( $inbox_message["actor"], $followers_ids );
-
Is there a good introduction to the ActiviityPub protocol, particularly the stuff used by Mastodon? Like, if I wanted to write my own Mastodon-like software from scratch, what should I read to get started?#ActivityPub #FediverseIs there a good introduction to the ActiviityPub protocol, particularly the stuff used by Mastodon? Like, if I wanted to write my own Mastodon-like software from scratch, what should I read to get started?