Put all of the files into one folder, make sure they're all named properly:
- app.js
- logger.js
- react.js
- package.json
Or you can click on "Download ZIP".
You will need NodeJS and the node package manager that comes with it, it's pretty big for a tiny script like this but you might as well start somewhere. It's like installing python, I guess.
Run npm init
in the folder, and then npm install dank-twitch-irc
and then you can run the script with npm start
or node ./app.js
.
It'll create a settings.json
on its very first launch which you'll need to edit it
and then run the script again.
You can get the OAuth token from Chatterino's "login" page. https://chatterino.com/client_login