331de4bc9e
- New settings page at /settings (localhost-only) accessible via tray icon - PIN manager with 6-digit codes, 5-min TTL, single-use - API token uses secrets.token_urlsafe(32) for 256-bit entropy - Config auto-creates config.yaml on first run with detected local IP - Default PIN and token generated randomly on first startup - Added pin_ttl setting (default 300s) - Updated build_exe.py for onefile exe with settings assets bundled - Added start.bat and start.sh for easy development startup
14 lines
333 B
Bash
14 lines
333 B
Bash
# 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 defaults to auto-detected local IP (set to override)
|
|
PORT=8921
|
|
LOG_LEVEL=INFO
|