mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 02:33:32 +00:00
0044a18295
The setup script now automatically detects when Pulse is running in an LXC container and offers to install pulse-sensor-proxy on the host for enhanced security. What happens: 1. After temperature monitoring is configured 2. Script detects Pulse IP and finds matching container 3. Prompts: "Install pulse-sensor-proxy for container X? [Y/n]" 4. Downloads and runs install-sensor-proxy.sh automatically 5. Falls back gracefully if proxy install fails Benefits: - One-command setup for users (no manual proxy installation) - SSH keys stay on host (not in container) - Containerized Pulse gets the secure architecture automatically - Native installs unaffected (still use direct SSH) This solves the UX problem where users had to manually run install-sensor-proxy.sh as a separate step.
Internal API Package
This directory contains the API server implementation for Pulse.
Important Note About frontend-modern/
The frontend-modern/ subdirectory that appears here is:
- AUTO-GENERATED during builds
- NOT the source code - just a build artifact
- IN .gitignore - never committed
- REQUIRED BY GO - The embed directive needs it here
Frontend Development Location
👉 Edit frontend files at: /opt/pulse/frontend-modern/src/
Why This Structure?
Go's //go:embed directive has limitations:
- Cannot use
../paths to access parent directories - Cannot follow symbolic links
- Must embed files within the Go module
This is a known Go limitation and our structure works around it.