b50cb50f1468e89f3ba45ed81e75bd2c6de99086
webterm
web terminal based on xterm.js in rust
Is it any good?
How does it work?
There is a rust backend based Actix, consisting of two actors:
Websocketimplements a websocket that speaks the Terminado protocolTerminalhandles 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.
Local development
cargo build
cargo run
Then head to http://localhost:8080/ to see it in action!
Should I run this on the internet?
Probably not. It lets anyone who can access the webpage control your system.
Description
Languages
Rust
49.8%
Shell
32.9%
JavaScript
5.1%
CSS
4.6%
HTML
4%
Other
3.6%
