How latifangren/bfr-webui-go works
BFR-WEBUI-GO is an offline-ready Android system control panel: users connect through a browser, authenticate, select a feature tab, and operate device services through the embedded web UI. Its major domain areas include file and partition management, modem and hardware controls, networking and proxying, telemetry, and remote shell/screen access. The frontend entry and file-manager/API calls are visible in excerpts; most backend subsystem implementations were not sampled, so their internal call paths are intentionally not inferred.
Main entry points: App.svelte App Shell · client.ts HTTP API Client · TabFileManager.svelte Dual-Pane Files · registry.ts Tab Registry
Components 27
Web UI
- App Shell
frontend/src/App.svelte - Tab Registry
frontend/src/components/tabs/registry.ts - HTTP API Client
frontend/src/api/client.ts - Dual-Pane Files
frontend/src/components/tabs/files/TabFileManager.svelte - Appearance Studio
frontend/src/components/layout/AppearanceModal.svelte
Device Control
- Go HTTP Server
main.go - API Handlers
internal/handlers - File Operations
internal/filemanager - Partitions
internal/partition - Kernel Tuning
internal/kernel - Power Controls
internal/power - Charger Controls
internal/charger - Modem Controls
internal/modem - Qualcomm EFS
internal/efs - Samsung Modem
internal/samsung - Shannon Modem
internal/shannon - System Telemetry
internal/sysinfo
Networking
- Network Settings
internal/network - Hotspot Routing
internal/hotspot - Proxy Suite
internal/proxy - Traffic QoS
internal/qos - Traffic Accounting
internal/vnstat
Remote Operations
- Root Terminal
internal/terminal - Screen Mirroring
internal/scrcpy - SSH Service
internal/ssh - Telegram Bot
internal/telegram
Other components
- Browser User
Connections 5
- Browser User → App Shell: opens
README.md - App Shell → Tab Registry: loads tabs
frontend/src/App.svelte - Dual-Pane Files → HTTP API Client: calls
frontend/src/components/tabs/files/TabFileManager.svelte - HTTP API Client → Go HTTP Server: HTTP requests
frontend/src/api/client.ts - App Shell → Appearance Studio: opens settings