mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
Server side: - service-coordinator-ws: full WS implementation using ws package - Auth via ?token=<kiosk_key> query param - Coordinator registry for cross-plugin notification - Admin mutations call notifyKiosks() → server pushes reload-bundle - 30s ping/pong heartbeat Kiosk side: - Rust ws_client with tokio runtime + tokio-tungstenite - Auto-reconnect with exponential backoff (1s → 60s cap) - On reload-bundle: re-fetches bundle, re-renders layout - Pong replies to server pings Also fix: auto-suffix kiosk name on UNIQUE collision (re-pair with same hostname no longer fails).
34 lines
870 B
TOML
34 lines
870 B
TOML
[package]
|
|
name = "betterframe-kiosk"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "BetterFrame kiosk — multi-camera display with GTK4 + GStreamer"
|
|
license = "AGPL-3.0-only OR Commercial"
|
|
|
|
[dependencies]
|
|
# GTK4 for windowing/layout
|
|
gtk4 = { version = "0.9", features = ["v4_12"] }
|
|
|
|
# GStreamer for RTSP decode
|
|
gstreamer = "0.23"
|
|
gstreamer-video = "0.23"
|
|
gst-plugin-gtk4 = "0.13"
|
|
|
|
# HTTP client for server API
|
|
reqwest = { version = "0.12", features = ["json", "blocking"] }
|
|
|
|
# JSON
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "fs"] }
|
|
|
|
# Misc
|
|
dirs = "6"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
hostname = "0.4"
|
|
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
|
|
futures-util = "0.3"
|
|
url = "2"
|