ClementRoyer / TwitchAFKCoins

Automatic watching the twitch to get Stream coins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitch AFK Coins

Project forked and based on this repository

AutoCollet coins without being on the stream !
Work without any window open.

Features

  • πŸ€– Automatic coins collect
  • πŸŽ₯ True HTTP Live Streaming support (Forget the #4000 error code)
  • πŸ” Cookie-based login
  • πŸ“œ Auto accept cookie policy
  • 🀐 Unmuted stream
  • πŸ›‘ Proxy option
  • πŸ“½ Automatic lowest possible resolution settings
  • 🧰 Highly customizable codebase

Requirements

  • Windows or Linux OS
  • Network connection (Should be obvious...)
  • Nodejs and NPM

Installation

πŸŽ₯ Tutorial video by Ziyad πŸŽ₯

Windows

  1. Login to your twitch account
  2. Open inspector(F12 or Ctrl+Shift+I) on main site
  3. Find the stored cookie section
  4. Copy auth-token
  5. Clone this repo
  6. Install Chromium
  7. Usually the path to the Chromium executable is: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
  8. Install the dependencies with npm install
  9. Start the program with npm start

Linux

  1. Login to your twitch account
  2. Open inspector(F12 or Ctrl+Shift+I) on main site
  3. Find the stored cookie section
  4. Copy auth-token
  5. Clone this repo
  6. Install Chromium: TUTORIAL πŸ€—
  7. Locate Chromium executable: whereis chromium
  8. Install the dependencies with npm install
  9. Start the program with npm start

Troubleshooting

How does the token look like?

auth-token: rxk38rh5qtyw95fkvm7kgfceh4mh6u


Streamers.json is empty?

Try again with higher delay. Default delay:

const scrollDelay = 2000;

Go to code


Something went wrong?

Try non-headless mode. Set headless value to true, like this:

const showBrowser = true;

Go to code


Proxy?

Yes, of course:

const proxy = ""; // "ip:port" By https://github.com/Jan710

Go to code

OR

With Docker env:

proxy=PROXY_IP_ADDRESS:PROXY_PORT

Screenshot without non-headless mode

const browserScreenshot = false;

Go to code

Donation

Go to this repository

Disclaimer

This code is for educational and research purposes only. Do not attempt to violate the law with anything contained here. I will not be responsible for any illegal actions. Reproduction and copy is authorised, provided the source is acknowledged.

About

Automatic watching the twitch to get Stream coins

License:MIT License


Languages

Language:JavaScript 98.3%Language:Dockerfile 1.6%Language:Batchfile 0.1%