Giter Club home page Giter Club logo

wall-monitor's Introduction

Wall Monitors

This is a project that aims to implement a client for showing web based graphs in wall monitors.

Client

The client is an electron application that reads a configuration an opens as many browser windows as specified in it.

The client reads the configuration from a YAML file that is provided either through the local file system or through an HTTP POST request to the web server listening on port 8080. This makes updating the configuration of any wall monitor in the system trivial.

The following is an example request using curl:

curl -v -X POST "http://localhost:8080/load" --data-binary @config.yml

Configuration

Each screen has a number of URLs that it will show with a specific layout. Current available layouts are carrousel and splitted.

The carrousel layout has a single configuration value called time, which determines for how long a specific URL is shown on screen before rotating to the next one. The value is an integer which represent the amount of milliseconds.

The splitted layout also has a single configuration value called orientation, which determines if the screen will be splitted in the vertical or horizontal direction.

The following is an example of what a configuration would look like in YAML:

- name: "Screen 1"
  pages:
    - url: "http://google.com"
      zoom: 0.5
    - url: "http://github.com"
      code: "alert('hello world!');"
  layout:
    name: splitted
    orientation: vertical

- name: "Screen 2"
  pages:
    - url: "http://lanacion.com.ar"
    - url: "http://stackoverflow.com"
  layout:
    name: carrousel
    time: 5000

- name: "Screen 3"
  pages:
    - url: "http://twitter.com"
    - url: "http://start"
  layout:
    name: carrousel
    time: 10000

wall-monitor's People

Contributors

jfacorro avatar

Watchers

James Cloos 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.