Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/hubblenetwork/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
)
Expand Down
5 changes: 5 additions & 0 deletions src/hubblenetwork/sat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
# ---------------------------------------------------------------------------
Expand Down
Loading