mosbot
Docker 应用程序 from patriQ's Repository
概述
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).
运行时参数
- 网络用户界面
http://[IP]:[PORT:8787]/- 网络
bridge- 外壳
sh- 特权
- false
- 额外参数
--restart unless-stopped
模板配置
WebUIPorttcp
Dashboard HTTP port
- 目标
- 8787
- 默认值
- 8787
- 价值
- 8787
ConfigPathrw
YAML config directory
- 目标
- /config
- 默认值
- /mnt/user/appdata/mosbot/config
- 价值
- /mnt/user/appdata/mosbot/config
DataPathrw
SQLite database
- 目标
- /data
- 默认值
- /mnt/user/appdata/mosbot/data
- 价值
- /mnt/user/appdata/mosbot/data
LogsPathrw
Daily-rotated log directory
- 目标
- /logs
- 默认值
- /mnt/user/appdata/mosbot/logs
- 价值
- /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
- 默认值
- Europe/Berlin
- 价值
- Europe/Berlin
LOG_LEVELVariable
trace|debug|info|warn|error
- 默认值
- info
- 价值
- info
详细信息
存储库
ghcr.io/patriqcs/mosbot:latest最后更新2026-06-02
初见2026-05-20
在Unraid 上运行 Mosbot 。
Mosbot 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。