Felix
Follow

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.

forum.f-droid.org/t/fdroidpub-

@cwebber Do you mind leaving a comment on this? Would be highly appreciated!

@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 Yep, as someone with no Mastodon API or ActivityPub experience, I got a listener+replier up and running fairly quickly just by using a library that hooks into Mastodon.

@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?

@nutomic @fdroidorg

Pleroma works fine on a Raspberry Pi, so that’s pretty nice. It’s also easy to deploy, which makes it great for single user instances or in this case, single app instances?

Maybe @lain or @kaniini could help with more technical insight. The #Pleroma IRC channel is also a great place to ask questions :)

@nutomic I am firmly on the side of implementing #ActivityPub specifically for #FDroid. This would decrease overhead significantly, and would probably produce a more powerful tool for fdroid users and developers

@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 Votes/ Sorting by Votes could be implemented by counting retoots/likes of a "I use this <app name><applink>“ toot made by @fdroidorg 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.

@b3yond Yeah that was the general idea. We need some specific features though, so I think we are going tok make an issue on the Pleroma Gitlab to figure out how to implement them.

Sign in to participate in the conversation
soc.ialis.me mastodon

A generalistic Mastodon instance hosted in France, open to all and available since the 9 April 2017. Learn about the instance information and guidelines.