WebAssembly Unix terminal built with 🦀Rust🦀
- Essential Unix commands (sh, ls, cp, mv, cat, cowsay, etc)
- Basic Vi implementation
- Pipes and file redirect
- Variables and subshells
- File system via rust-vfs
- Basic scripting support (try
sh example.sh) - GNU Readline-like features (key bindings, history, tab-complete)
- ANSI escape code support, including some colors
- Running
foo=bar echo ${foo}will printfoo's old value [cannot compare multiword values because of how variable substition works- No emoji support in
vi
$ fortune -s | cowsay
_____________________________________
< Your mother is disappointed in you. >
-------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
$ # We also have file redirect
$ echo "Wow what a great fortune" > file
$ # We could do `cat file` as well
$ cat < file
Wow what a great fortune
cargo install wasm-packwasm-pack build --devcd wwwnpm installnpm run start
App will be served on port 8080
cargo install wasm-packwasm-pack build --no-default-featurescd wwwnpm installnpm run build
Build will be in www/dist/
MIT