If you are part of a #Mastodon server admin team here's a thing I hacked together yesterday: mastomsg https://codeberg.org/tante/mastomsg/
mastomsg allows you to send a DM either to a list of people or to all accounts younger than a certain timedelta (think: everyone who joined in the last 3 weeks). It's intended use is for example to send welcome DMs to people who just joined your server.
Nothing big but maybe it helps a few people. You can also install it via pip
`pipx install mastomsg`
(It's nothing fancy, just somewhat of a hack, I just needed to do something outside from writing grant applications)
Intentionally it only allows sending mails to _local users_ and using it _requires an admin account_. It's not a tool for end users to make sending spam easier.
@tante Kudos für nicht toot schreiben :)
@leitmedium niemals in meinem Leben. Das ist wie einen Jogginganzug besitzen: Dann haste die Kontrolle über dein Leben verloren.
@tante nice, thx. Adding hashtag #mastoadmin here
@tante Python? Isn't Mastodon written in RoR?
@LupinoArts Yes. It's its own standalone tool that uses the Mastodon API.
@tante is the admin check due to admin-only API or could someone comment out the if and use it for spam anyways?
@saxnot It uses APIs that are only accessible to Admins. Someone could probably build something very similar for non-admins but I didn't want to do that.
@tante sounds really good :-)
@tante Sorry, typo all over: https://dict.leo.org/german-english/messenger
(worse than writing "toots"
@tante sure, it cannot be used for fraud and other suspicious things? Not every fediverse host/admin must be an angel
@tante Kann man es z.B. auch nutzen um alle User zu erreichen, die X Tage lang nicht aktiv waren?
@Sascha Wäre ein Feature, das man glaube ich einfach bauen könnte. Lass mich kurz auf die API schauen
@tante Überlege noch ob es Sinn macht alte Accounts so noch mal zu reaktivieren (Hey, ich bin noch da!) oder einen Countdown anzukündigen, ab dem alte Accounts ggfs. entfernt werden. Aber noch ist es nur laut Nachdenken. Müsste man wohl mit AGB abdecken und früh genug ankündigen.
@Sascha Finde das einen legitimen case. Gerade, wenn man ne eher kleine Instanz mit wenig Ressourcen ist.
@tante Cool, danke! Kommt auf die Testliste!
@Sascha die aktuelle version 0.2.1 hat das feature jetzt.
@tante Sehr cool, danke! :)
@Sascha Im git ist das, release habe ich jetzt noch nicht gemacht.