Skip to content

mikewebkist/webkist-display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python kiosk (legacy)

  1. Install uv
  2. Initialize $HOME/.config/webkist
  3. Start kiosk:
    • RPi fullscreen, unattended: bash scripts/start_pygame.sh
    • Linux local, interactive: uv run src/webkist_display/pygame-display.py
  4. Initialize SystemD:
    • sudo cp scripts/pygame-display.service /etc/systemd/system
    • sudo systemctl daemon-reload
    • sudo systemctl enable pygame-display
    • sudo systemctl start pygame-display
    • journalctl -f -u pygame-display.service

Go kiosk

  • go build -o webkist-kiosk ./cmd/webkist-kiosk — Ebiten/X11 kiosk, runs under xinit on tty1.
  • go build -o webkist ./cmd/webkist — TUI variant for debugging from a terminal.
  • SystemD unit: scripts/webkist-kiosk.service; launcher: scripts/start_kiosk_x11.sh.
  • Local testing on a Wayland desktop: scripts/run-local.sh. Ebiten's bundled GLFW is X11-only, so on GNOME/Wayland boxes it needs DISPLAY and the right XAUTHORITY (mutter's per-session cookie under $XDG_RUNTIME_DIR). The script resolves both. Plain go run ./cmd/webkist-kiosk will fail with Invalid MIT-MAGIC-COOKIE-1 unless your shell already inherited the desktop session's env.
  • Layout / styling: see internal/kiosk/LAYOUT.md for how to move things around on screen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors