mmozeiko / TwitchNotify

Simple utility to notify when Twitch users go live for Windows 10 and up
The Unlicense
73 stars 13 forks source link

Notification on chat #12

Open stianhoiland opened 2 months ago

stianhoiland commented 2 months ago

This looks like an application after my own heart! Great job.

It seems like you have a lot of infrastructure in place already, so I thought to ask you if you could extend the application to also give a notification upon new chat messages for user(s)? It's functionality that I've always wanted, but no one seems to have made it (except Chatty, which is a full featured chat/stream management app).

mmozeiko commented 2 months ago

That is very much doable as twitch exposes chat over websocket or irc endpoints, and it is documented here: https://dev.twitch.tv/docs/chat/irc/

But I don't see how implementing that in application like TwitchNotify can be done in a sane way. You would not want to receive each chat message as notification - that would be too crazy to manage. So it would mean creating separate gui to view messages? I'm not sure I want to change TwitchNotify too much for this.

You can easily run any IRC client & connect to all the streamers you want, and get all the messages that way or even send messages back in a chat. All that without even opening browser.

stianhoiland commented 2 months ago

Good info.

My use case is as follows:

I use OBS to stream on Twitch and have the chat docked to the side in OBS. To check chat I just quickly Alt-Tab to OBS and back to whatever I was doing. But problem is that I'd much rather be notified when there is a message for me to read. I have low chat traffic, so it's a catch-22: Either check often and do so in vain many times, or check seldom and miss the little traffic that does occur. A little notification would be perfect. A GUI is not what I need--I'd use Chatty or something like it if that was so.

Although I don't personally face any craziness to manage, a single, simple checkbox in the tray icon to enable/disable chat notifications[1] would be enough to deal with a spike in chat traffic leading to notification spam.

"On/off, and check elsewhere."

[1] A small extension of this idea could be an additional timed option to disable chat notifications for 5/10/15 minutes to deal with overwhelming spikes.