-
Notifications
You must be signed in to change notification settings - Fork 108
feat (server/client): added featured youtubers and twitch streamers #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
NAMERIO
commented
Sep 16, 2025
- Updated ApiServer to fetch and cache twitch streamer data via Helix API
- Twitch OAuth tokens expire every 60 days and must be refreshed, but we can probably make it refresh itself automatically in the future
- also added Youtube rotation support so multiple youtubers can display
|
closing as stale |
|
did some clean up, a few things to note: If that's the desired behavior, @NAMERIO can look into it |
| if (!Config.secrets.TWITCH_CLIENT_ID || !Config.secrets.TWITCH_OAUTH) { | ||
| return []; | ||
| } | ||
| const streamers = Config.featured.streamers.slice(0, 3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will probably want to shuffle this instead of getting the first three streamers, but let's worry about that after we get 3 people to stream survev first :clueless: