How jurkovic-nikola/openlinkhub works
OpenLinkHub is a Linux hardware-control service with a browser dashboard. The main user workflow is to open the local UI, issue control requests, and view device and system status; the backend also initializes device management and monitoring at startup. Device-specific drivers implement hardware control, while temperature profiles, RGB effects, memory, motherboard PWM, and OpenRGB/audio integrations provide distinct capabilities. Relationships below follow explicit startup calls, visible API dispatches, or README descriptions; some internal runtime links are left unasserted because their source was not shown.
Main entry points: controller.go Lifecycle controller · server.go HTTP server · lsh.go iCUE Link hub driver · index.js Dashboard UI
Components 21
Application
- Process entry
main.go - Lifecycle controller
src/controller/controller.go - Configuration
src/config/config.go
Web interface
- HTTP server
src/server/server.go - Request handlers
src/server/requests/requests.go - Dashboard UI
static/js/index.js - Controller UI
static/js/controller.js - Page templates
src/templates/templates.go
Hardware control
- Device registry
src/devices/devices.go - Corsair device drivers
src/devices - iCUE Link hub driver
src/devices/lsh/lsh.go - Memory support
src/devices/memory/memory.go - Motherboard PWM
src/motherboards/motherboards.go
Monitoring and effects
- Temperature profiles
src/temperatures/temperatures.go - RGB effects
src/rgb/rgb.go - System monitor
src/monitor/monitor.go
Integrations
- Input emulation
src/inputmanager/inputmanager.go - Virtual audio engine
src/audio/audio.c - OpenRGB bridge
src/openrgb/openrgb.go
Other components
- Operator
- USB hardware
Connections 22
- Operator → Dashboard UI: uses
- Dashboard UI → HTTP server: sends API requests
static/js/index.js - Controller UI → HTTP server: sends controller requests
static/js/controller.js - HTTP server → Request handlers: dispatches
src/server/server.go - Process entry → Lifecycle controller: starts
main.go - Lifecycle controller → Configuration: initializes
src/controller/controller.go - Lifecycle controller → HTTP server: initializes
src/controller/controller.go - Lifecycle controller → Device registry: initializes
src/controller/controller.go - Lifecycle controller → Temperature profiles: initializes
src/controller/controller.go - Lifecycle controller → RGB effects: initializes
src/controller/controller.go - Lifecycle controller → Input emulation: initializes
src/controller/controller.go - Lifecycle controller → Virtual audio engine: initializes
src/controller/controller.go - Lifecycle controller → System monitor: initializes
src/controller/controller.go - Lifecycle controller → Motherboard PWM: initializes
src/controller/controller.go - Device registry → Corsair device drivers: dispatches to
- iCUE Link hub driver → OpenRGB bridge: registers controller
src/devices/lsh/lsh.go - iCUE Link hub driver → Temperature profiles: adds profile
src/devices/lsh/lsh.go - iCUE Link hub driver → USB hardware: controls
- Operator → USB hardware: configures
- Operator → Memory support: manages
- Operator → Motherboard PWM: configures
- Operator → OpenRGB bridge: integrates