Crate tty_web

Crate tty_web 

Source
Expand description

tty-web โ€” web-based terminal emulator.

Opens a real PTY in the browser over WebSocket. Each connection is backed by a persistent session that survives tab closes and reconnects.

Modulesยง

config ๐Ÿ”’
CLI configuration parsed from flags and environment variables.
pty ๐Ÿ”’
UNIX pseudo-terminal (PTY) allocation and window-size control.
session ๐Ÿ”’
Persistent terminal sessions with scrollback and lifecycle management.
terminal ๐Ÿ”’
High-level terminal abstraction over a PTY.
web ๐Ÿ”’
HTTP and WebSocket server built on Axum.

Functionsยง

main ๐Ÿ”’
shutdown_signal ๐Ÿ”’