A telegram bot that notifies you when your favorite Twitch streamers go live or end their streams.
- ➕/➖ Add or remove streamers via bot commands
- 🗑️ Interactive removal with inline buttons
- 📋 List all tracked streamers and their status (online/offline)
- 🔔 Notify subscribers of a streamer when the stream starts or ends
- ⚡ Bun — all-in-one Node.js runtime
- 🗄️ SQLite — embedded database
- 🤖 node-telegram-bot-api — Telegram Bot API client
- 🛑 Bottleneck — rate limiting for HTTP requests
- Download the binary for your OS from the Releases page
- Create and fill the .env file (see Configuration)
- Run the binary
# Clone
git clone https://github.com/spanwite/twitch-buddy.git
cd twitch-buddy
# Install (production-only, lockfile respected)
bun install --frozen-lockfile --production
# Start
bun run startCreate a .env file in the project root:
TWITCH_CLIENT_ID=your_twitch_client_id
TWITCH_CLIENT_SECRET=your_twitch_client_secret
DATABASE_URL=your_database_url
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
NOTIFICATION_INTERVAL=5 # in minutes
Notes:
- DATABASE_URL defaults to TwitchBuddy.sqlite if not set.
- NOTIFICATION_INTERVAL defaults to 5 minutes if not set.