All Projects → tsl0922 → Ttyd

tsl0922 / Ttyd

Licence: mit
Share your terminal over the web

Programming Languages

c
50402 projects - #5 most used programming language
typescript
32286 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language
CMake
9771 projects
SCSS
7915 projects

Projects that are alternatives of or similar to Ttyd

Xterm.js
A terminal for the web
Stars: ✭ 12,019 (+198.24%)
Mutual labels:  terminal, tty, terminal-emulators, xterm
Springboot Learning
🚕 spring boot学习案例,方便spring boot 初学者快速掌握相关知识
Stars: ✭ 724 (-82.03%)
Mutual labels:  websocket, ssl, websockets
Awesome Terminals
Terminal Emulators
Stars: ✭ 80 (-98.01%)
Mutual labels:  terminal, tty, terminal-emulators
Upterm
A terminal emulator for the 21st century.
Stars: ✭ 19,441 (+382.41%)
Mutual labels:  terminal, tty, terminal-emulators
Gotty
Share your terminal as a web application
Stars: ✭ 16,070 (+298.76%)
Mutual labels:  terminal, tty, websocket
Galacritty
WIP GTK terminal emulator based on Alacritty
Stars: ✭ 136 (-96.63%)
Mutual labels:  terminal, tty, terminal-emulators
Bigq
Messaging platform in C# for TCP and Websockets, with or without SSL
Stars: ✭ 18 (-99.55%)
Mutual labels:  websocket, ssl, websockets
Microwebsrv2
The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!
Stars: ✭ 295 (-92.68%)
Mutual labels:  websocket, ssl, websockets
Aminal
🌘 Darktile is a GPU rendered terminal emulator designed for tiling window managers.
Stars: ✭ 2,663 (-33.92%)
Mutual labels:  terminal, terminal-emulators, xterm
Beast
HTTP and WebSocket built on Boost.Asio in C++11
Stars: ✭ 3,241 (-19.58%)
Mutual labels:  websocket, ssl, websockets
contour
Modern C++ Terminal Emulator
Stars: ✭ 761 (-81.12%)
Mutual labels:  xterm, terminal-emulators
uniterm
🚧Universal Terminal Emulator, might be a great toy terminal front-end for geeks.
Stars: ✭ 22 (-99.45%)
Mutual labels:  tty, terminal-emulators
wave
MQTT Broker - for IoT, DIY, pubsub applications and more
Stars: ✭ 24 (-99.4%)
Mutual labels:  ssl, websockets
x-terminal
An xterm based Atom plugin for providing terminals inside your Atom workspace.
Stars: ✭ 34 (-99.16%)
Mutual labels:  tty, xterm
local-echo
A local-echo controller for xterm.js
Stars: ✭ 96 (-97.62%)
Mutual labels:  xterm, terminal-emulators
darktile
🌘 Darktile is a GPU rendered terminal emulator designed for tiling window managers.
Stars: ✭ 2,694 (-33.15%)
Mutual labels:  xterm, terminal-emulators
Websockets
Library for building WebSocket servers and clients in Python
Stars: ✭ 3,724 (-7.59%)
Mutual labels:  websocket, websockets
Aiowebsocket
Async WebSocket Client. Advantage: Flexible Lighter and Faster
Stars: ✭ 263 (-93.47%)
Mutual labels:  websocket, websockets
Node Slack Sdk
Slack Developer Kit for Node.js
Stars: ✭ 2,988 (-25.86%)
Mutual labels:  websocket, websockets
multitextor
Multiplatform command line text editor.
Stars: ✭ 27 (-99.33%)
Mutual labels:  tty, xterm

backend frontend Packaging status

ttyd - Share your terminal over the web

ttyd is a simple command-line tool for sharing terminal over the web.

screenshot

Features

  • Built on top of Libwebsockets with libuv for speed
  • Fully-featured terminal based on Xterm.js with CJK and IME support
  • Graphical ZMODEM integration with lrzsz support
  • SSL support based on OpenSSL
  • Run any custom command with options
  • Basic authentication support and many other custom options
  • Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt, Windows

Special thanks to JetBrains for sponsoring the opensource license to this project.

Installation

Install on macOS

Install with homebrew:

brew install ttyd

Install on Linux

  • Binary version (recommended): download from the releases page.

  • Build from source (debian/ubuntu):

    sudo apt-get install build-essential cmake git libjson-c-dev libwebsockets-dev
    git clone https://github.com/tsl0922/ttyd.git
    cd ttyd && mkdir build && cd build
    cmake ..
    make && sudo make install

    You may also need to compile/install libwebsockets from source if the libwebsockets-dev package is outdated.

  • Install on Gentoo: clone the repo and follow the directions here.

Install on Windows

Compile on Windows.

Install on OpenWrt

opkg install ttyd

Usage

Command-line Options

ttyd is a tool for sharing terminal over the web

USAGE:
    ttyd [options] <command> [<arguments...>]

VERSION:
    1.6.3

OPTIONS:
    -p, --port              Port to listen (default: 7681, use `0` for random port)
    -i, --interface         Network interface to bind (eg: eth0), or UNIX domain socket path (eg: /var/run/ttyd.sock)
    -c, --credential        Credential for Basic Authentication (format: username:password)
    -u, --uid               User id to run with
    -g, --gid               Group id to run with
    -s, --signal            Signal to send to the command when exit it (default: 1, SIGHUP)
    -a, --url-arg           Allow client to send command line arguments in URL (eg: http://localhost:7681?arg=foo&arg=bar)
    -R, --readonly          Do not allow clients to write to the TTY
    -t, --client-option     Send option to client (format: key=value), repeat to add more options
    -T, --terminal-type     Terminal type to report, default: xterm-256color
    -O, --check-origin      Do not allow websocket connection from different origin
    -m, --max-clients       Maximum clients to support (default: 0, no limit)
    -o, --once              Accept only one client and exit on disconnection
    -B, --browser           Open terminal with the default system browser
    -I, --index             Custom index.html path
    -b, --base-path         Expected base path for requests coming from a reverse proxy (eg: /mounted/here, max length: 128)
    -P, --ping-interval     Websocket ping interval(sec) (default: 300)
    -6, --ipv6              Enable IPv6 support
    -S, --ssl               Enable SSL
    -C, --ssl-cert          SSL certificate file path
    -K, --ssl-key           SSL key file path
    -A, --ssl-ca            SSL CA file path for client certificate verification
    -d, --debug             Set log level (default: 7)
    -v, --version           Print the version and exit
    -h, --help              Print this text and exit

Visit https://github.com/tsl0922/ttyd to get more information and report bugs.

Read the example usage on the wiki.

Browser Support

Modern browsers, See Browser Support.

Alternatives

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].