Skip to content

Introduction

mobrule is a SaaS platform for chat-chaos integrations. Twitch viewers spend channel points to inflict effects on a streamer’s game in real time, with bits, subs, and later YouTube, Kick, and donations on the way. The platform is generic: the community ships Packs that declare game-specific capabilities, and the Adapter process talks to the game itself. Streamers wire those capabilities to chat in a web UI.

  • Pack: a pack.toml Manifest plus assets that describe the Events a game exposes (e.g. “spawn a monster”, “low gravity”), along with JSON Schema for each Event’s parameters.
  • Adapter: a process you write that opens a TCP connection to the bridge, speaks MPP (JSON over NDJSON), and applies dispatched Invocations against the game.
  • Bridge: the platform’s local TCP server. It loads a Pack, pins the active session to a manifest_hash, validates Invocations, and ferries them to the Adapter.

A viewer’s channel-point redemption travels the whole pipeline before it shows up in the game. The Overlay reads live Pack state from the bridge (not the Adapter) over WS /rpc/subscribe:

The platform is open source (AGPL):

New Pack author? Start with the Quickstart.