diff --git a/src/hubblenetwork/cli.py b/src/hubblenetwork/cli.py index 556d8a2..683317c 100644 --- a/src/hubblenetwork/cli.py +++ b/src/hubblenetwork/cli.py @@ -3281,6 +3281,9 @@ def _run_sat_scan( sys.exit(1) if not printer.suppress_info_messages: + click.secho( + f"[INFO] Web GUI: {sat_mod.web_ui_url()}", fg="green" + ) click.secho( f"[INFO] Starting {mode_label}... (Press Ctrl+C to stop)" ) diff --git a/src/hubblenetwork/sat.py b/src/hubblenetwork/sat.py index 5addcb7..e7d7c99 100644 --- a/src/hubblenetwork/sat.py +++ b/src/hubblenetwork/sat.py @@ -34,6 +34,11 @@ def _packets_url(port: int = API_PORT) -> str: return f"http://localhost:{port}/api/packets" +def web_ui_url(port: int = API_PORT) -> str: + """URL of the SDR container's web GUI for viewing decoded packets.""" + return f"http://localhost:{port}/" + + # --------------------------------------------------------------------------- # Docker helpers # ---------------------------------------------------------------------------