Misc. Twitch bits and pieces
This repo contains a bunch of examples and bits and pieces that might be useful it might not.
Most of these examples either use NodeJS or PHP or pure HTML (with Javascript) (using a dumb php -S
to serve the demo, as apposed to file:// to avoid some oddities)
Aside from that the dependencies are supposed to be as lightweight as possible.
These examples are testable on GitHub pages, and will prompt for implicit authentication to run the code.
Auth Type Things | ||
---|---|---|
How to Implicit auth | Source | For Client Side apps/websites |
Token Checker and Killer | Source | Validate Tokens and revoke them, handy if you find stuff in the wild that shouldn't be there! |
Examply Things | ||
Building a clone of the Directory view | Source | Pretty simple, shows how to "chain" API's together |
Some Calendar/Schedule Stuff | Source | |
Channel Information Widget | Source | |
Team Page | Source | A clone of the team page, rougly, for showing how/where to get various data from |
Player Things | ||
A VOD Player that Skips Muted Segments | Source | Enough Said it plays VOD's |
Twitch Player/parent | Source | Implements most of the Embed JS player functions for test/example purposes |
Twitch Player on Google Sites | Source | A demo of how to do Players on Google Sites as they have nested iFrames and a dynamic URL on one of them... |
Streamer Tool Type Things | ||
Near Clone of the Dashboard | Source | The Dashboard core parts (edit stream info) but via the API |
Simple Poll Tool/Results Display | Source | A simple tool to create a poll and monitor the results |
Simple Channel Points Manager | Source | A simple tool to manage rewards |
Simple UnBan Requests Manager | Source | A simple tool to manage unban requests |
Get my Stream Key | Source | A simple demo to auth the user and show the user their own stream key. |
Clips Navigator | Source | A simple demo fetch and display clips using started_at and ended_at parameters. |
TwitchEmotes | Source | |
Guest Star | ||
Guest Star Controller | Source | WIP implementation of the Guest Star API/EventSub. Uses EventSub Websockets for real time updates. |
Guest Star OBS Setup Assistant | Source | |
EventSub WebSocket Transport Things | ||
The Basics | Source | A basic EventSub WebSocket connector |
The Chat Topics | Source | Testing the new Chat Topics |
Notes about how Authentication works for Chat over EventSub Found Here | ||
An Activity Feed | Source | Processing chat.notif and chat.message to build an activity feed |
Creator Goals EventSub WebSocket | Source | A EventSub WebSocket CreatorGoals Example |
Charity EventSub WebSocket | Source | A EventSub WebSocket Charity Example |
Simple Poll Tool/Results Display | Source | A simple tool to create a poll and monitor the results via EventSub WebSocket. |
Extension Type Things | ||
Extensions Config Tool | Source | A replacement for the Rig's tool - desktop version |
There are some useful bits for Twitch Extensions in this repo, mainly for the API side of things.
If you are after a demo of a Twitch Extension with an EBS that talks to the Twitch API, checkout the Twitch Profile Extension Repository instead
Looking to get started wtih JWT auth, but you just want to start making requests. Try this insomnia plugin: “twitch extension” which includes a “predefined” request collection to import too!
Or looking to get started with Extension Development and the various API calls outside of a Rest client in a Desktop Application Similar to the Developer Rig? Check out BarryCarlyon’s Twitch Extension Tools.
Most of the code in this repository is various bits and pieces for your to copy/paste in other projects.
However the examples folder will contain self contained examples that demonstrate a more full “product”.
Some options
Thank you for the help I want to give you beer/coffee money -> Check the Funding/Sponsor details