Web
Web Interface
Start the server and open the web UI:
tfcode web
Attach a TUI
Connect a terminal interface to a running server:
tfcode attach http://localhost:4096
Server Options
These flags apply to tfcode serve, tfcode web, and tfcode attach:
| Flag | Description | Default |
|---|---|---|
--port | Port to listen on | 0 (tries 4096) |
--hostname | Hostname to bind | 127.0.0.1 |
--mdns | Enable mDNS service discovery | false |
--mdns-domain | Custom mDNS domain | tfcode.local |
--cors | Additional allowed CORS origins | [] |
See Server Mode for the full API reference.