A fancy self-hosted digital signage tool. Free, simple and working.
Go to file
2024-10-14 16:59:53 +00:00
.github Add .github/actions/common-docker-build/action.yml 2024-10-14 16:59:53 +00:00
data do not allow disable last user + add anon user tag + save username if user is deleted 2024-05-13 02:17:29 +02:00
docs cron schedule fully working on backend 2024-05-02 21:57:57 +02:00
lang do not allow disable last user + add anon user tag + save username if user is deleted 2024-05-13 02:17:29 +02:00
plugins auth 99% ok missing frontend style 2024-05-09 21:59:42 +02:00
src do not allow disable last user + add anon user tag + save username if user is deleted 2024-05-13 02:17:29 +02:00
system remove nginx autoconfigure + organize settings in UI with sections + better abstraction for db managers + better lang manager abstraction 2024-05-07 13:38:59 +02:00
var/run no dummy file anymore, use /dev/null instead 2024-05-12 22:53:53 +02:00
views do not allow disable last user + add anon user tag + save username if user is deleted 2024-05-13 02:17:29 +02:00
.dockerignore better config management 2024-04-29 02:21:31 +02:00
.env.dist no dummy file anymore, use /dev/null instead 2024-05-12 22:53:53 +02:00
.gitignore no dummy file anymore, use /dev/null instead 2024-05-12 22:53:53 +02:00
docker-compose.dev.yml no dummy file anymore, use /dev/null instead 2024-05-12 22:53:53 +02:00
docker-compose.norpi.yml no dummy file anymore, use /dev/null instead 2024-05-12 22:53:53 +02:00
docker-compose.yml no dummy file anymore, use /dev/null instead 2024-05-12 22:53:53 +02:00
Dockerfile better docker use 2024-05-05 23:14:07 +02:00
LICENSE Create LICENSE 2024-04-25 17:23:27 +02:00
obscreen.py fix path 2024-03-04 17:26:04 +01:00
README.md doc fix 2024-05-12 22:55:55 +02:00
requirements.txt auth 99% ok missing frontend style 2024-05-09 21:59:42 +02:00
version.txt bump 1.13 2024-05-13 02:24:16 +02:00

Obscreen

🧑‍🎄 Open to feature request and pull request

You liked it ? Give this repository a star, it's free :)

About

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

Docker Pulls

Features:

  • 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
  • No cloud
  • No telemetry

Obscreen Screenshot

🐳 Run with docker

With docker (for test)

# Prepare application data file tree
mkdir -p obscreen/data/db obscreen/data/uploads && cd obscreen

# Run the Docker container
# 🚨 If you ARE NOT on a RaspberryPi 
#    - replace '/home/pi/.config/lxsession/LXDE-pi/autostart' with '/dev/null'
# 🚨 Else make sure that 
#    - file '/home/pi/.config/lxsession/LXDE-pi/autostart' exists and is writeable
docker run --rm --name obscreen --pull=always \
  -e DEBUG=false \
  -e PORT=5000 \
  -e AUTOCONFIGURE_LX_FILE=/app/var/run/lxfile \
  -e SECRET_KEY=ANY_SECRET_KEY_HERE \
  -p 5000:5000 \
  -v ./data/db:/app/data/db \
  -v ./data/uploads:/app/data/uploads \
  -v /home/pi/.config/lxsession/LXDE-pi/autostart:/app/var/run/lxfile \
  jierka/obscreen:latest

With docker-compose

# Prepare application data file tree
mkdir -p obscreen/data/db obscreen/data/uploads && cd obscreen

# Download docker-compose.yml
# 🚨 If you ARE NOT on a RaspberryPi 
curl https://raw.githubusercontent.com/jr-k/obscreen/master/docker-compose.norpi.yml > docker-compose.yml
# 🚨 If you ARE on a RaspberryPi
curl https://raw.githubusercontent.com/jr-k/obscreen/master/docker-compose.yml > docker-compose.yml

# Run
docker compose up

📠 Run system wide

Install

# Install system dependencies
sudo apt-get update
sudo apt-get install -y git chromium-browser unclutter

# Get files
git clone https://github.com/jr-k/obscreen.git && cd obscreen

# Install application dependencies
pip3 install -r requirements.txt

# Add some sample data
cp data/db/slideshow.json.dist data/db/slideshow.json

# Customize server default values
cp .env.dist .env

Configure

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

Start server (for test)

./obscreen.py

Start server 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

  • Page which plays slideshow is reachable at http://localhost:5000
  • Slideshow manager is reachable at http://localhost:5000/manage

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 (views/player/default.jinja.html) your slideshow shall start and loop endlessly.
  • Make sure that AUTOCONFIGURE_LX_FILE exists and is writeable !

📎 Additional

Hardware checks

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