Jxck-S / plane-notify

Notify if a selected plane has taken off or landed using ADS-B data. Compares older data to newer data to determine if a landing or takeoff has occurred. As well as nav modes, emergency squawk and resolution advisory notifications. Can output to Twitter, Discord, Mastodon, and Telegram
GNU General Public License v3.0
2.5k stars 432 forks source link

Feature request: Mastodon API #88

Closed eichkat3r closed 1 year ago

eichkat3r commented 1 year ago

The fediverse is gaining a lot of attention lately, with microblogging services like Mastodon and Pleroma being recognized as potential Twitter alternatives. Hence, it would be cool to connect plane-notify to the fedi as well.

For the sake of simplicity, I'd suggest to use Mastodon.py (https://mastodonpy.readthedocs.io/en/stable/), as it is very simple to set up.

What needs to be done to accomplish this:

hycday commented 1 year ago

even more relevant, considering that @Elonjet is now suspended on Twitter :P

shamoons commented 1 year ago

What about making it ActivityPub instead? So it'll work across the entire #fediverse

eichkat3r commented 1 year ago

What about making it ActivityPub instead? So it'll work across the entire #fediverse

I proposed the Mastodon frontend for a pragmatic reason, as using Mastodon.py to create a toot is essentially 4 lines of code. Also, Mastodon has decent interoperability with other platforms on the fediverse, such as friendica, pleroma or misskey. But I agree, going for ActivityPub directly would be a better choice with respect to generalization to a broader set of platforms on the fediverse. However, creating a generic ActivityPub service implies more effort to develop and test. My suggestion would be to open a separate issue.

Jxck-S commented 1 year ago

I'll accept #90 soon and will review it. I actually had not coded this already so thanks! I was manually posting there. Can someone message me in my Discord and explain how ActivityPub/Fediverse would work? New to the decentralized platforms

Jxck-S commented 1 year ago

Mastodon was implemented a while ago.