A WebAssembly implementation of the X11/Xlib C API that renders X windows to a browser Canvas, no real X server required. This project doesn't process X Protocol packets.
- Linux (or WSL)
- Emscripten (latest emsdk recommended;
emccmust be onPATH) - Node.js β₯ 20, pnpm β₯ 9
- cmake β₯ 3.20, make, git
pnpm installpnpm buildpnpm build:examplespnpm devThe JS API surface is documented in docs/api.md.
MIT. Third-party X.Org code under ignored-area/third-party/ and native/include/ retains its original MIT / X Consortium license.
