Is there a way to get desktop notifications from a webhook without building a whole app?

11
I have a webhook firing on certain events and I just want a desktop notification when it does. I would rather not write and maintain a full app for that. Options?
TTara Lima3mo ago807 views

4 answers

9
Best answer
You do not need a full app. The lightweight routes: a service like ntfy.sh or Pushover takes a webhook POST and pops a desktop or phone notification for you, no code beyond pointing your webhook at their URL. If you want it fully local, a tiny script that listens for the webhook and calls your OS notifier works, but ntfy is the no-code answer most people reach for.
CCole Cruz3mo ago
19
You do not need a full app. A service like ntfy.sh or Pushover takes a webhook POST and pops a desktop or phone notification for you, no code beyond pointing your webhook at their URL. If you want it fully local, a tiny script listening for the webhook and calling your OS notifier works, but ntfy is the no-code answer most reach for.
17
You do not need a full app. A service like ntfy.sh or Pushover takes a webhook POST and pops a desktop or phone notification for you, no code beyond pointing your webhook at their URL. If you want it fully local, a tiny script listening for the webhook and calling your OS notifier works, but ntfy is the no-code answer most reach for.
EElla Torres2mo ago
3
A tiny listener works: a few lines that receive the webhook and call notify-send on Linux or osascript on Mac. If you would rather not code it, send the webhook into a chat channel you keep open and let that be the notification.
MMaria Solis1mo ago