Unkernel 讓 Linux 核心在瀏覽器裡執行
Unkernel: Linux kernel in WASM
想在瀏覽器裡試用 Linux 環境,通常得先準備自己的電腦或伺服器。
- Unkernel 把 Linux 編譯成 WebAssembly,讓未修改的 RISC-V 64 位元程式能直接在瀏覽器分頁中執行。
- 頁面提供終端機、儲存空間、顯示與音效,也能預覽在其中啟動的網頁伺服器。
- 這讓人可以在瀏覽器裡操作 Linux 環境,並試跑相關程式。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
unkernel
(
3
.
9
M
i
B
)
Press Escape, then Tab to move focus out of the terminal, or Shift+Tab to move focus backward.W
Esc Tab Ctrl^C←↑↓→|/-~Paste
❯Ctrl⇧O 0:con+
^A 512M fx
┤ about ├
unkernel: Linux compiled to WebAssembly,
running unmodified riscv64 user space in your browser tab.
sourcegithub.com/pithings/unkernelkernel Linux 7.3.4+, v0.1.0-261116-447d26fcommitcabc62f, 2026-11-16
Made with ♥ by Pooya Parsa (pi0) · full credits
sponsored by Vercel
Close
⋯
Compiling
┤ unkernel:system ├
[×]
k System i Environment l Kernel log e Errors?Keys
✗
Options
- [x] [x]JIT compiler hot guest code to WebAssembly - [x] [x]Data disk/data, saved in this browser - [x] [x]Display/dev/fb0 and input devices - [x] [x]Sound ALSA and /dev/dsp - [x] []Verbose boot show all kernel messages - [x] []Safe mode boot without your changes - [x] []Worker thread experimental - [x] []fx start the coding agent at load
Network
(•)Wisp ()Wisp, custom servers ()Off
Wisp servers (comma-separated)
Memory Auto (512 MiB)
64 128 256 512 auto 1G
Font size Auto (14 px)
11 12 13 14 auto 15 16 18
Kernel command line
### Data disk
Not attached yet.
Export Import…Reset Safe mode
Preview
A web server running in the guest (e.g. python3 -m http.server 8000), in a window over the terminal or a tab of its own while this page stays open. Ctrl-A p opens it too.
Port Preview
Anywhere: Ctrl-A, then a key
0 t Ctrl-Shift-0 Window 0: the console (closes the dialog)
n c New terminal window (1 to 9: its own shell)
x Close the current terminal window (asks first)
k System: options, data disk
i Environment: browser, memory, storage, JIT
l Kernel log
e Errors
?Ctrl-Shift-/This list
d Switch between the display and the terminal
o Ctrl-Shift-O Demos: the launcher (again closes it)
p Preview a web server in the guest (the last port, or 8000; again hides or shows it)
f fx: the coding agent, in a side panel, working on this VM (again hides or shows it)
y Copy diagnostics (in a dialog, c also)
r Reboot (asks first)
s Suspend: save the system in this browser and stop (asks first; the next load offers to resume)
a About: credits and the build
Ctrl-A Send Ctrl-A itself to the guest 1…9 Ctrl-Shift-1…9 Windows 1 to 9: terminal windows, each its own shell (n opens one; it closes when its shell exits)
### In this dialog
k i l e ?System, Environment, Kernel log, Errors, Keys
← → [ ]Previous, next tab
↑ ↓Scroll
Tab ⇧Tab Move between controls (they stay in the dialog)
c Copy diagnostics
r Reboot (asks first)
s Suspend (asks first)
Esc q Close
Terminal
With text selected, Ctrl-C copies instead of sending ^C; Ctrl-Shift-C always copies. On phones, pinch the terminal to change the font size; the extra keys show above the on-screen keyboard.
esc close k i l e ? tabs c copy s suspend r reboot
Copy diagnostics Suspend Reboot