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
js/
cli.ts
November 2026
freebsd: a 2 GiB disk with /tmp on it and 1 GiB of memory, for
pkg
pkg
tsiry-sandratraina.com
·
21h ago
137fbdd6
Copied
Failed
Copy SHA
tsiry-sandratraina.com
137fbdd6
Copied
Failed
Copy SHA
freebsd: a 2 GiB disk with /tmp on it and 1 GiB of memory, for pkg
21h ago
Merge remote-tracking branch
'upstream/main'
'upstream/main'
tsiry-sandratraina.com
·
22h ago
4fc5c229
Copied
Failed
Copy SHA
tsiry-sandratraina.com
4fc5c229
Copied
Failed
Copy SHA
Merge remote-tracking branch 'upstream/main'
22h 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
·
1d 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
1d 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
js: add Tailscale exit nodes, and rework the page's Tailscale
settings
settings
Pooya Parsa
·
1d ago
a9c8aef5
Copied
Failed
Copy SHA
Pooya Parsa
a9c8aef5
Copied
Failed
Copy SHA
js: add Tailscale exit nodes, and rework the page's Tailscale settings
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
cli: --os NAME, --kernel and --initrd by URL, with a download
cache
cache
tsiry-sandratraina.com
·
1d ago
79819cab
Copied
Failed
Copy SHA
tsiry-sandratraina.com
79819cab
Copied
Failed
Copy SHA
cli: --os NAME, --kernel and --initrd by URL, with a download cache
1d ago
js: add a pure-JS Tailscale network device (work in
progress)
progress)
Pooya Parsa
·
1d ago
d382f7fa
Copied
Failed
Copy SHA
Pooya Parsa
d382f7fa
Copied
Failed
Copy SHA
js: add a pure-JS Tailscale network device (work in progress)
1d ago
Merge branch 'pithings:main' into main
tsiry-sandratraina.com
·
1d ago
45b22e4d
Copied
Failed
Copy SHA
tsiry-sandratraina.com
45b22e4d
Copied
Failed
Copy SHA
Merge branch 'pithings:main' into main
1d ago
js: warn when --cpus asks for more CPUs than the host has threads
(#71)
(#71)
pi0x
·
1d ago
add6ae2d
Copied
Failed
Copy SHA
pi0x
add6ae2d
Copied
Failed
Copy SHA
js: warn when --cpus asks for more CPUs than the host has threads (#71)
1d ago
js: compile hot JIT modules with TurboFan per
module
module
tsiry-sandratraina.com
·
2d ago
f0d81d1e
Copied
Failed
Copy SHA
tsiry-sandratraina.com
f0d81d1e
Copied
Failed
Copy SHA
js: compile hot JIT modules with TurboFan per module
2d ago
js: carry the guest's UDP through the direct and Wisp backends (#47)
nsttt.tngl.sh
·
2d ago
34761073
Copied
Failed
Copy SHA
nsttt.tngl.sh
34761073
Copied
Failed
Copy SHA
js: carry the guest's UDP through the direct and Wisp backends (#47)
2d ago
net: drop the default Wisp server from the
SDK
SDK
Pooya Parsa
·
2d ago
d80c0331
Copied
Failed
Copy SHA
Pooya Parsa
d80c0331
Copied
Failed
Copy SHA
net: drop the default Wisp server from the SDK
2d ago
net: document Wisp's limits, add a lookup option, move to
wisp.unkernel.dev
wisp.unkernel.dev
Pooya Parsa
·
2d ago
287e4146
Copied
Failed
Copy SHA
Pooya Parsa
287e4146
Copied
Failed
Copy SHA
net: document Wisp's limits, add a lookup option, move to wisp.unkernel.dev
2d ago
wasi: close preview 1 gaps: sockets, wasi-threads, guest clocks and CPU time,
fd_allocate
fd_allocate
Pooya Parsa
·
3d ago
87fcbbf9
Copied
Failed
Copy SHA
Pooya Parsa
87fcbbf9
Copied
Failed
Copy SHA
wasi: close preview 1 gaps: sockets, wasi-threads, guest clocks and CPU time, fd_allocate
3d ago
js: send worker-mode sound through a shared PCM ring and reuse one MessageChannel for yields (#18,
#19)
#19)
Pooya Parsa
·
6d ago
bc8ac778
Copied
Failed
Copy SHA
Pooya Parsa
bc8ac778
Copied
Failed
Copy SHA
js: send worker-mode sound through a shared PCM ring and reuse one MessageChannel for yields (#18, #19)
6d ago
guest, js: one program for the guest tools, and a Debian boot read from the image's front: kwbox (/usr/bin/kwbox, guest/src/kwbox.c) links kwtty, kw9p, kwvsock, kwshm, kwwasi, kwcmd and vtest-bridge into one static binary, called as kwbox tty|9p|vsock|shm|wasi|cmd|vtest (the per-tool paths are gone but binfmt's interpreter /usr/lib/kw/kwwasi; any other name it is called by is a host command, and kwbox is a reserved command name); /init sends an image or upper whose init still runs /usr/bin/kwtty to the base shell or safe mode; the traced boot that lays out an image is the page's (kwshm, kw.gl=1 kw.wayland=1), so wlandr is in Debian's boot set; HttpBase's background tier waits for the first read of the image before its quiet second (an image opened while its kernel loads fetched it during the boot)
Pooya Parsa
·
1w ago
47a0202a
Copied
Failed
Copy SHA
Pooya Parsa
47a0202a
Copied
Failed
Copy SHA
guest, js: one program for the guest tools, and a Debian boot read from the image's front: kwbox (/usr/bin/kwbox, guest/src/kwbox.c) links kwtty, kw9p, kwvsock, kwshm, kwwasi, kwcmd and vtest-bridge into one static binary, called as kwbox tty|9p|vsock|shm|wasi|cmd|vtest (the per-tool paths are gone but binfmt's interpreter /usr/lib/kw/kwwasi; any other name it is called by is a host command, and kwbox is a reserved command name); /init sends an image or upper whose init still runs /usr/bin/kwtty to the base shell or safe mode; the traced boot that lays out an image is the page's (kwshm, kw.gl=1 kw.wayland=1), so wlandr is in Debian's boot set; HttpBase's background tier waits for the first read of the image before its quiet second (an image opened while its kernel loads fetched it during the boot)
1w ago
guest, kernel: boot faster and carry less in the base: /init looks for the data disk and the distro image on kwblk's disks only (wd*) and the kernel has no RAM disks (CONFIG_BLK_DEV_RAM off: probing brd's 16 took about 130 ms a boot); /init and rc read files with the shell instead of head; DHCP runs in the background (net background, net wait: the console's shell starts before the lease, kwtty serve and Debian's services with start links wait for it); the bundle stores the initrd uncompressed; wlandr moves from the base to the Debian image (wland says so where there is none); the checkout's CLI turns on Node's compile cache before it loads the SDK
Pooya Parsa
·
1w ago
2abdc598
Copied
Failed
Copy SHA
Pooya Parsa
2abdc598
Copied
Failed
Copy SHA
guest, kernel: boot faster and carry less in the base: /init looks for the data disk and the distro image on kwblk's disks only (wd*) and the kernel has no RAM disks (CONFIG_BLK_DEV_RAM off: probing brd's 16 took about 130 ms a boot); /init and rc read files with the shell instead of head; DHCP runs in the background (net background, net wait: the console's shell starts before the lease, kwtty serve and Debian's services with start links wait for it); the bundle stores the initrd uncompressed; wlandr moves from the base to the Debian image (wland says so where there is none); the checkout's CLI turns on Node's compile cache before it loads the SDK
1w ago
js, web: default memory 2 GiB on desktops and Node and 512 MiB on phones, fallback sizes from 1024, 2 and 4 GiB on the page's slider, and a sparse copy of a snapshot on its way to a worker
Pooya Parsa
·
1w ago
d4c9b459
Copied
Failed
Copy SHA
Pooya Parsa
d4c9b459
Copied
Failed
Copy SHA
js, web: default memory 2 GiB on desktops and Node and 512 MiB on phones, fallback sizes from 1024, 2 and 4 GiB on the page's slider, and a sparse copy of a snapshot on its way to a worker
1w ago
Merge branch 'main' into webgl
Pooya Parsa
·
1w ago
c391ff61
Copied
Failed
Copy SHA
Pooya Parsa
c391ff61
Copied
Failed
Copy SHA
Merge branch 'main' into webgl
1w ago
Give the guest /dev/dri: kwvirtio, a virtio transport over host imports, with the stock virtio_gpu driver (createKernel({ gpu }), --gpu); the SDK's device model shows dumb-buffer scanouts on the host display and, with gl, runs virgl 3D on the page's renderer through virglrenderer's API (patch 13), presents a KMS scanout from the renderer's texture without readback and gives host code a resource's texture (vm.gl.gpu.texture); the kernel leaves out I2C, the HDMI infoframe library, the panel bridge and NET_DEVMEM (four generic switches) and backports the virtio-gpu damage-clip fix
Pooya Parsa
·
1w ago
4d203709
Copied
Failed
Copy SHA
Pooya Parsa
4d203709
Copied
Failed
Copy SHA
Give the guest /dev/dri: kwvirtio, a virtio transport over host imports, with the stock virtio_gpu driver (createKernel({ gpu }), --gpu); the SDK's device model shows dumb-buffer scanouts on the host display and, with gl, runs virgl 3D on the page's renderer through virglrenderer's API (patch 13), presents a KMS scanout from the renderer's texture without readback and gives host code a resource's texture (vm.gl.gpu.texture); the kernel leaves out I2C, the HDMI infoframe library, the panel bridge and NET_DEVMEM (four generic switches) and backports the virtio-gpu damage-clip fix
1w ago
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
Pooya Parsa
·
1w ago
fe8c9773
Copied
Failed
Copy SHA
Pooya Parsa
fe8c9773
Copied
Failed
Copy SHA
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
1w ago
Name the file and offset of each profile sample, so that the same code adds up across processes, and symbolize sites from a copy of the guest root (--profile-root, symbolizeProfile)
Pooya Parsa
·
1w ago
bcf17820
Copied
Failed
Copy SHA
Pooya Parsa
bcf17820
Copied
Failed
Copy SHA
Name the file and offset of each profile sample, so that the same code adds up across processes, and symbolize sites from a copy of the guest root (--profile-root, symbolizeProfile)
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
Park, snapshot and resume the SMP kernel: a rendezvous of every CPU at the consistent point, a restore that starts the other CPUs again and restarts each idle task, the CPU count in the snapshot, and Suspend on the page with several CPUs
Pooya Parsa
·
1w ago
a30598df
Copied
Failed
Copy SHA
Pooya Parsa
a30598df
Copied
Failed
Copy SHA
Park, snapshot and resume the SMP kernel: a rendezvous of every CPU at the consistent point, a restore that starts the other CPUs again and restarts each idle task, the CPU count in the snapshot, and Suspend on the page with several CPUs
1w ago
Run the distro images as a default user (user, 1000:1000) with passwordless sudo, load the kw profile in every interactive shell, and move ~/README from the page into the
images
images
Pooya Parsa
·
1w ago
1fcc7e64
Copied
Failed
Copy SHA
Pooya Parsa
1fcc7e64
Copied
Failed
Copy SHA
Run the distro images as a default user (user, 1000:1000) with passwordless sudo, load the kw profile in every interactive shell, and move ~/README from the page into the images
1w ago
cli: rename --smp to --cpus
Pooya Parsa
·
1w ago
b7d1c6d8
Copied
Failed
Copy SHA
Pooya Parsa
b7d1c6d8
Copied
Failed
Copy SHA
cli: rename --smp to --cpus
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
Run WASI programs from the guest on the host's wasm engine
(prototype)
(prototype)
Pooya Parsa
·
1w ago
b5b75b53
Copied
Failed
Copy SHA
Pooya Parsa
b5b75b53
Copied
Failed
Copy SHA
Run WASI programs from the guest on the host's wasm engine (prototype)
1w ago
docs: describe the aarch64 system and its full test matrix
Pooya Parsa
·
1w ago
ff43220c
Copied
Failed
Copy SHA
Pooya Parsa
ff43220c
Copied
Failed
Copy SHA
docs: describe the aarch64 system and its full test matrix
1w ago
Remove the riscv64 CPU, reset the kwemu ABI to
2
2
Pooya Parsa
·
1w ago
a1acf312
Copied
Failed
Copy SHA
Pooya Parsa
a1acf312
Copied
Failed
Copy SHA
Remove the riscv64 CPU, reset the kwemu ABI to 2
1w ago
a64: translate AdvSIMD, AES, PMULL and SHA with wasm
SIMD
SIMD
Pooya Parsa
·
1w ago
3414200e
Copied
Failed
Copy SHA
Pooya Parsa
3414200e
Copied
Failed
Copy SHA
a64: translate AdvSIMD, AES, PMULL and SHA with wasm SIMD
1w ago
a64: compile hot code to wasm in the
JIT
JIT
Pooya Parsa
·
1w ago
0573a18e
Copied
Failed
Copy SHA
Pooya Parsa
0573a18e
Copied
Failed
Copy SHA
a64: compile hot code to wasm in the JIT
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
Ship the SMP kernel as a patch in the UP bundle (packaging
prototype)
prototype)
Pooya Parsa
·
1w ago
869f8375
Copied
Failed
Copy SHA
Pooya Parsa
869f8375
Copied
Failed
Copy SHA
Ship the SMP kernel as a patch in the UP bundle (packaging prototype)
1w ago
Run kwblk, kwshm, kwfb, kwinput and kwsnd on SMP kernels (SMP step
5)
5)
Pooya Parsa
·
1w ago
9869855a
Copied
Failed
Copy SHA
Pooya Parsa
9869855a
Copied
Failed
Copy SHA
Run kwblk, kwshm, kwfb, kwinput and kwsnd on SMP kernels (SMP step 5)
1w ago
Run kwemu's JIT on every CPU of an SMP kernel (SMP step
4)
4)
Pooya Parsa
·
1w ago
3b94faa2
Copied
Failed
Copy SHA
Pooya Parsa
3b94faa2
Copied
Failed
Copy SHA
Run kwemu's JIT on every CPU of an SMP kernel (SMP step 4)
1w ago
Boot an SMP kernel on several CPUs in Node (SMP step
2)
2)
Pooya Parsa
·
2w ago
55095f50
Copied
Failed
Copy SHA
Pooya Parsa
55095f50
Copied
Failed
Copy SHA
Boot an SMP kernel on several CPUs in Node (SMP step 2)
2w ago
guest: leave kwtest and kwbench out of release
bundles
bundles
Pooya Parsa
·
2w ago
e13e193b
Copied
Failed
Copy SHA
Pooya Parsa
e13e193b
Copied
Failed
Copy SHA
guest: leave kwtest and kwbench out of release bundles
2w ago
Initial commit
Pooya Parsa
·
2w ago
26d08730
Copied
Failed
Copy SHA
Pooya Parsa
26d08730
Copied
Failed
Copy SHA
Initial commit
2w ago