Documentation
¶
Overview ¶
Package webtty mounts a browser-based terminal under /tools/webtty. It wraps github.com/yogasw/web-tty, which spawns gotty internally and proxies HTTP + WebSocket traffic — no extra port is exposed outside the host.
The tool is admin-only (System tag) and can be toggled on/off via the Enabled config flag without a redeploy.
templ: version: v0.3.1020
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StaticFS embed.FS
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Enabled controls whether the terminal is accessible. When false,
// the tool page shows a disabled notice instead of the terminal.
Enabled bool `wick:"desc=Enable or disable the web terminal. When disabled, the page shows a notice instead of the terminal.;checkbox"`
}
Config holds the runtime-editable knobs for the web terminal tool.
Click to show internal directories.
Click to hide internal directories.