Inspiration
Streamers run their shows across many apps: Twitch Dashboard, OBS, the Stream Deck software, and design tools for overlays. Every switch pulls attention away from the audience. We wanted to run the whole show from one ChatGPT conversation, with the streamer still approving anything risky.
What it does
Stream Machine is a marketplace of four ChatGPT plugins. Each one covers one part of a streaming setup:
• Stream Machine (Twitch): shows your channel, lists and saves clips, and updates your stream title. It works in ChatGPT on web, mobile and desktop. • Stream Machine OBS: controls OBS from the desktop app. It switches scenes and adds browser sources. • Stream Machine Stream Deck: updates Stream Deck buttons from the desktop app. • Stream Machine HyperFrames: turns a request like "make a lower third for tonight's guest" into an animated overlay. The overlay is a single HTML file that you add to OBS as a browser source.
You install only the plugins your setup needs.
How we built it
• Plugin servers: we wrote them in TypeScript on the Model Context Protocol (MCP), the protocol ChatGPT plugins use to call tools. • Twitch: a hosted service on ChatGPT Sites handles Twitch sign-in, so Twitch works anywhere ChatGPT runs. • OBS and Stream Deck: a local server on your computer controls them, because those apps can only be reached from your own machine. • Overlays: a build script, bundled so it needs no extra install, turns a HyperFrames composition into one HTML file. A small script inside the file reads URL parameters, so values like the guest's name can change without rebuilding. • The panel: a native UI widget, served by both servers, gives the plugins a panel inside ChatGPT. • Distribution: a sync script generates the four plugins from one packaged build, and a single marketplace catalog lists them. • Tooling: we used Bun, mise and fnox with 1Password for secrets. Work was tracked as GitHub issues and pull requests.
Challenges we ran into
• Hosted and local don't mix. A ChatGPT app panel can only call tools on the server that served it. The hosted panel can't reach OBS, and the local panel can't use hosted Twitch sign-in. Splitting the work into separate plugins solved it. • Older connection steps. The Secure MCP Tunnel starts a connection with an older sequence of messages. That forced us to use a different entry point for the server. • Stale tool lists. ChatGPT kept outdated lists of our tools after redeploys, which broke calls from the panel until the plugin was reconnected. • Plugin evaluation scores. The evaluator counted every shipped file, so documentation and lockfiles dragged our score down. Trimming the package fixed it. • Font licences. The overlay font we prototyped with is GPL-licensed, so we shipped a system-font template and a third-party notices file instead.
Accomplishments that we're proud of
• Four working plugins. Each plugin installs on its own from a single marketplace. • Twitch on every platform. Twitch works in ChatGPT on web and mobile, not only desktop. • Overlays end to end. A request in chat becomes an animated, self-contained overlay that OBS loads as a browser source. • Credentials stay out of overlays. Twitch tokens stay on the server, OBS control stays on your machine, and overlays hold no keys.
What we learned
• Choose the hosted/local split early. Where each piece runs decides what it can talk to, so it is an architecture decision, not a deployment detail. • Test inside the real host. Builds that pass locally still failed when ChatGPT cached an old tool list. • Ship less. A smaller plugin package installed faster and scored better.
What's next for Stream Machine Plugin Marketplace
• More overlays. Add templates beyond the lower third, such as subscribe prompts, BRB screens and alerts. • More plugins. Add plugins for other streaming tools. • Controlling OBS from your phone. Make it practical to drive OBS and Stream Deck from ChatGPT on your phone. • Public listing. Submit the plugins for a public listing so other streamers can install them.
Built With
- chatgptdestktop
- codexcli
- omp