A lightweight twitch points miner
Find a file
2024-05-09 03:52:27 +05:30
.github/workflows Finish websocket pooling migration 2024-04-29 19:29:14 +02:00
app Update README 2024-05-09 00:14:24 +02:00
assets Added screenshots 2024-04-22 16:38:05 +02:00
common Switch back to reqwest 2024-05-08 23:45:50 +02:00
frontend * Fix various UI bugs 2024-05-08 23:48:52 +02:00
mock Switch back to reqwest 2024-05-08 23:45:50 +02:00
.dockerignore Add raids, watch streaks 2024-04-22 12:10:46 +02:00
.gitignore Add websocket pooling 2024-04-26 20:09:34 +02:00
app.dockerfile * Async analytics runner 2024-05-03 13:10:28 +02:00
Cargo.lock * Fix various UI bugs 2024-05-08 23:48:52 +02:00
Cargo.toml * Async analytics runner 2024-05-03 13:10:28 +02:00
CHANGELOG.md * Fix various UI bugs 2024-05-08 23:48:52 +02:00
example.config.yaml Dependency pruning 2024-04-30 14:25:48 +02:00
LICENSE Create LICENSE 2024-03-25 18:02:58 +01:00
mock.dockerfile Split into crates + add integration tests 2024-04-25 01:18:16 +02:00
README.md Update README 2024-05-09 00:14:24 +02:00

twitch-points-miner

Views Build status Docker Image Version Docker Pulls Docker Image Size

A very lightweight twitch points miner, using only a few MB of ram, inspired by Twitch-Channel-Points-Miner-v2.

Landing page

Features

  • Web UI to interact with the app, and change configurations at runtime screenshots
  • Auto place bets on predictions
  • Watch stream to collect view points
  • Claim view point bonuses
  • Follow raids
  • REST API to manage app (Swagger docs at /docs)
  • Analytics logging all actions

Configuration

Check example.config.yaml for an example configuration.

For a complete list of all configuration possibilities, check common/src/config.

Use the log level info for adequate information. Use debug for detailed logs, or if you feel a bug is present.

Docker image

This is the suggested way of using twitch-points-miner.

Pull t348575/twitch-points-miner, be sure to pass your config file, and a volume for your tokens.json, as well as appropriate CLI arguments.

Run with stdin attached the first time, in order to authenticate your twitch account.

docker run -i -t -v ./data:/data t348575/twitch-points-miner --token /data/tokens.json

Once it is running and the login flow is complete, CTRL+C then just attach the tokens file in subsequent runs.

Docker compose

An example docker compose file

services:
  twitch-points-miner:
    container_name: twitch-points-miner
    image: t348575/twitch-points-miner:latest
    volumes:
      - ./data:/data
      - ./config.yaml:/config.yaml # change this if needed to your config file
    command:
      - -t
      - /data/tokens.json
      - --analytics-db
      - /data/analytics.db
      - --log-file
      - /data/twitch-points-miner.log
    ports:
      - 3000:3000 # Web UI port
    environment:
      - LOG=info

Windows

Has not been tested on windows, but should work fine

Building

cargo build --release

Web UI screenshots

Landing page Place predictions Setup page Configuration editor