JSLinux
Run Linux or other Operating Systems in your browser!
JSLinux - Technical Notes
This emulator has a long history. The current version is based on TinyEMU and compiled to Javascript or WASM with emscripten.
The source code of the RISC-V version is available in the TinyEMU project.
Fabrice Bellard's Home Page
including many interesting projects
QuickJS: a small but complete Javascript engine.