SPYR0.DEV

ARCHIVED PROJECT · LAST TOUCHED SEP 2024

A Twitch bot with its own desktop app.

Instead of editing config files and restarting a script every time I wanted to change something, I wrapped the bot in an Electron app and started building actual screens around it.

STATUS Archived·STACK Electron / Node.js / tmi.js·Bootstrap UI

The app

A control panel for the stuff I wanted in Twitch chat.

The desktop app had separate sections for viewers, commands, greetings, giveaways, minigames, answer lists, timers, settings and documentation. The bot could be started and stopped from the UI instead of living as a random terminal window.

StartViewersCommandsGreetingsGiveawayMinigamesAnswersTimerSettings

Commands

!hello → custom response!uptime → dynamic responseCooldown and permission settings

Minigames

{username}{participants}{cooldown}{arg1}

Giveaway

Open / close entriesParticipant listPick a winner

Settings

CredentialsBot statusLocal saved objects

Looking back

This is where I started caring more about the UI around a bot.

The IPC layer kept credentials and bot actions outside the renderer, while the individual HTML pages were basically a small desktop dashboard. It is pretty rough compared with the dashboards I build now, but you can already see the same idea showing up.

CHAT

tmi.js bot runtime

The app connected the local UI to the Twitch bot instead of treating the bot as a completely separate command-line tool.

CONFIG

Local settings

Credentials and saved objects lived in the app data directory and were accessed through Electron IPC handlers.

FEATURES

More than commands

Greetings, giveaways, minigames, timers and custom answer lists all had their own screens.

STATUS

Stopped in 2024

The last changes were in September 2024. I never turned it into something I wanted to maintain long term.

Email copied