2 unstable releases

✓ Uses Rust 2018 edition

0.2.0 Sep 29, 2019
0.1.0 Jun 5, 2019

#42 in WebSocket

24 downloads per month

BSD-3-Clause and MPL-2.0 licenses

440KB
551 lines

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.

Dependencies

~23MB
~502K SLoC