GameBot Platform
Multi-tenant Twitch + Discord bot · 2024–present · TheChunks (live hardware build) ↗
~270,000 LOC of Node.js. Cog-based architecture with 100+ live feature modules, hot-pluggable via filename extension. Runs 8+ isolated channel instances, each with its own credentials, data directory, and tenancy boundary.
- Built SIGUSR1 hot-reload for OAuth — eliminated PM2 restarts during 3-hour token-refresh cron (853 ms reload validated in prod).
- Automated rolling backups with disk-aware skip (refuses to write when disk > 90% or free < 512 MB).
- Per-tenant viewer harvesters keep each channel's data fully isolated from the main pool.
Node.jstmi.jsdiscord.js
PM2OAuth2cron
AI-Hub Masterbrain
12-model LLM router · 2026
Parallel-fanout LLM client. One call routes a prompt across Gemini, Groq, Mistral, Cerebras, Cohere, AI21, NVIDIA, Cloudflare Workers AI, HuggingFace, OpenRouter, and Anthropic — returns a synthesized best answer from the tournament.
- Auto-disables providers on auth failure with a 30-min cooldown; permanently-disabled list lives in env so bad keys don't bleed credits.
- 5 downstream engines (autopilot, idea-engine, OKR review, trend injector, competitor intel) unified through a single fallback chain.
- Runs free-tier-only by default — zero spend in baseline operation.
↗ CodeMulti-providerTournament synthesis
Prompt cachingBudget tracking
Community-Live Intelligence
Real-time presence + churn analytics · ongoing
Tracks 1,026,839 unique viewers. A 4-slice parallel scanner pages a 620k-channel pool against the Twitch Helix API in ~70 seconds using 15-account token rotation, then merges into a unified live board.
- Multi-process pipeline: presence agent → churn sampler → leaderboard builder → HTTP API on port 8700 with Server-Sent Events to a live dashboard.
- AI planner ranks engagement targets from relationship signals stored in
agent.state.json.
- Daily growth-pulse cron computes WoW/MoM deltas and writes a permanent JSONL log.
Twitch HelixSSE
JSONLParallel batching
Sovereign Loop
Autonomous 24/7 build + staging pipeline · 2026
Self-pacing loop where Masterbrain proposes code changes, a staging gate captures the diff, and a human-approval webhook ships it to live. Exposes a native MCP server (local stdio + bearer-gated HTTPS) so agents and the desktop client share one tool surface.
- Reliable-first model routing — falls through Gemini → Groq → Mistral → Cerebras → Cohere → AI21 on failure.
- OBS scene/source control and Railway log access integrated into the same agent loop.
MCPRailway
OBS WebSocketWebhooks
3D Print Intelligence Engine
Printables crawler + custom scoring pipeline · prints.r0ice.com
loading live count…
Crawls Printables' catalog end-to-end and scores every model against original taste vectors instead of ranking by raw download count alone.
- SQLite-backed, resumable per-category crawl state (400+ scopes tracked to completion).
- Custom rank modes —
gems, overrated, useful, novelty — each a distinct SQL heuristic over likes, downloads, and remix counts.
node:sqliteCrawlerCustom scoring
R0ice Studio — Client Sites
Managed website builds for local businesses · Public sales board ↗ · Live checkout ↗
loading live sales…
Config-driven site generator (business.json → render.cjs → live site) with a PayPal-only checkout stack behind it, so a new client site plus a working payment flow ships same-day.
- Public sales board updates as invoices land — no manual step between a sale and the number going up.
- Backed by a cold-call desk and an internal ROI dashboard tracking revenue against infra cost.
PayPal APIStatic site genCaddy
1,000+ Day Twitch Streak — Automated
r0ice_1 · daily since 2023 · twitch.tv/r0ice_1 ↗
loading streak…
A cron-driven ops pipeline sets the stream title and day-count every evening, DMs a pre-stream reminder, then verifies the stream actually went live and escalates if it didn't.
- Emoji calendar service lets the day's title emoji be scheduled ahead, falling back to a deterministic rotation if nothing's set.
- Zero missed days across 3+ years of continuous daily streaming.
cronTwitch HelixDiscord DM alerts