A Node.js chat bot that connects to Twitch and YouTube chats, integrated with Supabase for message storage and synchronization.
- Clone this repository
- Copy
.env.exampleto.envand fill in your credentials:- Supabase credentials
- Twitch API credentials
- YouTube API credentials
- Install dependencies:
npm install
- Run locally:
npm run dev
- Create a new Heroku app
- Set up the environment variables in Heroku settings
- Deploy using Heroku Git:
heroku login heroku git:remote -a your-app-name git push heroku main
- Connects to both Twitch and YouTube chats
- Stores messages in Supabase database
- Sends messages to both platforms
- Updates bot status in real-time
- Handles reconnections automatically
- Graceful shutdown handling