feat: config files, settings screen, hardware check
Build Android APK / build (push) Failing after 5m7s
Build Server .exe / build (push) Failing after 2m27s

- Add config.py with multi-source config (YAML, .env, env vars)
- Add .env.example and config.yaml.example
- Add settings API endpoints (GET/POST /api/v1/settings)
- Add status endpoint (GET /api/v1/status) with hardware subsystem check
- Add settings screen to web client (protected by API token)
- Add localization strings for settings UI
- Add tests for config module and new endpoints
- Update README with config documentation
This commit is contained in:
Imrayya
2026-07-01 13:32:08 +00:00
parent 8e2212f035
commit 871a3cc174
16 changed files with 1341 additions and 55 deletions
+13
View File
@@ -0,0 +1,13 @@
# PaperDash Configuration
# Copy this file to .env and fill in your values
# Dashboard PIN (4-digit code for the E-Ink client)
DASHBOARD_PIN=1234
# API Token (Bearer token for external scripts)
API_TOKEN=your-secret-token-here
# Server settings
HOST=0.0.0.0
PORT=8921
LOG_LEVEL=INFO