Skip to content

peakxl/twitch-drop-claimer

Repository files navigation

Twitch Drop Claimer

Watches twitch for you and claim drops automatically (with docker support)

GitHub package.json version GitHub repo size GitHub issues

This project is a fork based on D3vl0per/Twitch-watcher with claim drops feature from frosty5689. Claim drops is currently broken with no ETA to fix.

Features

  • 🎥 True HTTP Live Streaming support (Forget the #4000 error code)
  • 📦 Periodically check for drops
  • 🔐 Cookie-based login
  • 📜 Auto accept cookie policy
  • 👨‍💻 The choice of a random streamer with drop-enabled tag
  • 🤐 Unmuted stream
  • 🛠 Detect mature content-based stream and interact with it
  • 🛡 Proxy option
  • 📽 Automatic lowest possible resolution settings
  • 🧰 Highly customizable codebase
  • 📦 Deployable to VPS via docker

Requirements

  • Windows or Linux with Nodejs and NPM
  • Docker with docker-compose

Installation

Docker (Recommended)

Docker Image Version (latest by date) Docker Pulls Docker Image Size (latest by date)

Requirements

Usage

  1. Download docker-compose.yml
  2. Open and replace the auth_token environment record
  3. Run with docker-compose up -d command

Dependencies

GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (subfolder of monorepo) GitHub package.json dependency version (prod)

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 or whereis chromium-browser
  8. Install the dependencies with npm install
  9. Start the program with npm start

Troubleshooting

How does the token look like?

auth-token: rxk38rh5qtyw95fkvm7kgfceh4mh6u


How to get the correct category name?

Click on the avatar on top-right, go to "Drops & Rewards".

On "Inventory" page, find the game click on "a participating live channel". Copy the last part of the url as category.

Altenatively, go to "All Campaigns". Find the game and click on "a participating live channel" or "more" at the end of streamers list. Copy the last part of the url as category.

Some examples of category names:

  • rust
  • lost-ark
  • honkai-star-rail
  • ea-sports-fc-24
  • tom-clancys-rainbow-six-siege

Something went wrong?

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

const showBrowser = true;

Proxy?

Yes, of course:

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

OR

With Docker env:

proxy=PROXY_IP_ADDRESS:PROXY_PORT

Screenshot without non-headless mode

const browserScreenshot = false;

Donation

Please donate to keep alive this project!

Especially the drop farmers who gather tons of money with this software!🤓

Buy Me A Coffee

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages