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:
mastodon.social/@navidrome_releases mastodon.social/@vaultwarden_releases mastodon.social/@dockerpihole_releases mastodon.social/@tempo_releases mastodon.social/@unifidocker_releases
Here’s the code, if someone is interested in that:
codeberg.org/ryan_harg/github-releases-bot
Is this something that people find useful? Which other services would you like to see covered in that way?
gla3dr@lemmy.ca 9 months ago
Why not just subscribe to the release notifications or use the releases atom feed?
ryan_harg@discuss.tchncs.de 9 months ago
The bot consumes the atom feed of a repository, but I don’t use a feed reader. you could also just let Github notify you for new releases. But don’t pay much attention to github notifications either. I’m a lot more likely to notice something like that if it’s integrated into my social media consumption.
gla3dr@lemmy.ca 9 months ago
That makes sense. Pretty cool, nice work!
eskuero@lemmy.fromshado.ws 9 months ago
I just do this. Get email notifications for new tagged releases, check changelog, everything fine?
And we are done
Link@rentadrunk.org 9 months ago
You don’t need to run docker-compose down.
docker-compose pull; docker-compose up -d is enough
dan@upvote.au 8 months ago
FYI,
docker-compse
is the legacy version that was deprecated a few years ago and no longer receives updates.docker compose
(with a space instead of a hyphen) is what you should be using these days.bjmllr@lemm.ee 9 months ago
Off the top of my head, boosting, voting, and discussion.
gla3dr@lemmy.ca 9 months ago
Yeah, good point!