mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-19 17:55:19 +00:00
8b4ce52498
Added a main menu at the beginning of the PVE setup script that gives users three options: [I]nstall - Continue with normal setup (default) [R]emove All - Complete uninstall of all Pulse components [C]ancel - Exit without changes The removal option comprehensively cleans up: - pulse-sensor-proxy service, binary, and systemd unit - pulse-sensor-proxy system user and data directories - All SSH keys from authorized_keys (legacy and forced-command variants) - LXC bind mounts from all container configs - Pulse monitoring API tokens, user, and custom roles This addresses user request for a clean removal path for everything Pulse has installed on the host, including legacy components from previous versions.
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.