LinuxCommandLibrary

gotty

Share terminal as a web application

TLDR

Share terminal as web

$ gotty [command]
copy
Share with write permission
$ gotty -w [bash]
copy
Specify port
$ gotty -p [8080] [command]
copy
With authentication
$ gotty -c [user:pass] [command]
copy
Random URL path
$ gotty --random-url [command]
copy

SYNOPSIS

gotty [options] command

DESCRIPTION

gotty shares a terminal command as a web application accessible through a browser. It runs a command and exposes it through HTTP, enabling remote terminal access, log viewing, and collaborative debugging.
Authentication and TLS are supported for secure deployments. The -w flag enables browser users to send input to the running command.

PARAMETERS

COMMAND

Command to share.
-w, --permit-write
Allow input from browser.
-p PORT, --port PORT
Server port.
-c CRED, --credential CRED
Basic auth credentials.
--random-url
Generate random URL path.
--help
Display help information.

CONFIGURATION

~/.gotty

Configuration file for default settings like port, TLS certificates, and credential options.

CAVEATS

Security sensitive with -w flag. Use authentication in production. Firewall considerations.

HISTORY

gotty was created by Iwasaki Yudai to share terminal sessions through web browsers.

SEE ALSO

ttyd(1), tmux(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community