[Feature Request] Support Gotify
See original GitHub issueDescription
Notification settings include most systems, except the self-hosted ones. Please add support for Gotify (https://gotify.net/docs/more-pushmsg for examples with code).
Desired Behavior
A Gotify section at the URL /settings/notifications/webhook
Additional Context
Gotify supports Markdown, so it is capable of displaying images.
Currently, I have to use the webhook in order to use Gotify ~,but the webhook does not allow to use Markdown.~
If it helps, this is my current JSON payload:
{
"title": "{{subject}}",
"message": "notification_type: {{notification_type}}\n\nmessage: {{message}}\n\nimage: ![]({{image}})\n\n\nemail: {{notifyuser_email}}\n\nusername: {{notifyuser_username}}\n\navatar: {{notifyuser_avatar}}{{media}}:\n\n- media_type: {{media_type}}\n\n- tmdbId: {{media_tmdbid}}\n\n- imdbId: {{media_imdbid}}\n\n- tvdbId: {{media_tvdbid}}\n\n- status: {{media_status}}\n\n- status4k: {{media_status4k}}\n\n\n\n{{request}}:\n\n- request_id: {{request_id}}\n\n- requestedBy_email: {{requestedBy_email}}\n\n- requestedBy_username: {{requestedBy_username}}\n\n- requestedBy_avatar: ![]({{requestedBy_avatar}})",
"priority": 1,
"extras": {
"client::display": {
"contentType": "text/markdown"
}
}
}
It is hacky, not user-friendly at all, ugly, but it works. The webhook URL is http://gotify/message?token=XXXXXXX
.
Edit: better JSON webhook
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Feature Request: Send notifications via Gotify for admins ...
Is your feature request related to a problem? Not a problem. · Describe the solution you'd like · Describe alternatives you've considered
Read more >#878 - [Feature request] Integrate with Gotify or use webhook ...
[Feature request] Integrate with Gotify or use webhook for notifications #878 ... in browsers which don't have support for scheduled notifications (yet).
Read more >Gotify · a simple server for sending and receiving messages
gotify /server features a WebUI and functionality for: sending messages via a REST-API; subscribing/receiving messages via a web socket connection; managing ...
Read more >Gotify Server - AWS Marketplace
A simple server for sending and receiving messages in real-time per WebSocket. It Includes a sleek web-UI. This is a pre-configured server ready...
Read more >Push Yourself - » Linux Magazine
The service receives and processes push notification requests received ... Gotify is based on the server/client model, and there are three pieces of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I will switch to the
develop
tag. I should have tried it before making an issue x) Thanks for the quick replies 😃And as promised for ntfy, here’s a json payload you can use. Remember to change the
https://requests.example.com
to your url. And the topic too according to whichtopic
andpriority
to whichever you want. With this config you can press the notification and it will direct you to the media page (as you can see with theclick
json key).with this I’m closing this issue as Gotify is already available and ntfy pre-config is provided here.