NOT WORKING ANYMORE, TWITCH STOPPED SENDING EMAILS IF YOU DON'T MANUALLY WATCH THE STREAMS WITH THE RESPECTIVE ACCOUNT. Need to make new bot with the new Twitch API.
Use this instead: https://github.com/ixevix/twitch_irc_notifier2
-
Set up a twitch account and an email account. Receive notifications in IRC when a streamer goes live. (set up imap for gmail for example: https://support.google.com/mail/troubleshooter/1668960?hl=en#ts=1665018,1665141,2769074) Google will block your access so you need to allow it by logging into the gmail account from a browser and adding an exception to allow all traffic.
-
Copy config_example.js to config.js and configure it for your imap and irc settings.
-
npm install irc
npm install mail-notifier
npm install jquery
npm install jsdom -
run with node ircbot.js (in screen e.g.)