Lordnibbler / colorpicker-server

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com:Lordnibbler/colorpicker-server.git
cd colorpicker-server
npm install -d
npm start

# set up the client
git clone git@github.com: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

About

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


Languages

Language:JavaScript 49.7%Language:CSS 24.7%Language:CoffeeScript 22.1%Language:Handlebars 3.4%Language:Ruby 0.1%