I am aware there are a number of Rust / OpenGL terminal emulators.
The question here is: is there any that can compile to wasm32 and run in Chrome ?
XY problem: I want to run a small terminal emulator in my webapp, and possibly try to run other TUI apps on the (in browser) terminal emulator. [Yes, there will be work that needs to be done to provide a virtual file system; but the focus of this question is just getting a Rust implemented Terminal emulator to run in Chrome/wasm32]
It runs everything in the browser using the browser's WebAssembly runtime and Web Workers for multi-threading/multi-processing. The instance will use a temporary in-memory filesystem that the JavaScript caller can mount a Directory to if you want to share files between the JavaScript caller and the WASI instance.
Other than needing to download the sharrattj/bash package from the Wasmer Registry, the demo doesn't require any internet access.
The package itself is just bash compiled with Wasmer's WASIX C toolchain.