How leukipp/touchkio works
TouchKio is an Electron kiosk for displaying Home Assistant dashboards on Linux touch devices, with optional MQTT controls and sensors. The main workflow starts the app, configures its arguments, opens dashboard pages in a touch-oriented kiosk window, and optionally exposes device and kiosk state through MQTT. Hardware support covers display, audio, system, and network capabilities. The source excerpts show the principal modules and several calls; some UI asset wiring and MQTT command handling are not visible, so those links are omitted or marked unverified.
Main entry points: webview.js Kiosk webviews · index.js Electron app · integration.js MQTT integration · hardware.js Linux hardware
Components 13
Startup and configuration
- Electron app
index.js - Arguments and setup
index.js
Kiosk browsing
- Kiosk webviews
js/webview.js - Dashboard website
- Status header
html/header.html - Navigation bar
html/navigation.html - Page controls
html/pager.html - Control widget
html/widget.html
Device capabilities
- Linux hardware
js/hardware.js
MQTT integration
- MQTT integration
js/integration.js
Other components
- Kiosk operator
- MQTT broker
- Home Assistant
Connections 14
- Kiosk operator → Electron app: launches
README.md - Electron app → Arguments and setup: configures
index.js - Electron app → Kiosk webviews: loads
index.js - Electron app → Linux hardware: loads
index.js - Electron app → MQTT integration: loads
index.js - Kiosk webviews → Dashboard website: loads pages
README.md - Kiosk webviews → Status header: uses UI
- Kiosk webviews → Navigation bar: uses UI
- Kiosk webviews → Page controls: uses UI
- Kiosk webviews → Control widget: uses UI
- MQTT integration → Linux hardware: reads device state
js/integration.js - MQTT integration → MQTT broker: connects and publishes
js/integration.js - MQTT broker → Home Assistant: exchanges data
README.md - Kiosk webviews → MQTT integration: reports kiosk state
js/webview.js