PodSDR proxy — Windows x86_64
=============================

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-windows.sh bundle instead.)

System requirements:
  - Windows 10 or 11 (64-bit)
  - WASAPI audio (built into Windows)

Run (LAN web server, HTTPS on :8080):
  Double-click run.bat, or from a terminal:  run.bat
  # then open https://<this-pc>:8080 and accept the self-signed cert once.
  # Plain HTTP:  run.bat --no-tls [port]

Cloud (reach this proxy from anywhere via the public broker — no port-
forwarding):
  run-cloud.bat home
  # Watch the console for "Pair this proxy to your account with code: XXXX"
  # and enter that code in a client's Cloud hub panel to claim this proxy.

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

Troubleshooting: run from a terminal with logging enabled to see why a
connection fails:
  set RUST_LOG=info
  run.bat

Run at boot as a Windows service: the proxy is a plain console app, so wrap it
with a service manager such as NSSM (https://nssm.cc):
  nssm install PodSDRProxy "C:\podsdr\podsdr-proxy.exe" ^
    --static-dir "C:\podsdr\web" --bind 0.0.0.0 --port 8080 --tls
  nssm set PodSDRProxy AppDirectory "C:\podsdr"
  nssm start PodSDRProxy
