by adom
Let an AI (Claude, ChatGPT, Codex or any agent) run Altium Designer for you: create symbols and footprints, place parts (also from Altium 365), wire and annotate schematics, Update PCB, set the stack-up and rules, route, pour copper, add mounting holes and stitching vias, run ERC and DRC, and make Gerbers, BOMs and STEP. Free in Hydrogen; bring your own AI and Altium licence.
Comparing main ← f69-dashboard-loopback
Changes on f69-dashboard-loopback that are not yet on main (three-dot, from the merge base).
2 files changed, 12 insertions(+), 3 deletions(-)
CHANGELOG.md+4@@ -1,5 +1,9 @@ # Changelog +## Unreleased (branch f69-dashboard-loopback)++- **The dashboard listens on 127.0.0.1 only** (dashboard 0.1.2, Hydrogen Ralph F69). It bound 0.0.0.0:8932, so anyone on the network could reach the page that drives Altium. Hydrogen reaches it on loopback on Windows (WSL2) and Linux alike. `altium-dashboard serve --host 0.0.0.0` puts it back on the network for someone who wants that. A running 0.1.1 is retired by the version check on the next launch.+ ## 0.2.90 - **Eleven verbs new in the standard** (EDA Bridge Standard #29, 0.30.14):
dashboard/altium_dashboard.py+8−3@@ -20,7 +20,7 @@ Serves: POST /ui/click {target} the PAGE clicks its own control CLI:- altium-dashboard serve [--port 8931] [--target BOX] [--print-url] [--dev]+ altium-dashboard serve [--port 8931] [--host 127.0.0.1] [--target BOX] [--print-url] [--dev] altium-dashboard status [--target BOX] altium-dashboard ui toast "msg" [--kind ok|err|info] altium-dashboard ui click <setup|launch|close|demo|part-tour|settings|refresh>@@ -49,7 +49,7 @@ from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer from pathlib import Path from urllib.parse import unquote, urlparse -VERSION = "0.1.1"+VERSION = "0.1.2" AI_THREAD = "altium-dashboard" DEFAULT_PORT = 8932 UI_DIR = Path(__file__).resolve().parent / "ui"@@ -1358,6 +1358,11 @@ def main(): return argv[argv.index(name) + 1] if name in argv and argv.index(name) + 1 < len(argv) else default port = int(flag("--port", DEFAULT_PORT))+ # Loopback only (Ralph F69, 2026-11-05): the dashboard drives Altium on the user's PC, so it+ # must not answer the network. Hydrogen reaches it on 127.0.0.1 on every platform (WSL2+ # forwards loopback listeners to Windows; the Linux workspace shares the host's loopback).+ # --host 0.0.0.0 is there for someone who really wants it on the LAN.+ host = flag("--host", "127.0.0.1") target = flag("--target", "") if "--dev" in argv: # maintainer view: adds the nightly-suite / cron LED globals()["DEV_MODE"] = True@@ -1483,7 +1488,7 @@ def main(): # BIND FIRST. The old order printed the URL and only then tried to bind, # so a port clash advertised a URL nothing was listening on (wiki #43). try:- srv = ThreadingHTTPServer(("0.0.0.0", port), Handler)+ srv = ThreadingHTTPServer((host, port), Handler) except OSError as e: # Lost a race, or something else owns the port. Re-probe once: if it # is us after all, this launch is still a success.