Skip to content

Node.js + Backbone.js Colorpicker Server for controlling LED lighting

Notifications You must be signed in to change notification settings

Lordnibbler/colorpicker-server

Repository files navigation

colorpicker-server

A Backbone.js GUI, Node.js and Socket.io server that emits colorChanged and colorSet events to a colorpicker-client.

There are in-depth setup instructions for running the colorpicker-client on a Beaglebone Black with angstrom distro of linux at the above URL.

Setup

# set up the GUI and server
git clone [email protected]:Lordnibbler/colorpicker-server.git
cd colorpicker-server
npm install -d
npm start

# set up the client
git clone [email protected]:Lordnibbler/colorpicker-client.git
cd colorpicker-client
npm install
npm start

Browse to http://localhost:1337 to use the GUI.

Testing

# use the test watchers
npm test

# or run the tests once
mocha -R dot test/src/*.coffee && karma start --single-run

About this Project

You can read the original blog post and an updated post here

Watch the video here:

Colorpicker