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:
41 files changed
+5038
-11
No files matched your search
@@ -11,6 +11,8 @@ depends=(
|
||||
'python'
|
||||
'python-pyserial'
|
||||
'python-pulsectl'
|
||||
'python-fastapi'
|
||||
'python-uvicorn'
|
||||
'pipewire-pulse'
|
||||
'playerctl'
|
||||
)
|
||||
@@ -37,9 +39,11 @@ package() {
|
||||
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Systemd user service
|
||||
# Systemd user services
|
||||
install -Dm644 contrib/turnupd.service \
|
||||
"$pkgdir/usr/lib/systemd/user/turnupd.service"
|
||||
install -Dm644 contrib/turnup-ui.service \
|
||||
"$pkgdir/usr/lib/systemd/user/turnup-ui.service"
|
||||
|
||||
# License
|
||||
install -Dm644 LICENSE \
|
||||
|
||||
Reference in new issue
Block a user