Skip to content

Give your twitch chat the ability to control your home, obs, iot devices, lights, etc

License

Notifications You must be signed in to change notification settings

hey24sheep/twitch_sheep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitch Sheep

"Twitch Sheep" is a partial/unpolished Twitch chat personal sheep.

It is not just a bot it's more than that. You control what your chat can do. Why just give them the power to control mere LED's, SFX or Alexa (using speakers). When you can do all of that from just single app and custom code your own stuff.

NOTE : This is done as a fun project. This is not an extension on twitch. This project is not affiliated or partnered by Twitch. This is an independent project made for my own streams but could be used by anyone.

Why this project?

I created this for my personal Twitch channel (hey24sheep). To make a single most powerful, customizable and no limit control room for my chat. There is no project like this online (at least for now) I didn't find any. There are either specific use case libraries like linked below or just APIs that you can implement.

Other projects to control single specific thing:-

  • Screm (SFX)
  • LumiaStream (Lights)
  • StreamLabs or Stream Elements (Chat Commands + Timers)

Features / Future

  • Let chat control your Tesla 😆 (built using github.com/mseminatore/TeslaJS) (READ DISCLAIMER)
    • Commands like !vehiclestate <car_index>
    • !honkhorn <car_index>
    • !startcharge <car_index> like !startcharge 2
    • !stopcharge <car_index>
    • !flashlights, etc
  • OBS (scenes + scene switch + transitions) (non-destructive only)
    • !scene scenenumber example : !scene 5
    • !go : go to next scene
    • !back : go to previous scene
    • !toggleStudioMode : toggle obs studio mode
    • !transition transition_name duration : change my transition settings
  • Custom Commands
  • Custom Timers (without minimum chat line condition)
  • Anything (literally) (pre-requisite : know how to code, fork this repo and make http requests to your digital devices.)
    • Your code, your permissions, your features
    • like Arduino/ESP control send http requests. Add a command and send.
    • Camera control
    • TV Control
    • Thermostat Control
    • Door control
    • Any IOT device control
  • User Interface, so non-coders can use this. (PRs are welcome)
  • LED / Light Control (PRs are welcome)
  • Mouse / Keyboard (PRs are welcome)
  • Ability to do all of this using bits/dono (PRs are welcome)
  • Alternate use
    • Use Twitch as Home Automation 😄

Requirements

Setup

  • Download or Clone this project locally
  • Download latest VSCode
  • Download latest Node
  • Open this project in vscode
  • npm install on the project
  • Add oauth token generated using above given link to .env file
  • Add email and password (for tesla) to .env file
  • Run using npm run-script start

Contribute / Customize

  • Setup for contribute is same above
  • Add more commands to twitchsheep.ts or if it is a proper module add it to a separate folder
  • To customize, add stuff to twitchsheep.ts

Improve

Pull requests are always welcome. For any issue / bug / enhancement

  • please open an issue first to discuss
  • And don't forget to hit the like button for this package ✌️

Disclaimer

Some features are disabled for security purposes, but you can change/modify at your own risk. You may use this library with the understanding that doing so is AT YOUR OWN RISK. No warranty, express or implied, is made with regards to the fitness or safety of this code for any purpose. If you use this library to query or change settings of your vehicle you understand that it is possible to make changes that could inadvertently lower the security of your vehicle, or cause damage, through actions including but not limited to:

  • Unlocking the vehicle
  • Remotely starting the vehicle
  • Opening the sunroof
  • Opening the frunk or trunk
  • Lowering the battery charge level
  • Impacting the long-term health of your battery

License

MIT

About

Give your twitch chat the ability to control your home, obs, iot devices, lights, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published