# WeTTY = Web + TTY. [![All Contributors](https://img.shields.io/badge/all_contributors-33-orange.svg?style=flat-square)](#contributors-) ![Version](https://img.shields.io/badge/version-1.1.7-blue.svg?cacheSeconds=2592000) ![Node Version](https://img.shields.io/badge/node-%3E%3D6.9-blue.svg) [![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://github.com/butlerx/wetty/tree/master/docs) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/butlerx/wetty/blob/master/LICENSE) [![Twitter: cianbutlerx](https://img.shields.io/twitter/follow/cianbutlerx.svg?style=social)](https://twitter.com/cianbutlerx) > Terminal access in browser over http/https Terminal over HTTP and https. WeTTy is an alternative to ajaxterm and anyterm but much better than them because WeTTy uses xterm.js which is a full fledged implementation of terminal emulation written entirely in JavaScript. WeTTy uses websockets rather then Ajax and hence better response time. ## Prerequisites - node >=6.9 - make - python - build-essential ## Install ```sh yarn global add wetty ``` ## Usage ```sh wetty [-h] [--port PORT] [--base BASE] [--sshhost SSH_HOST] [--sshport SSH_PORT] [--sshuser SSH_USER] [--host HOST] [--command COMMAND] [--forcessh] [--bypasshelmet] [--title TITLE] [--sslkey SSL_KEY_PATH] [--sslcert SSL_CERT_PATH] ``` Open your browser on `http://yourserver:3000/wetty` and you will prompted to login. Or go to `http://yourserver:3000/wetty/ssh/` to specify the user before hand. If you run it as root it will launch `/bin/login` (where you can specify the user name), else it will launch `ssh` and connect by default to `localhost`. The SSH connection can be forced using the `--forcessh` option. If instead you wish to connect to a remote host you can specify the `--sshhost` option, the SSH port using the `--sshport` option and the SSH user using the `--sshuser` option. Check out the [Flags docs](https://github.com/butlerx/wetty/blob/master/docs/flags.md) for a full list of flags ## FAQ Check out the [docs](https://github.com/butlerx/wetty/tree/master/docs) - [Running as daemon](https://github.com/butlerx/wetty/blob/master/docs/service.md) - [HTTPS Support](https://github.com/butlerx/wetty/blob/master/docs/https.md) - [Using NGINX](https://github.com/butlerx/wetty/blob/master/docs/nginx.md) - [Using Apache](https://github.com/butlerx/wetty/blob/master/docs/apache.md) - [Automatic Login](https://github.com/butlerx/wetty/blob/master/docs/auto-login.md) - [Downloading Files](https://github.com/butlerx/wetty/blob/master/docs/downloading-files.md) ### What browsers are supported? WeTTy supports all browsers that [xterm.js supports](https://github.com/xtermjs/xterm.js#browser-support). ## Author πŸ‘€ **Cian Butler ** - Twitter: [@cianbutlerx](https://twitter.com/cianbutlerx) - Github: [@butlerx](https://github.com/butlerx) ## Contributing ✨ Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/butlerx/wetty/issues). Please read the [development docs](https://github.com/butlerx/wetty/blob/master/docs/development.md) for installing from source and running is dev node Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Cian Butler

πŸ’» πŸ“–

Krishna Srinivas

πŸ’»

acalatrava

πŸ’»

Strubbl

πŸ’»

Oleg Kurapov

πŸ’»

Boyan Rabchev

πŸ’»

Jimmy

πŸ’»

Luca Milanesio

πŸ’»

Anthony Jund

πŸ’»

mirtouf

πŸ’»

Bertrand Roussel

πŸ’»

Ben Letchford

πŸ’»

SouraDutta

πŸ’»

Koushik M.L.N

πŸ’»

Imuli

πŸ’»

perpen

πŸ’»

Nathan LeClaire

πŸ’»

Mihir Kumar

πŸ’»

Chris Suszynski

πŸ’»

Felix Bartels

πŸ’»

Jarrett Gilliam

πŸ’»

Harry Lee

πŸ’»

Andreas KlΓΆckner

πŸ’»

DenisKramer

πŸ’»

Vamshi K Ponnapalli

πŸ’»

Tri Nguyen

πŸ“–

Felix Pojtinger

πŸ“–

Neale Pickett

πŸ’»

Matthew Piercey

πŸ“–

Kasper Holbek Jensen

πŸ“–

Farhan Khan

πŸ’»

Jurre Vriesen

πŸ’»

James Turnbull

πŸ’»
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! ## Show your support Give a ⭐️ if this project helped you! ## πŸ“ License Copyright Β© 2019 [Cian Butler ](https://github.com/butlerx).
This project is [MIT](https://github.com/butlerx/wetty/blob/master/LICENSE) licensed. ---