Skip to main content

Remote Use, Direct gotui, and Requirements

Remote and SSH workflows

If you want the interactive TUI on a remote machine, the simplest path is still:

codebolt

Run that on the remote box after connecting over SSH.

If you already have a running Codebolt server, you can connect a TUI to it from the CLI:

codebolt --connect 2719

That tells the CLI to launch the TUI against an existing server instead of starting a new one.

Running gotui directly

The direct binary is useful mostly for development, debugging, or custom launch flows.

Examples:

gotui
gotui -host localhost -port 2719
gotui -host remote-server -port 3001

Important detail:

  • when launched directly, gotui itself defaults to localhost and port 12345
  • when launched through codebolt, the CLI overrides connection settings by passing AGENT_SERVER_HOST and AGENT_SERVER_PORT

Project path handoff

When the CLI launches the TUI, it also passes CURRENT_PROJECT_PATH. The TUI prefers that environment value over other fallbacks when choosing the active project path.

Terminal requirements

The gotui README recommends:

  • a terminal of at least roughly 50x15
  • a terminal type like xterm-256color
  • a terminal that supports alternate screen and mouse events

The TUI also forces true-color mode where possible and uses the alternate screen for the full-screen interface.

Troubleshooting signals

If the TUI fails to render or exits unexpectedly, the implementation writes debug logs to the OS temp directory:

  • gotui-debug.log
  • gotui-channels.log

These are the first places to inspect for terminal rendering or startup issues.

Practical limitations

The current TUI focuses on terminal-native surfaces:

  • Chat
  • Logs
  • Git
  • Files
  • dialogs and pickers around those areas

If you need the fullest panel ecosystem or richer visual UI affordances, the desktop app remains the broader surface.

See also