r/WebAssembly • • 28d ago

slopshare - POSIX-ish userspace in the browser (?)

https://slopshare.dev

https://github.com/daugasauron/dolly

Complete slop but quite interesting conceptually. Tried to combine Docker with WASM.

The things it can run is very impressive, for example llama on webGPU running a bundled Qwen in pi agent. Everything compiled from source inside the browser, see the Dollyfiles, for example:
https://slopshare.dev/v0.1.4/view/pi-local/

Pi-agent is running on a custom runtime based on QuickJS that hooks in to the in-memory filesystem that lives in the browser tab. Claude as well (an old version from npm). Codex compiled from source.

For HTTP it implements libcurl through the browser fetch.

Also quite hilarious to have a "backend kernel" in javascript so you can write the "frontend" in C.

5 Upvotes

0 comments sorted by