This repository maintains the list of Twitch streamers for the Donkey Kong Forum community. It automatically checks which streamers are live and displays them on the forum.
-
Edit the
streamers.jsonfile -
Add a new entry in the array:
{ "twitchUsername": "their_twitch_username", "dkfUsername": "their_forum_username" }twitchUsernameis required (their Twitch channel name)dkfUsernameis optional (their forum display name, if different)
-
Commit and push your changes to the
mainbranch -
The list will automatically update within a few minutes
- Edit the
streamers.jsonfile - Remove the streamer's entry from the array
- Commit and push your changes
[
{ "twitchUsername": "example_streamer" },
{ "twitchUsername": "another_streamer", "dkfUsername": "ForumName" }
]- GitHub Actions runs every 5 minutes to check which streamers are live
- It fetches the
streamers.jsonlist and queries the Twitch API - Results are saved to
live-streamers.jsonon GitHub Pages - The forum displays this pre-computed list (no server load!)
- Automatic Token Refresh: The GitHub Action automatically gets fresh Twitch tokens
- Zero Server Load: All processing happens on GitHub's infrastructure
- Fast Loading: The forum only needs to fetch a small JSON file
- Caching: Results are cached for 5 minutes to reduce requests
streamers.json- The master list of all streamers (edit this file!)live-streamers.json- Auto-generated list of currently live streamers (do not edit).github/workflows/update-live-streamers.yml- GitHub Action that checks who's livescripts/check-live-streamers.js- Script that queries the Twitch API
The current list of live streamers is available at: https://donkey-kong-forum.github.io/streamers-list/live-streamers.json