All Projects โ†’ moul โ†’ Gotty Client

moul / Gotty Client

Licence: mit
๐Ÿ”ง terminal client for GoTTY

Programming Languages

go
31211 projects - #10 most used programming language
hack
652 projects

Projects that are alternatives of or similar to Gotty Client

Grex
A command-line tool and library for generating regular expressions from user-provided test cases
Stars: โœญ 4,847 (+2372.96%)
Mutual labels:  cli, terminal
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies ๐Ÿš€
Stars: โœญ 2,912 (+1385.71%)
Mutual labels:  cli, terminal
Cash Cli
๐Ÿ’ฐ๐Ÿ’ฐ Convert currency rates directly from your terminal!
Stars: โœญ 168 (-14.29%)
Mutual labels:  cli, terminal
Actions Cli
Monitor your GitHub Actions in real time from the command line
Stars: โœญ 156 (-20.41%)
Mutual labels:  cli, terminal
Termuxarch
Experience the pleasure of the Linux command prompt in Android, Chromebook, Fire OS and Windows on smartphone, smartTV, tablet and wearable https://termuxarch.github.io/TermuxArch/
Stars: โœญ 183 (-6.63%)
Mutual labels:  cli, terminal
Ttab
macOS and Linux CLI for opening a new terminal tab/window, optionally with a command to execute and/or display settings
Stars: โœญ 160 (-18.37%)
Mutual labels:  cli, terminal
Mellplayer
A tiny terminal player based on Python3
Stars: โœญ 176 (-10.2%)
Mutual labels:  cli, terminal
Nord Xfce Terminal
An arctic, north-bluish clean and elegant Xfce Terminal color theme.
Stars: โœญ 136 (-30.61%)
Mutual labels:  cli, terminal
Commander
Test your command line interfaces on windows, linux and osx and nodes viรก ssh and docker
Stars: โœญ 183 (-6.63%)
Mutual labels:  cli, terminal
Alive Progress
A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations!
Stars: โœญ 2,940 (+1400%)
Mutual labels:  cli, terminal
Cli Menu
๐Ÿ–ฅ Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.
Stars: โœญ 1,776 (+806.12%)
Mutual labels:  cli, terminal
Vcspull
๐Ÿ”„ synchronize projects via yaml/json manifest. built on libvcs
Stars: โœญ 187 (-4.59%)
Mutual labels:  cli, terminal
Qov
The terminal presentation tool.
Stars: โœญ 141 (-28.06%)
Mutual labels:  cli, terminal
Stacks Cli
๐Ÿ“Š Analyze website stack from the terminal ๐Ÿ’ป
Stars: โœญ 1,962 (+901.02%)
Mutual labels:  cli, terminal
Bottom
Yet another cross-platform graphical process/system monitor.
Stars: โœญ 3,182 (+1523.47%)
Mutual labels:  cli, terminal
Mandown
man-page inspired Markdown viewer
Stars: โœญ 173 (-11.73%)
Mutual labels:  cli, terminal
Galacritty
WIP GTK terminal emulator based on Alacritty
Stars: โœญ 136 (-30.61%)
Mutual labels:  cli, terminal
Graphql Cli
๐Ÿ“Ÿ Command line tool for common GraphQL development workflows
Stars: โœญ 1,814 (+825.51%)
Mutual labels:  cli, terminal
Piano Rs
A multiplayer piano using UDP sockets that can be played using computer keyboard, in the terminal
Stars: โœญ 180 (-8.16%)
Mutual labels:  cli, terminal
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: โœญ 14,096 (+7091.84%)
Mutual labels:  cli, terminal

gotty-client

๐Ÿ”ง Terminal client for GoTTY.

Build Status GoDoc FOSSA Status Sourcegraph

                                                              +----------------+
               +--------------+                +---------+--->|   /bin/bash    |
               |              |                |         |    +----------------+
           +-->|   Browser    |--+             |         |
+-------+  |   |              |  |             |         |
|       |  |   +--------------+  |             |         |    +----------------+
|  Bob  |--+                     +-websocket-->|  Gotty  |--->| emacs /var/www |
|       |  |    XXXXXXXXXXXXXX   |             |         |    +----------------+
+-------+  |   X              X  |             |         |
           +-->X gotty-client X--+             |         |
               X              X                |         |    +----------------+
                XXXXXXXXXXXXXX                 +---------+--->|  tmux attach   |
                                                              +----------------+

Example

Server side (GoTTY)

$ gotty -p 9191 sh -c 'while true; do date; sleep 1; done'
2015/08/24 18:54:31 Server is starting with command: sh -c while true; do date; sleep 1; done
2015/08/24 18:54:31 URL: http://[::1]:9191/
2015/08/24 18:54:34 GET /ws
2015/08/24 18:54:34 New client connected: 127.0.0.1:61811
2015/08/24 18:54:34 Command is running for client 127.0.0.1:61811 with PID 64834
2015/08/24 18:54:39 Command exited for: 127.0.0.1:61811
2015/08/24 18:54:39 Connection closed: 127.0.0.1:61811
...

Client side

$ gotty-client http://localhost:9191/
INFO[0000] New title: GoTTY - sh -c while true; do date; sleep 1; done (jean-michel-van-damme.local)
WARN[0000] Unhandled protocol message: json pref: 2{}
Mon Aug 24 18:54:34 CEST 2015
Mon Aug 24 18:54:35 CEST 2015
Mon Aug 24 18:54:36 CEST 2015
Mon Aug 24 18:54:37 CEST 2015
Mon Aug 24 18:54:38 CEST 2015
^C

Usage

$ gotty-client -h
NAME:
   gotty-client - GoTTY client for your terminal

USAGE:
   gotty-client [global options] command [command options] GOTTY_URL

AUTHOR:
   Manfred Touron <https://github.com/moul/gotty-client>

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -D                  Enable debug mode [$GOTTY_CLIENT_DEBUG]
   --skip-tls-verify            Skip TLS verify [$SKIP_TLS_VERIFY]
   --use-proxy-from-env         Use Proxy from environment [$USE_PROXY_FROM_ENV]
   --detach-keys value          Key sequence for detaching gotty-client (default: "ctrl-p,ctrl-q")
   --v2                         For Gotty 2.0 [$GOTTY_CLIENT_GOTTY2]
   --ws-origin value, -w value  WebSocket Origin URL [$GOTTY_CLIENT_WS_ORIGIN]
   --help, -h                   show help
   --version, -v                print the version

Install

Install latest version using Golang (recommended):

git clone https://github.com/moul/gotty-client
cd gotty-client
make install # or `go install ./cmd/gotty-client`

PS: I don't know why, but go get github.com/moul/gotty-client/cmd/gotty-client is not stable everywhere


Install latest version using Homebrew (Mac OS X)

$ brew install https://raw.githubusercontent.com/moul/gotty-client/master/contrib/homebrew/gotty-client.rb --HEAD

or the latest released version

$ brew install https://raw.githubusercontent.com/moul/gotty-client/master/contrib/homebrew/gotty-client.rb

Changelog

See https://github.com/moul/gotty-client/releases

License

MIT

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].