squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.52k stars 54 forks source link

Feature Request: Allow rich notification platform (slack, smtp, keyword filtering, regex, etc) #594

Open zdzielinski opened 1 week ago

zdzielinski commented 1 week ago

Allowing a more rich notification system could prove useful, IRC can tend to be long running; so receiving notifications while away for certain keywords could prove useful. Perhaps with snippets of the previous messages given as well (configurable, etc).

Not sure how this would look, this one is a bit open ended, but there are certainly library frameworks to take the lift of delivering these notifications off the halloy framework itself. A pythonic one would be apprise - https://github.com/caronc/apprise. Though I am unsure if one for rust exists or not. Worth looking into.

casperstorm commented 1 week ago

We already got a system for notifications, see: https://halloy.squidowl.org/configuration/notifications.html. If i understand your request correctly, you would like to extend this, so you could have a notification fired when someone mention "cup noodles"?

zdzielinski commented 1 week ago

I think mainly my overall idea was to allow the possibility for slack notifications, telegram, smtp, etc. But going along that, possibly extend it to a more rich filtering system for keywords, or regex matching, etc. Just an idea! I tend to leave IRC running a lot, and wish I could receive a slack ping if I'm DMd or some such.