Commit Graph

6 Commits (bf034fdefe16f2b44c9fc7e1f1f4d8ab6736ab09)

Author SHA1 Message Date
Sean Doran 8f8d9ac3fa
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
2026-02-27 21:25:16 -05:00
Sean Doran 916541d815
Add TOML config, playerctl dep, and media button defaults; bump to v1.1.0
- Switch config format from JSON to TOML (tomllib built-in on 3.11+,
  tomli fallback for 3.10) so the generated config can include comments
- Write an annotated config.toml on first run with descriptions for every
  knob/button and hints for all available actions
- Promote playerctl from optdepends to depends so media buttons work
  out of the box
- Default buttons 1–3 now pre-configured for playerctl previous/play-pause/next
- Rename contrib/config.example.json → config.example.toml with full
  TOML rewrite including per-knob LED colour override examples
- Log a migration hint when a legacy config.json is detected
2026-02-27 14:38:36 -05:00
Sean Doran 25da5b46ad
Fix: auto-enable service on install, fix service startup, add config hot-reload; bump to v0.3.3 2026-02-27 13:54:57 -05:00
Sean Doran 642a1212c7
Fix: service ExecStart path for pacman install; bump to v0.3.2 2026-02-27 12:50:43 -05:00
Sean Doran 0cd1d6a926
Add LED support and remove legacy root-level scripts
- Add per-knob RGB LED configuration, validation, and color interpolation
- Add build_led_packet, send_leds, all_led_colors to turnupd
- Update config with VALID_LED_MODES, _validate_color, _validate_leds
- Update contrib/config.example.json with LED configuration examples
- Remove legacy root-level config.py and turnupd.py (moved to src/)
2026-02-27 11:35:54 -05:00
Sean Doran 002721c63c Initial commit 2026-02-27 10:08:09 -05:00