paschmann / changd

Changd is a open source web monitoring application for monitoring visual site changes using screenshots, XPath's or API's.
MIT License
155 stars 14 forks source link

Add notifications via webhooks #6

Open DeuceCode opened 2 years ago

DeuceCode commented 2 years ago

Utilising a library such as https://github.com/caronc/apprise would allow many more options in terms of getting notifications. I've been using Discord recently after getting a little frustrated with Gotify.

Great work so far though 👍. I adapted your compose file to use an internal docker network and only expose the frontend through traefik proxy, no issues getting it running.

paschmann commented 2 years ago

Thanks for the feedback - Agree on having better notifications, Apprise is on the backlog to add in the next version.

paschmann commented 2 years ago

@DeuceCode - I spent some time looking into Apprise, it is awesome but written in Python, do you know any similar libraries written in Type/JS?

PovilasID commented 2 years ago

You can start with just URL target and then field for user to enter JSON with a few variables and then move integrating services leaving that as "Custom..." option If you are looking for how to integrate with services check out https://github.com/louislam/uptime-kuma they are JS/TS based and have Discord/Slack/Telegram/STMP which are the most important (BTW I think most people care about discord and telegram most I prefer telegram because you can set custom sounds for channels) uptime kuma apprise integration but I think they are handling call themself directly too.

CR0CKER commented 2 years ago

@paschmann any news on this feature? I'm testing Changd and changedetection.io right now and the lack of notification options is a bit of downer. Anything like Apprise or Zapier would be gold.

paschmann commented 2 years ago

Hi @CR0CKER - I spent sometime writing a notification library for Node.js called Reach (https://github.com/paschmann/reach-sdk). Its basically a clone of Apprise, I just need to integrate it.