How devilxd/twitchdropsminer works
Twitch Drops Miner is a desktop app that advances Twitch drop progress without downloading stream media. The user logs in, selects prioritized games, reloads eligible campaigns and streams, and the miner watches a suitable channel, tracks progress, and claims rewards. Its principal runtime centers on Twitch orchestration, campaign/drop state, channel selection, and the GUI; websocket updates maintain stream status. The README documents the user workflow and capabilities, while sampled excerpts show selected internal calls. Some subsystem wiring is unsampled, so uncertain links are omitted.
Main entry points: twitch.py Twitch orchestrator · gui.py Desktop GUI · websocket.py Stream event pool · settings.py Miner settings
Components 14
Application and UI
- Application entry
main.py - Desktop GUI
gui.py - Translations
translate.py - Autostart integration
registry.py
Mining Domain
- Channel and stream
channel.py - Campaigns and drops
inventory.py
Twitch Connectivity
- Twitch orchestrator
twitch.py - Stream event pool
websocket.py
Local State
- Miner settings
settings.py - Image cache
cache.py - Runtime utilities
utils.py - Runtime errors
exceptions.py
Other components
- Miner user
- Twitch service
Connections 19
- Miner user → Desktop GUI: logs in
README.md - Desktop GUI → Twitch orchestrator: starts mining
README.md - Application entry → Twitch orchestrator: runs client
main.py - Application entry → Miner settings: loads settings
main.py - Desktop GUI → Miner settings: configures
gui.py - Twitch orchestrator → Channel and stream: sends watch
twitch.py - Channel and stream → Twitch orchestrator: requests data
channel.py - Twitch orchestrator → Desktop GUI: updates progress
twitch.py - Twitch orchestrator → Campaigns and drops: manages drops
twitch.py - Campaigns and drops → Twitch orchestrator: claims rewards
inventory.py - Twitch orchestrator → Stream event pool: tracks stream status
twitch.py - Stream event pool → Twitch orchestrator: dispatches events
websocket.py - Twitch orchestrator → Twitch service: fetches metadata
README.md - Stream event pool → Twitch service: receives events
README.md - Desktop GUI → Image cache: loads images
gui.py - Desktop GUI → Translations: displays text
gui.py - Desktop GUI → Autostart integration: controls autostart
gui.py - Miner settings → Runtime utilities: reads and saves
settings.py - Twitch orchestrator → Runtime errors: raises errors
twitch.py