I’m selfhosting several services, mostly based on docker containers. Many of these are managed on Github and publish releases there. What annoys me is that I regularly miss updates.
I’m also quite active on Mastodon so I thought it would be handy to have a bot automatically scanning for new github releases and posting a new toot for every new release.
The bot can be configured to scan multiple different github repositories and publish to different mastodon accounts.
I have set up accounts for:
https://mastodon.social/@navidrome_releases
https://mastodon.social/@vaultwarden_releases
https://mastodon.social/@dockerpihole_releases
https://mastodon.social/@tempo_releases
https://mastodon.social/@unifidocker_releases
You can use the notification feature of Mastodon to get a notification, whenever a new post is published. Just follow an account and hit the little bell icon on its profile page.
Here’s the code, if someone is interested in that:
https://codeberg.org/ryan_harg/github-releases-bot
Is this something that you people find useful? Which other services would you like to see covered in that way?
Is there any way to get those notifictions over selfhosted gotify?
You can get the rss of new releases with rss, and use rss plugin for Gotify
https://github.com/solarkennedy/gotify-rss
https://piraces.dev/short-bits/github-releases-feed-atom/
Thank you a lot, Ill try it out
May I ask for some help please. I dont know how to use this command:
$ make GOTIFY_VERSION="v2.0.5" FILE_SUFFIX="for-gotify-v2.0.5" build
Where should I type that? How can I build that plugin?
Use the gotify version according to the one installed on your system.
EX:
make GOTIFY_VERSION="v2.4.0" FILE_SUFFIX="for-gotify-v2.4.0" build
for the latest release
the on
build/
you should have some.so
files, copy the one for your machine arch to gotify plugins dirdata/plugins
where a build for gotify v2.4.0 https://nowtransfer.de/3460c8e86670
copy only the one needed