Skip to content

This is an open source TODO List written in JavaScript

License

Notifications You must be signed in to change notification settings

commanderphu/TODO-List

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo List

Installation

  1. Download this repository.
  2. Make sure that you Node.JS installed.
  3. Open a console and run npm install.
  4. Yaaay. \o/

Usage

  1. Open a console and run npm run start.
  2. Change your Todo list entries in the todo.json file.
  3. Create a browser source in OBS with the following URL: https://localhost:9999/.

You can now use POST requests to the server. See Socket Messages for more information.

Ports

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 and app.js)

Socket Messages

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.

Credits

About

This is an open source TODO List written in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.1%
  • CSS 15.3%
  • HTML 6.6%