- Download this repository.
- Make sure that you Node.JS installed.
- Open a console and run
npm install
. - Yaaay. \o/
- Open a console and run
npm run start
. - Change your Todo list entries in the
todo.json
file. - Create a browser source in OBS with the following URL:
http://localhost:9999/
.
You can now use POST requests to the server. See Socket Messages for more information.
The Todo list uses the following ports:
- 9999 for the display. (can be changed in
./bin/www.js
) - 10000 for the sockets. (can be changed in
./public/javascripts/webSocket.js
,./routes/api.js
andapp.js
)
To send a message just send a request to localhost:9999/send?function=[function]
. The following functions are allowed:
Function | Description |
---|---|
show | Show the todo list. |
hide | Hide the todo list. |
reload | Reload the todo list. |
stop | Stop the program. |
toggleTaskOne | Toggle task one. |
toggleTaskTwo | Toggle task two. |
toggleTaskThree | Toggle task three. |
toggleTaskFour | Toggle task four. |
- Sireisenblut for the background image.