SuperDucky is my Twitch bot!
- Handle user gets banned
- Handle user timeout (fun ideas...)
- Hatch and grow feature
- Helix emotes
- !lore command
- Possible ideas (custom chat buble, custom text color and effect, custom duck skins, accessoires, hats, different size)
- dynamic nameplate background color
- !followage
- Sprite dance
- sql:setup on clone for db
- Fix unhandled color updates
- Shallow reative on sprites for performance
Contains the backend built with Node.js, Express, and Socket.IO, and the client-side application built with React and TypeScript, meant to be used as an OBS overlay.
- Listens on the port set in
.env.server.local - WebSocket server is initialized using
Socket.IO - Handles real-time Twitch chat commands like
!project - Connects to the server via
socket.io-client - Real-time updates received via
projectMessagesocket event - Socket client is configured in
socket.ts
From root, you can install dependencies:
npm run install-allAfter setting up the .env.server.local and .env.shared.local, from root you can run
npm run devThis will start the server and the overlay concurrently.
Use .env files to configure environment variables. Examples are provided as .env-example in both the server and overlay directories.
Both .env files should be in root.
# Server settings
VITE_SERVER_HOST=localhost
VITE_SERVER_PORT=your_server_port
# Frontend settings
VITE_FRONTEND_HOST=localhost
VITE_FRONTEND_PORT=your_frontend_port
# Channel to join
VITE_TWITCH_CHANNEL=your_twitch_channel# Twitch auth
CLIENT_ID=your_twitch_client_id
CLIENT_SECRET=your_twitch_client_secret
ACCESS_TOKEN=your_access_token
REFRESH_TOKEN=your_refresh_token