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?

  • rambos@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Copying your file to data/plugins worked! Now just have to wait for next feed to test it out. Thank you again <3

    Still don’t know how to use command tho :D Sorry, I’m noob. Was trying to enter that command in terminal, but I get:

    make: *** No rule to make target 'build'.  Stop.
    
      • rambos@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Thank you! I use Debian 11, installed make, build-essential and golang, and still receiving the same message (feels like I should learn how to use these packages first).

        Using your file was working, but unfortunately gotify container just stops after some time. I was reading the docs and I must admit I don’t understand a tiny bit :D. Spinning gotify server in docker container was super easy tho. I’d like to get this working, but feels bad for taking your time mate, and I even stole the thread (Sorry OP) lol.