onestay / mt-button

Button interface for Marathon-Tools used to communicate with the buttons for starting and stopping time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marathon-Tools button

Button interface for Marathon-Tools used to communicate with the big ass buttons for starting and stopping time.

Getting Started

yarn
node index.js

It will create the WebSocket connection and make http requests on localhost:3000

It will accept key inputs. 'g' or 'b' when the timer is stopped will start it. 'g' will stop player 1 and 'b' player 2.

Prerequisites

You need to at least have the Marathon-Tools API running. It defaults to running on port 3001. Change the env var on the API to listen to port 3000 instead.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Button interface for Marathon-Tools used to communicate with the buttons for starting and stopping time.

License:MIT License


Languages

Language:JavaScript 100.0%