A fancy self-hosted digital signage tool. Free, simple and working.
Go to file
2024-02-28 14:42:29 +01:00
data better restart logic 2024-02-27 15:27:37 +01:00
docs resize screenshot 2024-02-27 11:01:17 +01:00
lang better ip guesser 2024-02-27 15:45:45 +01:00
src add manage view 2024-02-27 15:54:27 +01:00
system Rename reclame.service to obscreen.service 2024-02-18 23:04:28 +01:00
views translate month and day 2024-02-27 15:36:06 +01:00
.gitignore git ignore clean 2024-02-27 12:53:32 +01:00
config.py.dist add config through UI 2024-02-27 15:03:40 +01:00
obscreen.py better restart logic 2024-02-27 15:27:37 +01:00
README.md Update README.md 2024-02-28 14:42:29 +01:00
requirements.txt some final cleaning 2024-02-27 11:07:31 +01:00

Obscreen

About

Use a RaspberryPi to show a full-screen slideshow (Kiosk-mode)

  • Dead simple chromium webview
  • Clear GUI
  • Fleet view to manage many devices easily
  • Very few dependencies
  • JSON database files
  • No stupid pricing plan

Obscreen Screenshot

Installation

sudo apt-get update
sudo apt-get install -y git chromium-browser unclutter

git clone https://github.com/jr-k/obscreen.git 
cd obscreen && pip3 install -r requirements.txt && cp data/slideshow.json.dist data/slideshow.json && cp config.py.dist config.py

Configure

  • Server configuration is available in config.py file.
  • Application configuration is available in http://localhost:5000/settings page.

Run

Cli mode

./obscreen.py

Forever with systemctl

sudo ln -s "$(pwd)/system/obscreen.service" /etc/systemd/system/obscreen.service
sudo systemctl daemon-reload
sudo systemctl enable obscreen.service
sudo systemctl start obscreen.service

To troubleshoot you can check logs

sudo journalctl -u obscreen -f 

Usage

You are done now :)

If everything is set up correctly, the RaspberryPi shall start chromium in fullscreen directly after boot screen and after some seconds of showing the date & time (default.html) your slideshow shall start and loop endlessly.

Additional

A. Hardware checks

However, I used this one: (2,82) = 1920x1080 60Hz 1080p

B. Nginx server to serve pages (useful for gzip compression for instance)

  1. Install
sudo apt isntall -y nginx
sudo rm /etc/nginx/sites-enabled/default 2>/dev/null
sudo ln -s "$(pwd)/system/nginx-obscreen" /etc/nginx/sites-enabled
sudo systemctl reload nginx
  1. Set reverse_proxy_mode to true in settings page