Show HN: Kyushu – A self-hostable WASM sandbox for JavaScript workers
摘要
Kyushu 是一个开源 CLI 工具,支持将类似 Cloudflare Workers 的 JS / TS 处理函数编译为独立的 WebAssembly 二进制文件。它通过 WASM 沙箱实现环境隔离,无需依赖 Node.js、Bun 或 Docker 即可在 VPS 等任何地方运行。目前该项目处于早期实验阶段。
荐读理由
在独立开发项目中,你可以利用该工具将 JS/TS 处理程序直接编译为 WASM 二进制文件,摆脱对 Node.js 或 Docker 的依赖,在任意 VPS 上实现类似 Cloudflare Workers 的轻量化自托管部署。
原文
Early experiment — expect breaking changes.
A Self-Hostable Wasm Sandbox for JavaScript Workers
Ever wanted to run a Cloudflare Workers-style handler, on a VPS or anywhere, without Node.js, Bun, or even Docker?
curl -fsSL https://kyushu.dev/install | bash
What is Kyushu?
Kyushu is an open source CLI that lets you write a JavaScript or TypeScript handler, build it into a self-contained WebAssembly binary, and run it anywhere with one command - kyu.
No Node, Bun, or Docker - just a single binary
Cloudflare Workers-style API - familiar
fetchhandlerSelf-hostable - runs on a VPS or anywhere
WebAssembly sandbox - isolated from the host
What people are saying (probably)
"But...why?"
JD John Doe Node.js Developer, NaN years experience
"I like Docker"
"Have you heard of Bun?"
这条对你有帮助吗?