joy2fun / frelay

Frelay is a webhook relay tool that allows you to define webhook endpoints and then forward the requests received by those endpoints to other URL targets.
1 stars 0 forks source link

Use cases #1

Open joy2fun opened 1 month ago

joy2fun commented 1 month ago

Relay webhook notifications from uptime-kuma to bark on iOS / gotify. https://github.com/louislam/uptime-kuma/issues/2413

joy2fun commented 1 month ago

Filtering out kubewatch messages using rule:

req.input('eventmeta.kind') == "Pod" &&
req.input('eventmeta.reason') == "Created"

And redefine the payload before forwarding :

{
  "title": "Deploy Updated",
  "message": "{{ req.input('text') }}",
  "priority": 3
}