feat: add React/Vite PWA web UI with FastAPI backend

- FastAPI + uvicorn server (turnup-ui) serving config API and static files
- React + TypeScript frontend: connection, global LEDs, per-knob/button
  cards, preset save/load/apply, toast notifications, dark theme
- Vite builds into src/turnup/ui/static/ so no Node.js needed at install time
- PWA assets (manifest, service worker, icon) in ui/public/
- turnup-ui.service systemd user unit; enabled globally via turnupd.install
- PKGBUILD: add python-fastapi + python-uvicorn deps, install UI service file
- pyproject.toml: ui extras group, turnup-ui entry point
This commit is contained in:
Sean Doran committed 2026-02-27 21:25:16 -05:00
1 parent 1c73dc1883
commit 8f8d9ac3fa
41 files changed
+5038 -11

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<rect width="512" height="512" rx="80" fill="#0d1117"/>
<!-- Knob body -->
<circle cx="256" cy="210" r="110" fill="#161b22" stroke="#58a6ff" stroke-width="14"/>
<!-- Knob indicator line -->
<line x1="256" y1="210" x2="256" y2="122" stroke="#58a6ff" stroke-width="12" stroke-linecap="round"/>
<!-- Center dot -->
<circle cx="256" cy="210" r="18" fill="#58a6ff"/>
<!-- 5 dots = 5 knobs/buttons -->
<circle cx="116" cy="390" r="14" fill="#3fb950"/>
<circle cx="176" cy="390" r="14" fill="#3fb950"/>
<circle cx="256" cy="390" r="14" fill="#58a6ff"/>
<circle cx="336" cy="390" r="14" fill="#3fb950"/>
<circle cx="396" cy="390" r="14" fill="#3fb950"/>
</svg>

After

Width:  |  Height:  |  Size: 742 B