shoutrrr icon indicating copy to clipboard operation
shoutrrr copied to clipboard

Support Discourse Chat

Open alexharrington opened this issue 1 year ago • 0 comments

Discourse (https://discourse.org) now has Chat as a standard part of their platform and supports simple JSON webhooks to post message.

It would be really helpful to add support for sending a simple message to one of their endpoints:

curl -X POST https://discourse.example.org/chat/hooks/123456789abcdefghijklmno.json -H 'Content-Type: application/json' -d '{
    "text": "My message"
}'

I can do this with the Generic Webhook service in the interim.

If it helps someone else, here's the string needed for watchtower with shoutrrr

WATCHTOWER_NOTIFICATION_URL=generic://discourse.example.org/chat/hooks/123456789abcdefghijklmno.json?template=json&messagekey=text

alexharrington avatar Jan 28 '23 22:01 alexharrington