Keep watching your favorite streamers 24/7!
- 💜 Watch your favorite streamers 24/7.
- 👤 Stay logged while watching.
- 💰 Earn points on Stream Elements stores of your streamers.
First of all, make sure that you have installed Node.js and YARN, so you can go ahead with the following steps:
-
Clone the project:
git clone https://github.com/gabrielhs1357/twitch-viewer-bot.git
-
Install the dependencies:
yarn
-
Create a copy of
.env.sample
file and rename it to.env
. -
Set up your
.env
file. Here's a brief explanation of each variable and an example:
-
AUTH_TOKEN: this will allow you to open Twitch and already be signed in. You can find your auth token on the cookies of your browser. Go to
http://twitch.tv
, sign in using your Twitch account and find your auth token at yourbrowser developer tools -> cookies -> auth-token
. -
CHANNELS: put all the channels that you want the bot to be watching separated by commas.
-
HEADLESS: Puppeteer launches Chromium in headless mode (true) by default, but you can set this behavior using this variable. Remember this is an optional variable and the default value is true.
AUTH_TOKEN=your_auth_token CHANNELS=channel_1,channel_2,channel_3 HEADLESS=true_or_false
-
Start the application in development environment:
yarn dev
This project is under the MIT license.
Made with 💜 by Gabriel Silva.