002
Archive 002Tool
RobinSystem · Twitch-платформа
Streamer SaaS: chat bot, OBS overlays, TTS, levels, quizzes, giveaways, shop, and analytics — one dashboard instead of five separate tools
01 /About
Streamer SaaS: chat bot, OBS overlays, TTS, levels, quizzes, giveaways, shop, and analytics — one dashboard instead of five separate tools.
02 /🎯 Overview
- 01RobinSystem (RSystemBot) — all-in-one Twitch streamer platform: bot, overlays, monetization, analytics
- 02One Twitch OAuth — channel connected in about a minute
- 03Modular feature flags and subscription tiers: Free, Premium, Ultra
- 04Public surfaces: viewer panel, channel shop, streamer mini-site, OBS browser sources
03 /🏗️ Architecture
- 01Split runtime: api, bot, realtime, telegram — PostgreSQL + Redis
- 02EventBus write-path, projection read-path — no direct bot calls from API
- 03frontend2: Next.js 14 + RobinDesign 2 UI on top of production frontend logic
04 /🤖 Bot & Moderation
- 01tmi.js IRC + EventSub, custom commands, auto-responder, auto-mod, scheduled messages
- 02Live chat console in dashboard via Socket.IO
05 /🎮 Engagement
- 01RPG levels, quiz, word-guess, giveaways with reroll, duels, channel rewards
06 /📺 Overlays
- 01Chat, followers, TTS, donation-goal, predictions, Spotify, FaceIT — OBS browser sources
- 02Craft.js editor for FaceIT start scenes, realtime event delivery
07 /💰 Monetization
- 01DonationAlerts / DonateX / DonatePay alerts, channel shop, subscriptions
- 02Payment providers: Platega, Enot, CryptoCloud, NicePay
08 /📊 Analytics & API
- 01Active viewers, command trends, peak hours; tier-based history depth
- 02Public User API with scoped API keys (Ultra tier)
09 /🧩 Stack
- 01Node.js, TypeScript, Express, PostgreSQL, Redis, Socket.IO, tmi.js
- 02Next.js 14, React, Tailwind, Framer Motion, next-intl
10 /👥 Viewer-панель и публичные API
- 01/viewer/[channel] — панель зрителя: баланс, прогресс уровней, заказы из магазина
- 02/site/[streamer] — публичный мини-сайт канала с настраиваемым контентом
- 03Public User API (/api/public/v1): stats, viewers, balance — с API keys и scopes (Ultra)
- 04OAuth delegation и assistants — доступ помощникам к модулям канала
11 /🔗 Интеграции
- 01Twitch OAuth + Helix API через TwitchApiBase: rate limit, circuit breaker, keep-alive
- 02FaceIT: lobby overlay, webhook, виджеты для CS2-стримеров
- 03Spotify: now-playing overlay для OBS
- 04Telegram: уведомления, webhook runtime, live-alerts для стримера
- 05Follower tracking и алерты новых подписчиков
12 /🛠️ Админ и операции
- 01Faceadmin: глобальные site settings, module-access gating, maintenance mode, платформенные API keys
- 02Реферальная программа: заявки, attribution, ledger, payout hold/release
- 03Backup/import настроек, переменные канала, tutorial onboarding
- 04i18n (ru/en) через next-intl; SEO-лендинги (/twitch-analytics, /twitch-giveaway-bot, …)
- 05Swagger /api-docs в dev, health checks, graceful shutdown, process crash diagnostics
13 /🖥️ Frontend2 (RobinDesign 2)
- 01Next.js 14 App Router, Tailwind с design tokens (rs-*), шрифты Outfit + JetBrains Mono
- 02Лендинг RobinDesign: hero с live-preview чата, bento features, pricing, FAQ, отзывы
- 03Dashboard shell: floating island sidebar, mesh background, постепенный reskin модулей
- 04Axios + cookies same-origin /api/*, Socket.IO client, Craft.js + react-moveable для overlay editor
- 0567+ роутов: dashboard-модули, overlay preview, payment callbacks, viewer/shop/site surfaces
14 /🧩 Технические особенности
- 01170+ SQL-миграций PostgreSQL, bcrypt/JWT/session auth, express-rate-limit + helmet
- 02Redis adapter для Socket.IO horizontal scaling; @socket.io/redis-adapter
- 03Module tier requirements: streamer/viewer modules gated per free/premium/ultra
- 04Idempotent payment callbacks, transactional money operations, referral hold cycle
- 05Pino structured logging, metrics store, bot runtime reconcile и channel restore on crash
15 /Gallery





