For plain vim, there is this project: GitHub - rhysd/vim.wasm: Vim editor ported to WebAssembly
Is there something similar for neovim? To compile it to wasm32 and run it in Chrome ? (Some type of virtual-file-system API would be provided for saving / loading).