Code Monkey home page Code Monkey logo

todo-list's Introduction

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: http://localhost:9999/.

You can now use POST requests to the server. See "Socket Messages" for more information. Alternatively you can open the web interface: http://localhost:9999/interface.

If you want to use an Auto Hotkey script, gewi made a script which can be found here.

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, ./public/javascripts/interface.js, ./routes/send.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

  • Sireisenblut for the background image.
  • gewi for making an Auto Hotkey Script.

todo-list's People

Contributors

derniklaas avatar imgbotapp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.