mosbot

mosbot

Docker app from patriQ's Repository

Overview

MOSBot - Twitch bot that automatically sends !play in open Marbles-on-Stream lobbies across many live channels, with a web dashboard on port 8787. First-run setup: 1. Register a Twitch Developer App (Device Code Flow enabled) at https://dev.twitch.tv/console/apps and copy the Client-ID. 2. Generate an ENCRYPTION_KEY: docker run --rm node:20-alpine node -e "console.log(require('crypto').randomBytes(32).toString('base64'))" 3. Generate a DASHBOARD_PASSWORD_HASH: docker run --rm -it node:20-alpine sh -c "npm i -g argon2-cli >/dev/null && argon2-cli hash -p 'yourpassword'" 4. Paste all three values into the fields below, click Apply. 5. Open http://Unraid-IP:8787, log in, go to Accounts -> Login, and approve the device code on twitch.tv/activate. Runs safely alongside rdavydov/Twitch-Channel-Points-Miner-v2 on the same Twitch account (different Twitch Dev App, separate OAuth grant, separate appdata path, rate-limit margin).

Runtime arguments

Web UI
http://[IP]:[PORT:8787]/
Network
bridge
Shell
sh
Privileged
false
Extra Params
--restart unless-stopped

Template configuration

WebUIPorttcp

Dashboard HTTP port

Target
8787
Default
8787
Value
8787
ConfigPathrw

YAML config directory

Target
/config
Default
/mnt/user/appdata/mosbot/config
Value
/mnt/user/appdata/mosbot/config
DataPathrw

SQLite database

Target
/data
Default
/mnt/user/appdata/mosbot/data
Value
/mnt/user/appdata/mosbot/data
LogsPathrw

Daily-rotated log directory

Target
/logs
Default
/mnt/user/appdata/mosbot/logs
Value
/mnt/user/appdata/mosbot/logs
TWITCH_CLIENT_IDVariable

Client-ID from dev.twitch.tv/console/apps (DCF enabled)

ENCRYPTION_KEYVariable

32-byte base64 key for token encryption at rest

DASHBOARD_PASSWORD_HASHVariable

argon2id hash of dashboard password

TZVariable

Timezone

Default
Europe/Berlin
Value
Europe/Berlin
LOG_LEVELVariable

trace|debug|info|warn|error

Default
info
Value
info

Details

Repository
ghcr.io/patriqcs/mosbot:latest
Last Updated2026-06-01
First Seen2026-05-20

Run Mosbot on Unraid.

Mosbot is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.