wasi-gfx
WIT packages enabling UI and graphical applications in WebAssembly — cross-platform, language-agnostic, single build, sandboxed — built on WASI and the Component Model.
Projects
-
wasi-gfxThe WIT packages — portable interfaces for building graphical apps in Wasm components. -
wasi:webgpuGPU interaction layer based on the WebGPU spec, adapted for WASI hosts. -
wasi-gfx-runtimeNative host implementation of the wasi-gfx and wasi:webgpu interfaces. -
wasi-gfx-shimShim for running wasi-gfx components on the web. -
wasi-gfx-jsImplements the WebGPU JS API on top of wasi:webgpu, for writing wasi-gfx components in JavaScript/TypeScript. -
wasi-webgpu-headersImplements webgpu.h on top of wasi:webgpu. -
wasi-gfx-examplesExample apps built with wasi-gfx.
Community
Join us on the wasi-gfx Discord.
History
wasi-gfx:surface and wasi-gfx:frame-buffer were originally part of the core WASI standard.
They've been moved into this dedicated namespace to allow faster iteration — versioned like a
library rather than a rigid standard, while staying fully committed to the Wasm Component Model.
wasi:webgpu remains an official WASI spec (it maps directly to the stable WebGPU web standard).