Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก SYSTEM HUD

> a tactical black/green dashboard for your device's vitals_

web app ยท native Android app ยท home-screen widget ยท zero fake numbers on-device

status platform stack vibes

System HUD home-screen widget, real device data

โ†‘ the actual widget, on an actual home screen, showing actual numbers


๐Ÿงญ what is this

A 12-tile glanceable HUD for your machine's (or phone's) vital signs โ€” CPU, RAM, disk, network, battery โ€” rendered like a mission-control panel, not a spreadsheet.

Ships two ways:

๐ŸŒ web ๐Ÿ“ฑ android
TanStack Start SPA, deploy anywhere Capacitor-wrapped native app
animated, always-on dashboard real home-screen widget, resizable
great for a second monitor / kiosk reads actual hardware via native Kotlin
๐Ÿ–ผ๏ธ click for the full in-app view

The web/in-app HUD โ€” 12 cards, sparklines, a scanline overlay because we have taste. Same real numbers as the widget, same process, no drift between the two.

System HUD full in-app dashboard, real device data

๐Ÿ”ฉ the honesty table

We don't fake numbers we can't actually read. Android has locked down or never exposed some of these to apps โ€” here's exactly what's real vs. what's structurally impossible without root:

show me ๐Ÿ‘€
metric on native Android why
๐Ÿ”‹ battery %, voltage, temp, charge โœ… real, live BatteryManager โ€” fully public API
๐Ÿง  RAM used / total โœ… real, live ActivityManager.MemoryInfo
๐Ÿ’พ storage used / total โœ… real, live StatFs
๐Ÿ“ถ network throughput โœ… real, live TrafficStats, sampled per tick
โฑ๏ธ uptime โœ… real, live SystemClock.elapsedRealtime()
๐Ÿงฎ CPU cores / clock โœ… real, best-effort /sys/.../cpufreq, blocked on some OEMs
๐Ÿงฎ CPU usage % โŒ flat 0 blocked for apps since Android 8, no root
๐ŸŽฎ GPU usage % โŒ flat 0 no public API at all, ever
๐Ÿฉบ battery health % โŒ flat 100 Android only exposes a coarse GOOD/OVERHEAT/DEAD enum

On web/dev mode, all of the above are simulated with a random walk purely for the demo animation โ€” clearly a fallback, never shipped as "real" on a real device.


๐Ÿš€ quickstart

bun install          # ๐Ÿ“ฆ deps
bun run dev           # ๐ŸŒ web dev server
๐Ÿ“ฑ building the Android app + widget
bun run build:capacitor     # static client-only bundle โ†’ capacitor-www/
bunx cap sync android       # copy web assets into the native shell
cd android
./gradlew assembleDebug     # ๐Ÿค– APK at app/build/outputs/apk/debug/

Then long-press your home screen โ†’ Widgets โ†’ System HUD. Drag to resize โ€” it swaps between a compact 2ร—2 and the full 12-card grid depending on how much room you give it.


๐Ÿ—๏ธ how it's built

flowchart LR
    A[๐ŸŽจ React + TanStack Start] -->|bun run build:capacitor| B[๐Ÿ“ฆ static bundle]
    B -->|Capacitor| C[๐Ÿ“ฑ Android shell]
    C --> D[๐Ÿงฉ SystemStatsPlugin]
    E[๐Ÿ”ฉ Kotlin: BatteryManager ยท StatFs ยท TrafficStats] --> D
    E --> F[๐Ÿ  Home-screen widget]
    D -->|same real data| A
Loading
  • Web: React 19 + TanStack Start/Router + Tailwind v4, JetBrains Mono doing all the heavy lifting on vibes.
  • Native bridge: a tiny Capacitor plugin exposes the exact same reading the widget uses, so the in-app screen and the widget never disagree.
  • Widget: classic RemoteViews (not Glance) โ€” WorkManager for a 15-min battery-friendly floor, plus a ~30s AlarmManager tick since every read here is a cheap local syscall, not a network call.

๐Ÿ—บ๏ธ roadmap

  • real battery / RAM / disk / network / uptime on-device
  • resizable native widget matching the web UI pixel-for-pixel
  • adaptive app icon
  • rooted-device path for real system-wide CPU%
  • iOS widget (WidgetKit) โ€” same honesty rules apply
  • a "why is my GPU tile always 0" FAQ nobody will read

built with ๐Ÿ–ค and an unreasonable amount of respect for real data by @pi0trdotsys

// sigma.forecast() > the dashboard waits for no one_

About

๐Ÿ’š Tactical HUD for your device's vitals โ€” web app + native Android widget, real hardware data only

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages