# jochris/lunbooster architecture

> Architecture diagram of the GitHub repository jochris/lunbooster, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jochris/lunbooster
- Repository: https://github.com/jochris/lunbooster

## Overview

LunBooster is an Android game-booster app. Its user-facing workflow is to inspect device telemetry, manage game profiles, and use optional in-game controls; game detection can trigger automatic optimization. The README also describes focus and thermal features and Android integrations such as a widget and Quick Settings tile. Source excerpts were not provided, so relationships below are limited to capabilities and flows explicitly documented in the README; paths identify components from the repository tree.

Main entry points: [`app/src/main/java/com/example/system/BoostAndFocusEngine.kt`](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/BoostAndFocusEngine.kt) (Boost and focus), [`app/src/main/java/com/example/system/SystemTelemetryEngine.kt`](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/SystemTelemetryEngine.kt) (Device telemetry), [`app/src/main/java/com/example/ui/screens/DashboardScreen.kt`](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/DashboardScreen.kt) (Telemetry dashboard), [`app/src/main/java/com/example/ui/screens/AdditionalSettingsScreens.kt`](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/AdditionalSettingsScreens.kt) (Focus controls)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["App experience"]
  node_dashboard["Telemetry dashboard<br/>[DashboardScreen.kt]"]
  node_telemetry["Device telemetry"]
  node_battery["Battery view<br/>[BatteryScreen.kt]"]
  node_settings["Settings and profiles<br/>[SettingsScreen.kt]"]
end

subgraph group_automation["Game automation"]
  node_game_screen["Game profiles UI<br/>[GamesScreen.kt]"]
  node_watcher["Game watcher"]
  node_boost["Boost and focus"]
  node_focus["Focus controls"]
end

subgraph group_overlays["In-game tools"]
  node_floating["Floating controls"]
  node_overlay_views["Overlay views"]
  node_recorder["Screen recorder<br/>[RecorderScreen.kt]"]
  node_capture["Media capture"]
end

subgraph group_platform["Platform services"]
  node_widget["Home widget"]
  node_tile["Quick Settings tile"]
  node_updates["Update checker"]
  node_thermal["Thermal alerts"]
end

node_player(("Player"))
node_android["Android device"]

node_player -->|"views telemetry"| node_dashboard
node_dashboard -->|"shows readings"| node_telemetry
node_player -->|"manages profiles"| node_game_screen
node_watcher -->|"triggers auto-boost"| node_boost
node_boost -->|"applies optimization"| node_android
node_player -->|"uses controls"| node_floating
node_floating -.->|"shows overlays"| node_overlay_views
node_player -->|"configures focus"| node_focus
node_focus -->|"enables focus mode"| node_boost
node_player -->|"starts capture"| node_recorder
node_recorder -.->|"records screen"| node_capture
node_widget -->|"shows telemetry"| node_telemetry
node_tile -->|"integrates with"| node_android
node_updates -->|"checks for updates"| node_android
node_thermal -->|"sends alerts"| node_player
node_battery -.->|"presents battery data"| node_telemetry

click node_dashboard "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/DashboardScreen.kt"
click node_telemetry "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/SystemTelemetryEngine.kt"
click node_battery "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/BatteryScreen.kt"
click node_settings "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/SettingsScreen.kt"
click node_game_screen "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/GamesScreen.kt"
click node_watcher "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/SmartGameWatcherService.kt"
click node_boost "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/BoostAndFocusEngine.kt"
click node_focus "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/AdditionalSettingsScreens.kt"
click node_floating "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/FloatingBoosterService.kt"
click node_overlay_views "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/FloatingOverlayViews.kt"
click node_recorder "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/RecorderScreen.kt"
click node_capture "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/OverlayMediaCaptureEngine.kt"
click node_widget "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/widget/LunBoosterWidgetProvider.kt"
click node_tile "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/LunBoosterTileService.kt"
click node_updates "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/AppUpdateManager.kt"
click node_thermal "https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/ThermalAlertNotifier.kt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dashboard,node_telemetry,node_battery,node_settings toneBlue
class node_game_screen,node_watcher,node_boost,node_focus toneAmber
class node_floating,node_overlay_views,node_recorder,node_capture toneMint
class node_widget,node_tile,node_updates,node_thermal toneRose
class node_player,node_android toneIndigo
```

## Components

### App experience

- [Telemetry dashboard](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/DashboardScreen.kt): `app/src/main/java/com/example/ui/screens/DashboardScreen.kt`
- [Device telemetry](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/SystemTelemetryEngine.kt): `app/src/main/java/com/example/system/SystemTelemetryEngine.kt`
- [Battery view](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/BatteryScreen.kt): `app/src/main/java/com/example/ui/screens/BatteryScreen.kt`
- [Settings and profiles](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/SettingsScreen.kt): `app/src/main/java/com/example/ui/screens/SettingsScreen.kt`

### Game automation

- [Game profiles UI](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/GamesScreen.kt): `app/src/main/java/com/example/ui/screens/GamesScreen.kt`
- [Game watcher](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/SmartGameWatcherService.kt): `app/src/main/java/com/example/system/SmartGameWatcherService.kt`
- [Boost and focus](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/BoostAndFocusEngine.kt): `app/src/main/java/com/example/system/BoostAndFocusEngine.kt`
- [Focus controls](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/AdditionalSettingsScreens.kt): `app/src/main/java/com/example/ui/screens/AdditionalSettingsScreens.kt`

### In-game tools

- [Floating controls](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/FloatingBoosterService.kt): `app/src/main/java/com/example/system/FloatingBoosterService.kt`
- [Overlay views](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/FloatingOverlayViews.kt): `app/src/main/java/com/example/system/FloatingOverlayViews.kt`
- [Screen recorder](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/ui/screens/RecorderScreen.kt): `app/src/main/java/com/example/ui/screens/RecorderScreen.kt`
- [Media capture](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/OverlayMediaCaptureEngine.kt): `app/src/main/java/com/example/system/OverlayMediaCaptureEngine.kt`

### Platform services

- [Home widget](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/widget/LunBoosterWidgetProvider.kt): `app/src/main/java/com/example/widget/LunBoosterWidgetProvider.kt`
- [Quick Settings tile](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/LunBoosterTileService.kt): `app/src/main/java/com/example/system/LunBoosterTileService.kt`
- [Update checker](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/AppUpdateManager.kt): `app/src/main/java/com/example/system/AppUpdateManager.kt`
- [Thermal alerts](https://github.com/jochris/lunbooster/blob/main/app/src/main/java/com/example/system/ThermalAlertNotifier.kt): `app/src/main/java/com/example/system/ThermalAlertNotifier.kt`

### Other components

- **Player**
- **Android device**

## Connections

- Player → Telemetry dashboard: views telemetry (evidence: `README.md`)
- Telemetry dashboard → Device telemetry: shows readings (evidence: `README.md`)
- Player → Game profiles UI: manages profiles (evidence: `README.md`)
- Game watcher → Boost and focus: triggers auto-boost (evidence: `README.md`)
- Boost and focus → Android device: applies optimization (evidence: `README.md`)
- Player → Floating controls: uses controls (evidence: `README.md`)
- Floating controls → Overlay views: shows overlays
- Player → Focus controls: configures focus (evidence: `README.md`)
- Focus controls → Boost and focus: enables focus mode (evidence: `README.md`)
- Player → Screen recorder: starts capture (evidence: `README.md`)
- Screen recorder → Media capture: records screen
- Home widget → Device telemetry: shows telemetry (evidence: `README.md`)
- Quick Settings tile → Android device: integrates with (evidence: `README.md`)
- Update checker → Android device: checks for updates (evidence: `README.md`)
- Thermal alerts → Player: sends alerts (evidence: `README.md`)
- Battery view → Device telemetry: presents battery data
