Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Discourse Chat #318

Open
alexharrington opened this issue Jan 28, 2023 · 0 comments
Open

Support Discourse Chat #318

alexharrington opened this issue Jan 28, 2023 · 0 comments

Comments

@alexharrington
Copy link

alexharrington commented Jan 28, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant