jcgay / maven-notifier

Desktop notifications for Maven 3.x.
Other
76 stars 12 forks source link

mosquitto support #86

Open delanym opened 3 years ago

delanym commented 3 years ago

My builds run on another server, so I want to use a mosquitto broker to relay the notifications, like so

mosquitto_pub -h 192.168.10.80 -t notifications -m "{\"title\": \"Custom notification\", \"text\": \"Hello world\"}"

And on my desktop I run https://github.com/David-Lor/MQTT2NotifySend/blob/master/mqtt2notifysend.sh

./mqtt2notifysend.sh -h 192.168.10.80 -t notifications

Can this be added?

jcgay commented 3 years ago

Thanks I was not aware of this project 😇. I think it could make sense indeed to send messages through MQTT protocol. Maybe using https://www.eclipse.org/paho/ instead of the mosquitto_pub CLI ?

delanym commented 3 years ago

Sure