README
Hue
Skate is an early desktop Node.js client for Hue. It works on GNU/Linux and macOS.
Requirements
- Node LTS, blessed, node-notifier, socket.io-client
- On GNU/Linux, libnotify-bin for displaying notifications
Installing
The short way
npm install -g skater
The long way
- Clone this repo
- Get an account on https://hue.merkoba.com
- Install dependencies:
npm install
- Generate configuration file on $HOME:
node skate.js
- Set username, password, roomid and notifications ("toasts"), and the clock function
4.1 Available modes for toasts are 0 for no notifications, 1 for notifications on mention and 2 for notifications for chat messages.
vim ~/.skater-configuration.json
4.2 The clock can be set to 1 to display the time on events, and 0 to disable this - Come on feet, run the thing:
node skate.js
Available commands
- /quit: Quits the program.
- /topic: Prints the current topic.
- /list: Lists the online users on the room.
- /tv < YouTube URL | Twitch URL | Generic video URL >: Tunes the room TV to the specified link.
- /image < Image URL >: Changes the room displayed image to the specified link.
- /skater < disableToasts | enableToasts >: Enables or disables notifications temporarily.
- /nick nickname: Changes your name