How thenareshofficial/linuxwebui works
LinuxWebUI is a PHP homelab panel: users register or sign in, then view server metrics and control whitelisted services from a live dashboard. The principal flow is authentication → dashboard requests for stats or service actions → Linux host data and service-control operations. The dashboard excerpt confirms charts and service UI, while README documents three-second refresh and responsive presentation. Registration storage details are partly excerpted; no user-store path appears in the tree, so it is not modeled as a repository file.
Main entry points: dashboard.php Dashboard UI · service.php Service API · login.php Sign in · stats.php Stats API
Components 14
Account access
- Entry redirect
index.php - Registration
register.php - Sign in
login.php - Session guard
includes/auth.php - Sign out
logout.php
Dashboard
- Dashboard UI
dashboard.php - Service cards and charts
dashboard.php
System monitoring
- Stats API
api/stats.php - Metrics collection
includes/functions.php
Service control
- Service API
api/service.php
Other components
- Browser user
- Linux host
- Service control binary
- Host services
Connections 18
- Browser user → Entry redirect: opens
index.php - Entry redirect → Sign in: redirects
index.php - Browser user → Sign in: submits credentials
login.php - Browser user → Registration: creates account
register.php - Sign in → Dashboard UI: redirects after login
login.php - Dashboard UI → Session guard: requires
dashboard.php - Stats API → Session guard: requires
api/stats.php - Service API → Session guard: requires
api/service.php - Browser user → Sign out: signs out
logout.php - Sign out → Sign in: redirects
logout.php - Stats API → Metrics collection: calls
api/stats.php - Metrics collection → Linux host: reads metrics
includes/functions.php - Dashboard UI → Stats API: requests stats
- Dashboard UI → Service cards and charts: renders
dashboard.php - Service cards and charts → Service API: requests actions
- Service API → Linux host: checks ports
api/service.php - Service API → Service control binary: executes command
api/service.php - Service control binary → Host services: controls services