This repo contains an (almost) HTML-only infoscreen / digital signage solution. The solution was developed for Junction 2016.
Further development and PRs are welcome!
-
A HTML- and PHP-capable webserver serving a clone of a fork of this repo
src/index.htmlandsrc/common/styles.csscontains the static partcontent.jsonis queried to fill in the dynamic partindex.htmluses ES6 features so it doesn't work on all browsers- different folders can be used to customize content to multiple channels (
/A/,/B/, for example different right-side images)- symlink
index.htmlandcommonfromsrc - add channel-specific assets, like images
- symlink
-
Raspberry Pi, power saving disabled and configured to open the specific channel website on start
- copy
autostartto~/.config/lxsession/LXDE-pi/autostart- configure the website address and channel in
autostart
- configure the website address and channel in
- copy
xscreensaverto~/.xscreensaver - install
xscreensaverandchromium-browser - (dunno if the
xscreensaveris really needed, but at least this configuration worked)
- copy
-
Webhook from Github to keep the server up to date with master
- Add Github webhook that calls
github.pull.phpafter each commit - Allows online editing of
content.jsonthrough Github.
- Add Github webhook that calls
-
Status display with
log.phpandlog.html