Skip to content

awekrx/AFK-Twitch-drops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AFK-Twitch-drops

A small app based on Puppeteer to watch Twitch and get drops.

Capabilities

  • Login via cookies
  • Using multiple accounts
  • Auto-claim drops
  • Auto-find new streamers

How to download

  1. To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer.
  2. From your command line
#Clone this repository
git clone https://github.com/awekrx/AFK-Twitch-drops.git
cd AFK-Twitch-drops
npm ci

How to setup and start

  1. Get twitch account token

    1. Login to Twitch account
    2. Open Inspector(F12) on site
    3. Find cookie storage
    4. Copy auth-token value

Disclaimer: If you are using multiple accounts. Open them in incognito mode and don't log out of the session, just close the incognito browser.

  1. Paste the token in the config.json file in the tokens field (Select the tokens separated by commas if you want to view in multiple accounts)

  2. Copy the path to the browser chrome or chromium and paste it into the exec field in the config.json

  3. Write the name of the desired in game game if you need drops.

  4. Write in command line in this folder: npm start

{
    //Path to Chrome
    "exec": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
    //Account tokens
    "tokens": [""],
    //The parameter is needed to receive drops.
    "game": "The Cycle: Frontier",
}

About

A small app based on Puppeteer to watch Twitch and get drops.

Topics

Resources

License

Stars

Watchers

Forks