Skip to content

DevScholar/em-x11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

265 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

EmX11

⚠️ This project is in early development and is not yet stable. Expect breaking changes and missing features.

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.

TWM Screenshot

Prerequisites

  • Linux (or WSL)
  • Emscripten (latest emsdk recommended; emcc must be on PATH)
  • Node.js β‰₯ 20, pnpm β‰₯ 9
  • cmake β‰₯ 3.20, make, git
pnpm install

Build (library only)

pnpm build

Build with examples

pnpm build:examples

Run

pnpm dev

Documentation

The JS API surface is documented in docs/api.md.

License

MIT. Third-party X.Org code under ignored-area/third-party/ and native/include/ retains its original MIT / X Consortium license.

About

πŸ’«π• 🌐X11 Client API Shim Implemented in WASM

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages