- A Nodejs Express based WebAPI server to turn on/off RPi GPIO
$git clone http://github.com/notsunohito/express-gpio && cd express-gpio
$npm install --production
$npm start
$curl --request GET http://{RPi's hostname}:3000/gpio/2/high
will turn on GPIO2
$curl --request GET http://{RPi's hostname}:3000/gpio/2/low
will turn off GPIO2
If you want to use an example GUI, Open http://{RPi's hostname}:3000/
with browser
*only supported for Rpi >= Rev2 at the moment
*only supported for HIGH or LOW at the moment
$npm install
$npm install --global gulp
$gulp dev
$gulp