mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
Deployment (deploy/): - systemd units for server (system) and kiosk (user session) - Angie/nginx proxy config — routes admin, api, ws, node-red - Dockerfile + docker-compose for containerized deployment - deploy/README.md with install instructions Auth: - /api/admin/_check endpoint for proxy auth_request subrequest - Returns 200 if admin session valid, 401/403 otherwise - Sets X-BetterFrame-User header for upstream CEC (Pi5 HDMI control): - kiosk/src/cec.rs wraps cec-ctl subprocess - Standby/wake/active-source commands - WS message types "standby" / "wake" dispatched to CEC - Admin UI: Wake/Standby buttons on kiosk edit page - Server sendToKiosk via coordinator
21 lines
544 B
Desktop File
21 lines
544 B
Desktop File
[Unit]
|
|
Description=BetterFrame Kiosk
|
|
Documentation=https://github.com/BetterCorp/BetterFrame
|
|
After=graphical-session.target network-online.target
|
|
Wants=network-online.target
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=%h/.betterframe-kiosk
|
|
Environment=XDG_RUNTIME_DIR=/run/user/%U
|
|
Environment=WAYLAND_DISPLAY=wayland-0
|
|
Environment=GST_DEBUG=1
|
|
ExecStart=/opt/betterframe/kiosk/betterframe-kiosk
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|