Mastodon Plugin

Hey there,
it’s been a while since our bookstore released a plugin, but in the past week, we decided to give the Mastodon API a go - this endeavour resulted in two libraries / wrappers, granting access to the ‘toots’ (= ‘tweets’ in Twitter lingo) in your timeline and much more. Images are downloaded to the $page being called (unless disabled) and all links from your posts/statuses/‘toots’ are preserved - example snippet included.

Wikipedia says:

Mastodon is free and open-source software for running self-hosted social networking services. It has microblogging features similar to the Twitter service, which are offered by a large number of independently run Mastodon nodes (known as “instances”), each with its own code of conduct, terms of service, privacy options, and moderation policies

For us, using a decentralized approach to microblogging was intriguing, and when we got invited to join the (german) local non-profit freiburg.social’s Mastodon instance, we rolled with it.

Later, we wanted to post individual ‘toots’ as blog posts, also incorporating images (with the description provided on Mastodon), by providing its ID - but all available PHP solutions were a little outdated, so we began working on php-mastodon for OAuth handling and stuff - from there, developing a Kirby plugin wasn’t far.

If anything is unclear, eg its documentation is lacking, the README is a little rough around the edges etc please let us know. If you need help setting it up, we’re here to help. If you understand german (not germans, that’s a completely different issue :sweat_smile:) and have little kids, give our profile a look, where you’ll find reading tips and more, children’s and youth literature, you got it!

Have a good time and enjoy your weekend
S1SYPHOS