Skip to content

mathiasose/WSOGMM

Repository files navigation

Infoscreen with useful things

WSOGMM

How to use

  • Run a browser with CORS protection disabled, e.g. chromium-browser --disable-web-security --user-data-dir --test-type --kiosk --incognito.
    • Disabling CORS protextion lets the webpage make API requests to other sites, so that you don't need to run a http server yourself.
    • Don't use the unsafe browser for your regular browsing.
  • yarn install
  • BROWSER=chromium-browser yarn start
  • Look at the JS console in the browser for help with .env

Kioskifying

/home/pi/.config/lxsession/LXDE-pi/autostart

Autostart browser and prevent screensaver from turning the screen off

@chromium-browser --disable-web-security --user-data-dir --test-type --kiosk --incognito http://localhost:3000
@xset s noblank
@xset s off
@xset s -dpms

Oof ouch owie my eyes