A server-side Node.js app written in ClojureScript to find the match or the closest match to a hexcolor.
This was mainly an experiment in developing a simple web application in ClojureScript, using ClojureScript as the server-side language and Node.js as the runtime.
It uses express, hiccups for views, logfmt for logging, and garden for the hex<->rgb conversions it provides.
The massive color lists comes from Wikipedia.
Layout is one of the Bootstrap examples.
lein deps
lein cljsbuild once
npm install
cd target && node cljsbuild-main.js
The app will be accessible on port 3000.
It's already setup for deployment to heroku. Move the compiled cljsbuild-main.js
to deploy
and then push to heroku.
Copyright © 2014 Sean Brewer
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.