Open alexjustesen opened 4 months ago
When I was looking for ntfy integration I did found a third party one https://github.com/wijourdil/ntfy-notification-channel. Didn’t use it as I wasn’t sure if third party is the way you wanted it. As it makes it dependent of others to keep things working
I'm ok with 3rd party deps as long as the follow/hook right into the framework notification pattern and are actively maintained.
"Actively maintained" means updates within the last year.
This might be outside of my capabilties 😉 I will leave this up to the more skilled developers to do it right ;)
I'll take a whack at it at some point, I've been super busy with non-code stuff lately so it's been tough to find time to work on speedtest tracker.
Otherway might be to integrate Apprise https://github.com/caronc/apprise . As it hooks in to basically every service out there. No need to maintain it yourself.
Otherway might be to integrate Apprise https://github.com/caronc/apprise . As it hooks in to basically every service out there. No need to maintain it yourself.
+1 for Apprise
Otherway might be to integrate Apprise https://github.com/caronc/apprise . As it hooks in to basically every service out there. No need to maintain it yourself.
+1 for Apprise
Not sure Apprise will work after more investigations, there is no Php libary to use, and requiring the users to run a additional app for the notifications seems the wrong way to do it. Installing it within the container using pip and calling it with system() seems a bit weird to do as there are php frameworks for most services.
Doesn’t need to be a requirement but is a nice option if feasible.
I’m already running an Apprise container which basically functions as a notification proxy so I only ever have to configure email, Signal, telegram, whatever else just one time in one place.
There may be a way to do this with the webhook already, though it’s not clear how to use this or set POST body, etc. Will explore when I have time.
Originally posted by @svenvg93 in https://github.com/alexjustesen/speedtest-tracker/issues/1578#issuecomment-2243392812
Extracting our conversation to its own issue...
Yes, I want to go through and looks for optimization opportunities as well. We have a bunch of webhook based notifications that could probably be consolidated and where possible I want to do it "the framework way".
Laravel provides out of the box support for various notification channels and there are even more maintained 3rd party channels that could potentially make the code base simpler.