- 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
- https://github.com/abbott567/raspberry-pi-kiosk has a good guide
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
- https://github.com/linusg/rpi-backlight Controlling RPi display backlight