add --listen-open flag for web LAN binding

This commit is contained in:
markmental 2026-02-11 14:17:18 -05:00
commit 1762fa250f
4 changed files with 43 additions and 5 deletions

View file

@ -81,9 +81,16 @@ Then open:
http://127.0.0.1:9009
```
Open web mode on all network interfaces (`0.0.0.0:9009`) so other machines can access it:
```bash
cargo run -- --web --listen-open
```
Notes:
- The web frontend (`index.html` + `data.js`) now uses Rust backend APIs.
- Simulation logic runs server-side in Rust (shared with CLI/TUI engine).
- `--listen-open` is only valid with `--web` and should be used on trusted networks.
### Quick match (headless)