About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
unkernel
tsiry-sandratraina.com
/
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
An experimental port of NetBSD, FreeBSD, OpenBSD, and XNU to unkernel
unkernel.dev
unkernel
linux
freebsd
netbsd
wasm
+5 more
unkernel
linux
freebsd
netbsd
wasm
Star
Starred
Star
1
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Version history of
package.json
November 2026
Merge remote-tracking branch
'upstream/main'
'upstream/main'
tsiry-sandratraina.com
·
21h ago
4fc5c229
Copied
Failed
Copy SHA
tsiry-sandratraina.com
4fc5c229
Copied
Failed
Copy SHA
Merge remote-tracking branch 'upstream/main'
21h ago
Bump the version to 0.3.0
Pooya Parsa
·
21h ago
73856e96
Copied
Failed
Copy SHA
Pooya Parsa
73856e96
Copied
Failed
Copy SHA
Bump the version to 0.3.0
21h ago
Keep the page's data disk in OPFS in worker mode: OpfsDisk (8 MiB extent files), the SDK's backend option for the data disk, a one-way migration from IndexedDB, a storage quota block and a free Disk size in Settings, and a question in a second tab instead of an in-memory copy
Pooya Parsa
·
21h ago
d8e442a6
Copied
Failed
Copy SHA
Pooya Parsa
d8e442a6
Copied
Failed
Copy SHA
Keep the page's data disk in OPFS in worker mode: OpfsDisk (8 MiB extent files), the SDK's backend option for the data disk, a one-way migration from IndexedDB, a storage quota block and a free Disk size in Settings, and a question in a second tab instead of an in-memory copy
21h ago
Add guest USB on WebUSB: kwusb (a USB host controller whose transfers the host serves, with usbfs and the FTDI, CP210x, CH341 and PL2303 serial drivers), the SDK's usb option and vm.usb with a fake test device, and a USB devices section in the page's Settings
Pooya Parsa
·
23h ago
495fe30a
Copied
Failed
Copy SHA
Pooya Parsa
495fe30a
Copied
Failed
Copy SHA
Add guest USB on WebUSB: kwusb (a USB host controller whose transfers the host serves, with usbfs and the FTDI, CP210x, CH341 and PL2303 serial drivers), the SDK's usb option and vm.usb with a fake test device, and a USB devices section in the page's Settings
23h ago
Add guest Bluetooth on Web Bluetooth: kwbt (an HCI transport, hci0 while a controller is attached), the SDK's bluetooth option and vm.bluetooth with an emulated LE controller, Bluetooth and Serial ports sections in the page's Settings with Terminal buttons, and the Bluetooth and Serial Monitor launcher apps
Pooya Parsa
·
1d ago
42b91da2
Copied
Failed
Copy SHA
Pooya Parsa
42b91da2
Copied
Failed
Copy SHA
Add guest Bluetooth on Web Bluetooth: kwbt (an HCI transport, hci0 while a controller is attached), the SDK's bluetooth option and vm.bluetooth with an emulated LE controller, Bluetooth and Serial ports sections in the page's Settings with Terminal buttons, and the Bluetooth and Serial Monitor launcher apps
1d ago
Add guest serial ports on Web Serial: kwserial (/dev/ttyACM0..3), the SDK's serial option and vm.serial, Connect in the page's Settings and from a toast, and the Thonny and GTKTerm launcher apps
Pooya Parsa
·
1d ago
ab334389
Copied
Failed
Copy SHA
Pooya Parsa
ab334389
Copied
Failed
Copy SHA
Add guest serial ports on Web Serial: kwserial (/dev/ttyACM0..3), the SDK's serial option and vm.serial, Connect in the page's Settings and from a toast, and the Thonny and GTKTerm launcher apps
1d ago
Merge branch 'main' into tailscale
Pooya Parsa
·
1d ago
4b713a5a
Copied
Failed
Copy SHA
Pooya Parsa
4b713a5a
Copied
Failed
Copy SHA
Merge branch 'main' into tailscale
1d ago
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva
encoder
encoder
Pooya Parsa
·
1d ago
1b229902
Copied
Failed
Copy SHA
Pooya Parsa
1b229902
Copied
Failed
Copy SHA
Add a guest microphone and camera: kwsnd capture, kwcam (V4L2, raw and host-encoded H.264), and camera frames named to the kwva encoder
1d ago
va: guest VA-API on the browser's WebCodecs (kwva): a libva driver in the base's kw layer sends each picture over vsock to a VideoDecoder or VideoEncoder on the page (createKernel({ va }), on by default on Debian, ?va=0); it decodes VP9, H.264, AV1 and HEVC (HEVC not yet run in a browser), encodes VP9, reads pictures back as exact NV12, exports surfaces as dmabufs of virtio-gpu resources and draws a decoded VideoFrame into a BGRX surface on the GPU (mpv --hwdec=vaapi --vo=dmabuf-wayland: 1080p H.264 at 30 fps on an M4 Pro)
Pooya Parsa
·
5d ago
1f0648d8
Copied
Failed
Copy SHA
Pooya Parsa
1f0648d8
Copied
Failed
Copy SHA
va: guest VA-API on the browser's WebCodecs (kwva): a libva driver in the base's kw layer sends each picture over vsock to a VideoDecoder or VideoEncoder on the page (createKernel({ va }), on by default on Debian, ?va=0); it decodes VP9, H.264, AV1 and HEVC (HEVC not yet run in a browser), encodes VP9, reads pictures back as exact NV12, exports surfaces as dmabufs of virtio-gpu resources and draws a decoded VideoFrame into a BGRX surface on the GPU (mpv --hwdec=vaapi --vo=dmabuf-wayland: 1080p H.264 at 30 fps on an M4 Pro)
5d ago
js: export the page's Web Audio sink as createAudioOut() from unkernel/web
(#17)
(#17)
Pooya Parsa
·
5d ago
5a4ba76d
Copied
Failed
Copy SHA
Pooya Parsa
5a4ba76d
Copied
Failed
Copy SHA
js: export the page's Web Audio sink as createAudioOut() from unkernel/web (#17)
5d ago
Add guest Vulkan on the page's WebGPU (kwvk): a Vulkan 1.2 ICD in the base (vk/icd, libvulkan_kw.so under the stock loader) sends commands over vsock port 1018 to a renderer in the SDK (createKernel({ vk }), js/core/vk*.ts) that implements them on a GPUDevice, with SPIR-V translated to WGSL by naga as wasm (vk/naga); Wayland, X11 and headless presentation by readback; the page's Guest Vulkan option, Environment row and vkcube, vkmark and GTK tiles; checks in test/vk
Pooya Parsa
·
6d ago
3538073b
Copied
Failed
Copy SHA
Pooya Parsa
3538073b
Copied
Failed
Copy SHA
Add guest Vulkan on the page's WebGPU (kwvk): a Vulkan 1.2 ICD in the base (vk/icd, libvulkan_kw.so under the stock loader) sends commands over vsock port 1018 to a renderer in the SDK (createKernel({ vk }), js/core/vk*.ts) that implements them on a GPUDevice, with SPIR-V translated to WGSL by naga as wasm (vk/naga); Wayland, X11 and headless presentation by readback; the page's Guest Vulkan option, Environment row and vkcube, vkmark and GTK tiles; checks in test/vk
6d ago
Credit the GL renderer's and the page's upstreams, and ship their notices in THIRD-PARTY.md: in the npm package, the release assets and the page's /licenses.md
Pooya Parsa
·
1w ago
fda0adc8
Copied
Failed
Copy SHA
Pooya Parsa
fda0adc8
Copied
Failed
Copy SHA
Credit the GL renderer's and the page's upstreams, and ship their notices in THIRD-PARTY.md: in the npm package, the release assets and the page's /licenses.md
1w ago
web: WebSockets in the guest preview: the service worker puts the shim /vm-ws.js into the HTML documents it relays, whose WebSocket reaches the guest (ws://localhost:<port>, /vm/<id>/<port>/, root-relative paths) through the page over a BroadcastChannel, where websocketOver() (js/core/ws.ts, RFC 6455 over vm.connect()) runs it, with credits, a socket cap and Web Locks for teardown; a preview document's root-relative requests are relayed to its port, so a Vite dev server's client and HMR work
Pooya Parsa
·
1w ago
827dfa04
Copied
Failed
Copy SHA
Pooya Parsa
827dfa04
Copied
Failed
Copy SHA
web: WebSockets in the guest preview: the service worker puts the shim /vm-ws.js into the HTML documents it relays, whose WebSocket reaches the guest (ws://localhost:<port>, /vm/<id>/<port>/, root-relative paths) through the page over a BroadcastChannel, where websocketOver() (js/core/ws.ts, RFC 6455 over vm.connect()) runs it, with credits, a socket cap and Web Locks for teardown; a preview document's root-relative requests are relayed to its port, so a Vite dev server's client and HMR work
1w ago
gl: window images and WebGL2 fixes in the renderer: vm.gl.gpu.image() gives a resource as an ImageBitmap with alpha, without readback (kw_vgpu_blit; the context now has alpha and presentation writes it opaque), for a page compositor showing guest dmabufs by resource id; snapshots are refused only while a 3D resource exists or a context has submitted commands, and a restored device recreates an idle context; a failed 3D command records its reason (stats.lastError), a lost WebGL context fails every command at once, and the blit clears the GL errors it leaves; virglrenderer patches 14 to 16: border clamp maps to edge clamp, vertex inputs and colour outputs are typed on WebGL2 (Firefox's WebRender draws with integer attributes: its context went into error and its window stayed transparent), integer colour buffers are cleared with glClearBuffer
Pooya Parsa
·
1w ago
cdb3ddc4
Copied
Failed
Copy SHA
Pooya Parsa
cdb3ddc4
Copied
Failed
Copy SHA
gl: window images and WebGL2 fixes in the renderer: vm.gl.gpu.image() gives a resource as an ImageBitmap with alpha, without readback (kw_vgpu_blit; the context now has alpha and presentation writes it opaque), for a page compositor showing guest dmabufs by resource id; snapshots are refused only while a 3D resource exists or a context has submitted commands, and a restored device recreates an idle context; a failed 3D command records its reason (stats.lastError), a lost WebGL context fails every command at once, and the blit clears the GL errors it leaves; virglrenderer patches 14 to 16: border clamp maps to edge clamp, vertex inputs and colour outputs are typed on WebGL2 (Firefox's WebRender draws with integer attributes: its context went into error and its window stayed transparent), integer colour buffers are cleared with glClearBuffer
1w ago
gl: guest GL in unkernel behind createKernel({ gl }): the SDK loads the wasm renderer from dist (virgl.mjs, virgl.wasm), listens on vsock port 1019 and starts the vtest forwarder shipped in the base's kw layer; a prepared Debian disk and an end-to-end check in headless Chromium (eglinfo, frame checksums, glmark2 against llvmpipe)
Pooya Parsa
·
1w ago
ff792f61
Copied
Failed
Copy SHA
Pooya Parsa
ff792f61
Copied
Failed
Copy SHA
gl: guest GL in unkernel behind createKernel({ gl }): the SDK loads the wasm renderer from dist (virgl.mjs, virgl.wasm), listens on vsock port 1019 and starts the vtest forwarder shipped in the base's kw layer; a prepared Debian disk and an end-to-end check in headless Chromium (eglinfo, frame checksums, glmark2 against llvmpipe)
1w ago
Add a guest pc sampling profiler driven from the host: time samples through a profile IRQ bit set by a sampler thread (SMP kernel) and instruction samples through the budget, per-CPU rings in the kernel, the tier and the block before each stop from kwemu, and --profile in the CLI
Pooya Parsa
·
1w ago
ccf57e51
Copied
Failed
Copy SHA
Pooya Parsa
ccf57e51
Copied
Failed
Copy SHA
Add a guest pc sampling profiler driven from the host: time samples through a profile IRQ bit set by a sampler thread (SMP kernel) and instruction samples through the budget, per-CPU rings in the kernel, the tier and the block before each stop from kwemu, and --profile in the CLI
1w ago
sdk: boot distro images from a file or over
HTTP
HTTP
Pooya Parsa
·
1w ago
be940d2c
Copied
Failed
Copy SHA
Pooya Parsa
be940d2c
Copied
Failed
Copy SHA
sdk: boot distro images from a file or over HTTP
1w ago
Bump the package to 0.2.0, the first release of the aarch64 guest
Pooya Parsa
·
1w ago
0deeb1b5
Copied
Failed
Copy SHA
Pooya Parsa
0deeb1b5
Copied
Failed
Copy SHA
Bump the package to 0.2.0, the first release of the aarch64 guest
1w ago
Switch the guest CPU to
AArch64
AArch64
Pooya Parsa
·
1w ago
783c48c7
Copied
Failed
Copy SHA
Pooya Parsa
783c48c7
Copied
Failed
Copy SHA
Switch the guest CPU to AArch64
1w ago
Build the SMP kernel and the bundle's SMP patch with
kernel/build.sh
kernel/build.sh
Pooya Parsa
·
1w ago
0e1cd96b
Copied
Failed
Copy SHA
Pooya Parsa
0e1cd96b
Copied
Failed
Copy SHA
Build the SMP kernel and the bundle's SMP patch with kernel/build.sh
1w ago
Initial commit
Pooya Parsa
·
2w ago
26d08730
Copied
Failed
Copy SHA
Pooya Parsa
26d08730
Copied
Failed
Copy SHA
Initial commit
2w ago