tui

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package tui is the terminal status screen shown while the server runs. It intentionally shows only what you need to reach the dashboard: URLs, a login link, live gauges and the latest activity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenBrowser

func OpenBrowser(url string) error

OpenBrowser opens url with the platform's default browser.

func Run

func Run(ctx context.Context, svc *core.Service, info Info) error

Run shows the TUI until the user quits or ctx is cancelled.

Types

type Info

type Info struct {
	Version      string
	Instance     string
	DashboardURL string
	LoginURL     string
	OpenAIURL    string
	MCPURL       string
	DBPath       string
	LogPath      string
	Password     string // only set on first run, when it was generated
}

Info is the static information displayed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL