009ac8cdd0d445159ed30da12885ee7eaa8c171a
Pi-Kit Dashboard
Lightweight dashboard for DietPi-based Pi-Kit images.
What’s here
pikit_api/+pikit-api.py: Python HTTP API (status, services CRUD, auto-updates, diagnostics, factory reset), served on 127.0.0.1:4000.pikit-web/: Vite static site served by nginx at/var/www/pikit-web/; source inpikit-web/assets/, Playwright E2E inpikit-web/tests/.- Release tooling:
tools/release/make-release.shbuilds a bundle tarball + manifest for OTA; changelogs live inout/releases/.
Local development
- Frontend:
cd pikit-web && npm install(once),npm run devfor live reload,npm testfor Playwright,npm run buildfor productiondist/. - API:
python pikit-api.pyruns the same routes locally (no auth) as on-device.
Deploy to a Pi-Kit box
- Copy
pikit-api.pyand thepikit_api/directory to the device (e.g.,/usr/local/bin/) and restartpikit-api.service. - Sync
pikit-web/dist/(preferred) to/var/www/pikit-web/, then restartdietpi-dashboard-frontend.service. - Using release bundles:
./tools/release/make-release.sh <version> <base_url>, upload the tarball + manifest, and pointPIKIT_MANIFEST_URL(systemd drop-in) to that manifest URL for OTA.
Notes
- Service paths are normalized (leading slash) and URLs include optional subpaths.
- Firewall changes surface clear errors when
ufwis missing so the UI can report failures. - Factory reset sets
rootanddietpipasswords topikit. - Default UI:
http://pikit.local/(mDNS) unless HTTPS is enabled.
Description
v0.1.2
Latest
Languages
JavaScript
39.3%
Python
25.5%
CSS
15.5%
HTML
14.8%
Shell
4.9%