Skip to content

rahatarmanahmed/election-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

election-dashboard

An Electron kiosk app that displays election forecast graphs from fivethirtyeight one at a time.

Based on resin-electronjs boilerplate.

Usage

Clone this repo, cd election-dashboard/app, npm install, npm start. But I use this as a resin.io app. See the boilerplate readme linked above for how to set that up.

Configure via environment variables

Variable Name Value Description
FIVETHIRTYEIGHT_PAGE_DURATION # of milliseconds how long each page is shown before moving to the next (default: 15 seconds)
FIVETHIRTYEIGHT_REFRESH_FREQUENCY # of milliseconds how often to refresh the page (to get updated data) (default: 30 minutes)
  • URL_LAUNCHER_WIDTH | int (converted from string) | defaults to 1920
  • URL_LAUNCHER_HEIGHT | int (converted from string) | defaults to 1080

Apply the above settings in the "Fleet Configuration" panel (if applying it for the all devices withing your application), or "Device Configuration" panel (if applying it for a single device).

About

electronJS-based election dashboard app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published