pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/techguydave/node-prettylights

ossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-0fcd9af82350aeda.css" /> GitHub - techguydave/node-prettylights: DEPRECATED - Control Phillips Hue lights from Twitch chat · GitHub
Skip to content
This repository was archived by the owner on Oct 24, 2018. It is now read-only.

techguydave/node-prettylights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-prettylights

Twitch Plays Light Simulator 2015

Installing

Absolutely no clue. I guess download this repository...

$ git clone https://github.com/synth3tk/node-prettylights.git

...then bash your head on the keyboard in the following sequence:

$ npm install

Tell me if it doesn't work. Because I definitely didn't test installing this thing from scratch. The only other thing I made with Node was a website, so I'm not sure how to make this distribution-friendly. Feel free to tell me how wrong I am on Twitter.

Configuration

Create the file config/.env (good luck, Windows users!) with the following three lines:

  • TWITCH_USER=<bot_name_username>
    • Create a new account for the bot if you haven't already
  • TWITCH_OAUTH=<bot_oauth_password>
  • TWITCH_CHANNELS=<channels>
    • A comma-separated value of channels for the bot to enter (ideally, your channel).

While giving the bot mod powers is completely optional at this time, you can go ahead and do it anyway. I don't care, it's your channel!

Start it up

$ node server.js

The bot will now search for a Hue bridge, register itself (first run), collects information about the Hue setup and stores it in a file (first run), then it finally joins Twitch chat, waiting for your users to abuse it!

TO-DO

  • Organize the code better
  • Proper error handling
  • Option to flash lights on events (follower, subscription, etc)
  • Blacklist/whitelist ability
  • Flood control (holy crap, why's that not in the 1.0 release?)
  • Buy more body wash

About

DEPRECATED - Control Phillips Hue lights from Twitch chat

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy