涨星曲线
4 天快照00unkernel 是什么
把真正的 Linux 内核编译成 WebAssembly,浏览器里不到一秒就能进 shell。
一个真正的 Linux 内核,编译为 WebAssembly。它在不到一秒的时间内启动到 shell。
01unkernel 为什么最近火
总星 4361,浏览器跑完整 Linux 的技术演示很抓眼球,性能数据也有说服力。
- GitHub 新星 · 总星 4,361
适合谁对系统底层、WebAssembly 感兴趣的技术爱好者和开发者。
国内能用吗纯浏览器本地运行,无需服务器,国内无障碍。
能做成什么可做在线 Linux 沙盒演示页,打开即用,适合教学。
评估更新于 2026-11-30
03安装教程
terminal
$ npx unkernelterminal
$ npx unkernel --distro debian # Debian 13 instead (about 57 MB, downloaded once) $ npx unkernel --distro none # no distro: the base shell (busybox) $ npx unkernel --data my-data.img # changes persist on a /data disk, created on first use $ npx unkernel --display --sound # a framebuffer and a sound card $ npx unkernel --mem 1024 --no-net # more memory, no network $ npx unkernel --mount .:/work # this directory at /work in the guest (:ro for read-only) $ npx unkernel --forward 8000:80 # host 127.0.0.1:8000 to port 80 in the guest $ npx unkernel --timeout 60 --input '{8}uname -a\n{2}poweroff\n' # scripted: wait, type, wait, type $ npx unkernel --help # everything else
以上命令整理自项目 README,具体以项目说明为准。
04常见问题
unkernel 免费吗?可以商用吗?免费使用。项目使用 GPL-2.0 许可证,分发修改版时需要同样开源。
unkernel 在国内能用吗?纯浏览器本地运行,无需服务器,国内无障碍。
GitHub 打不开怎么办?GitHub 在国内访问不稳定,可以多刷新几次,或稍后再试。本站会持续同步项目的中文介绍和安装说明。