Skip to main content

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:

FlagDescriptionDefault
--portPort to listen on0 (tries 4096)
--hostnameHostname to bind127.0.0.1
--mdnsEnable mDNS service discoveryfalse
--mdns-domainCustom mDNS domaintfcode.local
--corsAdditional allowed CORS origins[]

See Server Mode for the full API reference.