Parrot is an nodejs library offline voice reconition on the Raspberry Pi
To get started, first install configure your microhpone and install pocketsphinx. Directions can be found here: http://cmusphinx.sourceforge.net/wiki/raspberrypi
Then clone this repo and run:
npm install
Next run lights.js:
node lights.js
Api can be found here: https://github.com/mikehenrty/parrot/blob/master/lights.js