We are currently having a discussion on the F-Droid forum about letting apps toot to the Fediverse. This would be used to share app changelogs, and eventually display comments from the Fediverse inside the F-Droid app. Unfortunately, none of us has experience with Mastodon/Pleroma development, so it would be very helpful if a developer could give some input.
The thread is rather long, so feel free to make a comment here or on the forum and we will give you specific questions we have.
@fdroidorg Sure... isn't too hard, just choose an ActivityPub compatible server and start posting using that server's client-to-server API. (ActivityPub has its own C2S API, but Mastodon has its own API so if you're using Mastodon you'll have to use that.) Address it publicly and the post should federate over the ActivityPub network to your subscribers.
@cwebber @fdroidorg The main question is which server we should use. Right now we are thinking either Mastodon or Pleroma, but none of us has experience with them. So we don't know what would work best for our use case. Pleroma has lower resource usage, but we don't know how much lower. And maybe Pleroma is missing some features compared to Mastodon?
@ster We discussed that in the forum thread, but implementing ActivityPub from scratch would be a ton of effort, and we don't have the manpower for it. Some things that we get for free with Mastodon/Pleroma, and we'd have to implement from scratch in that case:
- moderation tools
- web interface
- option for app developers to post from app account
@nutomic I'd just host a pleroma (lightweight) docker instance and post to it with mastodon.py, a very useful python library. Maybe it's only worth to host this for the 1-2 big repos, but you could build it in a way that smaller repos can use a custom pleroma/masto instance.