webterm

Crates.iowebterm
lib.rswebterm
version0.2.0
sourcesrc
created_at2019-06-05 13:36:19.063558
updated_at2019-09-29 02:55:18.561056
descriptionxterm.js - based webterminal
homepage
repositoryhttps://github.com/fubarnetes/webterm
max_upload_size
id139143
size636,584
Fabian Freyer (fabianfreyer)

documentation

https://docs.rs/webterm

README

webterm

web terminal based on xterm.js in rust

Screenshot

Is it any good?

Yes.

How does it work?

There is a rust backend based Actix, consisting of two actors:

  • Websocket implements a websocket that speaks the Terminado protocol
  • Terminal handles communication to a child spawned on a PTY using tokio-pty-process.

The frontend is a static HTML page served by actix-web providing an xterm.js UI.

Should I run this on the internet?

Probably not. It lets anyone who can access the webpage control your system.

Commit count: 95

cargo fmt