wshterm: Terminal emulator over websockets.

[ bsd3, program, web ] [ Propose Tags ] [ Report a vulnerability ]

wshterm wraps google's hterm library and allows you to run terminal applications in a browser.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1
Change log ChangeLog.md
Dependencies async, base (>=4.10 && <5.0), binary, bytestring, file-embed, posix-pty, process, wai, wai-app-static, wai-websockets, warp, websockets [details]
License BSD-3-Clause
Copyright (c) 2019 Luke Clifton
Author Luke Clifton
Maintainer lukec@themk.net
Revised Revision 1 made by lukec at 2020-12-03T12:32:36Z
Category Web
Uploaded by lukec at 2019-03-11T01:01:13Z
Distributions NixOS:0.1.0.1
Executables wshterm
Downloads 1040 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2019-03-11 [all 3 reports]

Readme for wshterm-0.1.0.1

[back to package description]

wshterm

wshterm is a terminal emulator for the browser.

wshterm combines hterm with a backend application to provide a terminal emulator for the browser. Communication is done via websockets.

Features

  • Runs most CLI and TUI programs (haven't found one that didn't work yet)
  • Ability to display images using the iTerm inline image escape sequences
  • Supports resizing the terminal
  • Run an arbitary command on connection.

It currently does not support SSL, it is currently expected that if you need SSL, you will put it behind a reverse proxy such as NGINX.

It currently does not drop priveleges. Don't run it as root. Use the provided ssh_local script if you want to authenticate.

Usage

Simply run as the user you want to run as, and specify a command to be executed.

sudo -u nobody wshterm ./ssh_local