All the code that powers my stream! It is written in 3 different servers:
- A django backend. Used for storing/persisting data as well as doing image & video manipulation.
- An ember front end server. Used for easy controls for me as well as displaying plugins to twitch users.
- A node socket server. A tiny node server that sets up a bunch of websockets and communicates messages across them.
The code that's written here probably can't be reused very easily, so sorry about that. The stuff I've done so far:
I setup webhooks using ifttt to use google voice processing without having to pay for their service (genius I know).
Aka he who shall not be named. A terrible bot that uses voice commands to activate different parts of my code. It can:
- Play sounds
- Say stuff
- Clip the stream
Works as intended approximately 10% of the time.
Allows for playing & uploading sounds from the front end client. Uses global keybindings so I can play sounds from anywhere. Easily integrates with the rest of the django server to allow for playing sounds from scripts and the like.
Talking with OBS via websockets is a magical thing, and it allows for some pretty funny stuff: https://www.twitch.tv/admirallightningbolt/clip/KawaiiFamousWolverineFloof https://www.twitch.tv/admirallightningbolt/clip/CleverDependableMochaSoonerLater https://www.twitch.tv/admirallightningbolt/clip/GiftedOutstandingHareOneHand
Polls spotify for currently playing song. Automatically handles reauth, intial auth needs to be done via Oauth.
Ask chat a question and have them vote live!
Typing !bigBrain or !smallBrain in chat affects the size of a brain displayed on screen. It's dumb but it's the first thing I did to get used to chat integrations.