A lightweight Node.js application that tracks Twitch channels and generates an RSS feed when they go live.
- Node.js (v16+ recommended, Dockerfile uses v24)
- npm
-
Install dependencies:
npm install
-
Run the application:
# Standard start npm run start # Development mode (with watch) npm run dev
-
Build the image:
docker build -t twitch-tracker . -
Run the container:
docker run -p 3000:3000 -v $(pwd)/data:/app/data twitch-trackerNote: The volume mount
-vis optional but recommended if you want to persist thechannels.jsonchanges.
You can configure the application using environment variables:
| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
The port the server listens on. |
RSS_PATH |
/rss |
The URL path for the RSS feed. |
Access the RSS feed at:
http://localhost:3000/rss (or your configured RSS_PATH)
The application reads channels from data/channels.json. You can modify this file directly to add or remove channels.