Sonarr Discord webhook proxy server
2.1K
Essentially a webhook proxy server.
Takes in webhooks that originate from Sonarr and are intended for Discord. It catches "Grabbed" and "imported" notifications from Sonarr, uses some timers to add a delay in which it can catch and group together many notifications by show and season, then pass those groupings along to the intended Discord webhook URL. Sonarr should probably have this built in.... but until then I made this. I don't really expect anyone else to use this, this is my first (and last for a while) Go project and helps solve an annoyance.
Main benefits:

Instead of 9 separate Discord messages (one per episode), Hookbuffer groups them by season and sends them to Discord.
It's on Dockerhub: https://hub.docker.com/r/cbackas/hookbuffer
docker run --name hookbuffer -p 5369:5369 cback/hookbuffer:latest
Or you can build it and run it using commands
go build cmd/hookbuffer
./hookbuffer
Then in Sonarr, go to "Connections" and set up a Discord connection, get a webhook URL from your Discord client, paste that URL and replace https://discordapp.com/ with http://<host ip>:5369/ (retaining /api/webhooks/ and everything after it) (Example: https://i.imgur.com/RvZUMOk.png)
Currently has no support for passing through the username or avatar fields, as I have those configured directly on my webhooks in Discord.
Content type
Image
Digest
Size
302.5 MB
Last updated
almost 6 years ago
docker pull cbackas/hookbuffer