008
Archive 008Tool

NewFriend — мини-игры для Twitch

Interactive web service for streamers: Twitch rewards (EventSub) integration, viewer queue and mini-games (Cases and Tarot) with live updates

websites

NewFriend — мини-игры для Twitch
01 /About

Interactive web service for streamers: Twitch rewards (EventSub) integration, viewer queue and mini-games (Cases and Tarot) with live updates.

Delivered on commission, tailored to the client's requirements.

02 /✨ Features
  1. 01Mini-games: Cases and Tarot with visual effects
  2. 02Twitch integration: OAuth, EventSub for rewards, chat messages
  3. 03Viewer queue and drop history
  4. 04Drops/skins: presets, chances, quantity tracking
  5. 05Live updates via socket.io
03 /🔧 Technologies
  1. 01Frontend: Next.js (App Router), React, TypeScript, socket.io-client, three.js, framer-motion
  2. 02Backend: Node.js + Express, socket.io
  3. 03Reverse proxy: Nginx
04 /🔄 Flows
  1. 01OAuth via Twitch: login, whitelist by user_id
  2. 02EventSub subscriptions for Channel Points rewards
  3. 03Viewer queue with live events via socket.io
  4. 04Games: Cases/Tarot — drop selection and history recording
  5. 05Global drop feed and simple REST for UI
05 /🔗 Integrations
  1. 01Twitch OAuth and EventSub
  2. 02tmi.js — Twitch chat messages
  3. 03multer + sharp — image upload and webp conversion
  4. 04Twitch image proxy to avoid 403
  5. 05Nginx reverse proxy (WS Upgrade for socket.io, /uploads)