PodSDR proxy — macOS universal (Intel + Apple Silicon)
======================================================

This is the server bundle: it serves the PodSDR web client over HTTPS on the
LAN and/or uplinks to the public cloud broker. (For the native desktop GUI,
use the bundle-gui-macos.sh bundle instead.)

Run (LAN web server, HTTPS on :8080):
  ./run.sh
  # then open https://<this-mac>:8080 and accept the self-signed cert once.
  # Plain HTTP:  ./run.sh --no-tls [port]

Cloud (reach this proxy from anywhere via the public broker — no port-
forwarding):
  ./run-cloud.sh home
  # Note the printed PAIRING CODE, enter it in a client's Cloud hub panel.

Virtual radio (no hardware): start the bundled Protocol-1 emulator on the LAN:
  ./podsdr-emu --radio hermeslite

Gatekeeper: the binaries are ad-hoc signed, not notarized. If macOS blocks
them, clear the quarantine attribute once after extracting:
  xattr -dr com.apple.quarantine .

Install as a launchd service (runs at boot, HTTPS by default):
  sudo mkdir -p /opt/podsdr && sudo cp -r ./* /opt/podsdr/
  sudo cp /opt/podsdr/org.podsdr.proxy.plist /Library/LaunchDaemons/
  sudo launchctl load -w /Library/LaunchDaemons/org.podsdr.proxy.plist
  # logs: /opt/podsdr/proxy.log ; stop: sudo launchctl unload -w <plist>
