A fancy self-hosted digital signage tool. Free, simple and working.
Go to file
2024-03-04 17:26:04 +01:00
data add lang for plugins 2024-03-01 04:17:07 +01:00
docs resize screenshot 2024-02-27 11:01:17 +01:00
lang lang 2024-03-01 13:09:19 +01:00
plugins add functional hook 2024-03-01 13:06:27 +01:00
src add functional hook 2024-03-01 13:06:20 +01:00
system Rename reclame.service to obscreen.service 2024-02-18 23:04:28 +01:00
views remove artifacts 2024-03-01 13:07:49 +01:00
.dockerignore split main logic in files 2024-03-01 01:29:26 +01:00
.gitignore custom controllers for plugin 2024-03-01 12:56:01 +01:00
config.json.dist split main logic in files 2024-03-01 01:29:26 +01:00
Dockerfile split main logic in files 2024-03-01 01:29:26 +01:00
obscreen.py fix path 2024-03-04 17:26:04 +01:00
README.md doc about plugin 2024-03-01 04:01:33 +01:00
requirements.txt Update requirements.txt 2024-02-28 14:44:40 +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
  • Plugin system
  • 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