Vercel open sources vgpu WebGPU library
Available now as open source, vgpu provides a unified solution for WebGPU development across browsers and Node.js environments.
vgpu is a small, composable TypeScript API that runs the same code in browsers, headless Node.js and deterministic mock environments. The library supports writing reusable .wgsl shader modules. Vercel developed vgpu to ship shaders on vercel.com before making it open source.
Vercel 开源为 Agent 设计的极简 WebGPU 库:vgpu vgpu 是一套小型、可组合的 TypeScript API,同一份代码运行于浏览器、无头 Node.js 与确定性 mock(测试/CI),并支持把 .wgsl 着色器写成可复用模块。 vgpu.sh Vercel @vercel We built vgpu.sh to ship shaders on vercel.com . Now it's open source. ▪︎ Minimal agent-first WebGPU library ▪︎ Run in the browser or headless Node.js ▪︎ Render in CPU sandboxes and CI tests ▪︎ Create reusable .wgsl modules Your browser does not support the video tag. 🔗 View on Twitter 🔗 View Quoted Tweet 💬 0 🔄 0 ❤️ 1 👀 276 ⚡