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.
ARCHIVED PROJECT · LAST TOUCHED SEP 2024
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.
The app
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.
Looking back
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.
The app connected the local UI to the Twitch bot instead of treating the bot as a completely separate command-line tool.
Credentials and saved objects lived in the app data directory and were accessed through Electron IPC handlers.
Greetings, giveaways, minigames, timers and custom answer lists all had their own screens.
The last changes were in September 2024. I never turned it into something I wanted to maintain long term.