makey-button

Makey-Makey powered button server

npm install makey-button
3 downloads in the last day
12 downloads in the last week
33 downloads in the last month

Makey Makey Button Server

This is a little Node.js server/client that uses Web sockets to transmit button press events across hosts.

Installation

Install the makey-button npm package globally:

npm install -g makey-button

Use

To run the server, use makey-button-server with the -p flag to specify what port the sockets should listen on:

makey-button-server -p 7788

Run the client using the host -h, button -b and command -e required flags. For example, this will connect to myhost:7788, listen for presses to button a and run say 'button pressed' when the button is pressed:

makey-button -h myhost:7789 -b a -e "say 'button pressed'"
npm loves you