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
test/
api.test.ts
November 2026
Merge remote-tracking branch
'upstream/main'
'upstream/main'
tsiry-sandratraina.com
·
13h ago
669f6715
Copied
Failed
Copy SHA
tsiry-sandratraina.com
669f6715
Copied
Failed
Copy SHA
Merge remote-tracking branch 'upstream/main'
13h ago
test: skip the capture and camera tests on a bundle without kwrec and kwcap (a release build), and restore the 3 s recording
Pooya Parsa
·
20h ago
61519ce4
Copied
Failed
Copy SHA
Pooya Parsa
61519ce4
Copied
Failed
Copy SHA
test: skip the capture and camera tests on a bundle without kwrec and kwcap (a release build), and restore the 3 s recording
20h ago
Merge remote-tracking branch
'upstream/main'
'upstream/main'
tsiry-sandratraina.com
·
20h ago
c63c5adb
Copied
Failed
Copy SHA
tsiry-sandratraina.com
c63c5adb
Copied
Failed
Copy SHA
Merge remote-tracking branch 'upstream/main'
20h ago
test: bound the capture snapshot tests' waits for a device event, and record 10 s so the snapshot lands mid-recording on a slow host
Pooya Parsa
·
21h ago
599746c2
Copied
Failed
Copy SHA
Pooya Parsa
599746c2
Copied
Failed
Copy SHA
test: bound the capture snapshot tests' waits for a device event, and record 10 s so the snapshot lands mid-recording on a slow host
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
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
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: keep host file systems in worker-mode snapshots taken with commit
(#62)
(#62)
pi0x
·
1d ago
27761895
Copied
Failed
Copy SHA
pi0x
27761895
Copied
Failed
Copy SHA
js: keep host file systems in worker-mode snapshots taken with commit (#62)
1d ago
js: recognise the distros' ⇒ prompt in the console router
(#68)
(#68)
pi0x
·
1d ago
66be47dd
Copied
Failed
Copy SHA
pi0x
66be47dd
Copied
Failed
Copy SHA
js: recognise the distros' ⇒ prompt in the console router (#68)
1d ago
js: hard links on host file systems (Fs.link, 9p Tlink)
(#46)
(#46)
Pablo
·
2d ago
30d35d0a
Copied
Failed
Copy SHA
Pablo
30d35d0a
Copied
Failed
Copy SHA
js: hard links on host file systems (Fs.link, 9p Tlink) (#46)
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
js: allocate an SMP kernel's memory once, shared, at a boot and a restore, so that memoryFallbackMiB applies to it
(#10)
(#10)
João Lucas
·
6d ago
6901f8a2
Copied
Failed
Copy SHA
João Lucas
6901f8a2
Copied
Failed
Copy SHA
js: allocate an SMP kernel's memory once, shared, at a boot and a restore, so that memoryFallbackMiB applies to it (#10)
6d 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
js: share snapshot memories of 2 GiB or more instead of transferring them, so a 2 GiB machine can suspend and resume in Chrome, which neither allocates nor posts a plain ArrayBuffer that large
Pooya Parsa
·
1w ago
4e585556
Copied
Failed
Copy SHA
Pooya Parsa
4e585556
Copied
Failed
Copy SHA
js: share snapshot memories of 2 GiB or more instead of transferring them, so a 2 GiB machine can suspend and resume in Chrome, which neither allocates nor posts a plain ArrayBuffer that large
1w 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
js: in worker mode, read guest shm in place and stop waiting for the kernel's yield: where the kernel's memory is shared with the owner thread (an SMP kernel on the shared transport) ShmFile.readSync() and views() work there as inline (Shm.inPlace; the worker waits for the owner's pin before the guest frees an export's pages), and on one CPU shm reads and the owner's vsock packets to the guest go through rings in the shared control block, served at the kernel's next clock read (about 0.6 ms instead of up to 20 ms)
Pooya Parsa
·
1w ago
57249c59
Copied
Failed
Copy SHA
Pooya Parsa
57249c59
Copied
Failed
Copy SHA
js: in worker mode, read guest shm in place and stop waiting for the kernel's yield: where the kernel's memory is shared with the owner thread (an SMP kernel on the shared transport) ShmFile.readSync() and views() work there as inline (Shm.inPlace; the worker waits for the owner's pin before the guest frees an export's pages), and on one CPU shm reads and the owner's vsock packets to the guest go through rings in the shared control block, served at the kernel's next clock read (about 0.6 ms instead of up to 20 ms)
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
test: run kwtest's SMP checks in the SMP snapshot test only where the bundle's initramfs has kwtest, which a release bundle (KW_RELEASE=1) leaves out
Pooya Parsa
·
1w ago
8988cfda
Copied
Failed
Copy SHA
Pooya Parsa
8988cfda
Copied
Failed
Copy SHA
test: run kwtest's SMP checks in the SMP snapshot test only where the bundle's initramfs has kwtest, which a release bundle (KW_RELEASE=1) leaves out
1w ago
js: hold the kernel at its snapshot point for a commit and an optional hold, so that it stops only once the snapshot is stored and else goes on; answer every snapshot before the worker's exit; record detachable terminal sessions in a snapshot and attach to them after a restore
Pooya Parsa
·
1w ago
18cbbe2a
Copied
Failed
Copy SHA
Pooya Parsa
18cbbe2a
Copied
Failed
Copy SHA
js: hold the kernel at its snapshot point for a commit and an optional hold, so that it stops only once the snapshot is stored and else goes on; answer every snapshot before the worker's exit; record detachable terminal sessions in a snapshot and attach to them after a restore
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
Add host commands: functions of the host that the guest runs as programs (kwcmd)
Pooya Parsa
·
1w ago
78896376
Copied
Failed
Copy SHA
Pooya Parsa
78896376
Copied
Failed
Copy SHA
Add host commands: functions of the host that the guest runs as programs (kwcmd)
1w ago
guest: install fx, claude, opencode, node and bun on first use from the kw layer's shims
Pooya Parsa
·
1w ago
3baa7d7e
Copied
Failed
Copy SHA
Pooya Parsa
3baa7d7e
Copied
Failed
Copy SHA
guest: install fx, claude, opencode, node and bun on first use from the kw layer's shims
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
update docs
Pooya Parsa
·
1w ago
bb8756ec
Copied
Failed
Copy SHA
Pooya Parsa
bb8756ec
Copied
Failed
Copy SHA
update docs
1w ago
data disk: reset a disk written by another guest architecture, keeping
/root
/root
Pooya Parsa
·
1w ago
6d1ade15
Copied
Failed
Copy SHA
Pooya Parsa
6d1ade15
Copied
Failed
Copy SHA
data disk: reset a disk written by another guest architecture, keeping /root
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: call the interpreter from compiled code, translate the frequent generic
ops
ops
Pooya Parsa
·
1w ago
0169bdbb
Copied
Failed
Copy SHA
Pooya Parsa
0169bdbb
Copied
Failed
Copy SHA
a64: call the interpreter from compiled code, translate the frequent generic ops
1w ago
Rebuild the guest packages for aarch64, add ~/.local/bin and the
stand-ins
stand-ins
Pooya Parsa
·
1w ago
5f3a2b36
Copied
Failed
Copy SHA
Pooya Parsa
5f3a2b36
Copied
Failed
Copy SHA
Rebuild the guest packages for aarch64, add ~/.local/bin and the stand-ins
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
Let TLB flushes skip a CPU that compiles JIT code or yields to its
host
host
Pooya Parsa
·
1w ago
1662c969
Copied
Failed
Copy SHA
Pooya Parsa
1662c969
Copied
Failed
Copy SHA
Let TLB flushes skip a CPU that compiles JIT code or yields to its host
1w ago
SDK: send every CPU's console output through a shared
ring
ring
Pooya Parsa
·
1w ago
70a0e0a8
Copied
Failed
Copy SHA
Pooya Parsa
70a0e0a8
Copied
Failed
Copy SHA
SDK: send every CPU's console output through a shared ring
1w ago
SDK: start an SMP kernel's CPUs as Web Workers in
browsers
browsers
Pooya Parsa
·
1w ago
82c7d36d
Copied
Failed
Copy SHA
Pooya Parsa
82c7d36d
Copied
Failed
Copy SHA
SDK: start an SMP kernel's CPUs as Web Workers in browsers
1w ago
Keep console output from different CPUs in the kernel's order
(SMP)
(SMP)
Pooya Parsa
·
1w ago
19c0d2ab
Copied
Failed
Copy SHA
Pooya Parsa
19c0d2ab
Copied
Failed
Copy SHA
Keep console output from different CPUs in the kernel's order (SMP)
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
Initial commit
Pooya Parsa
·
2w ago
26d08730
Copied
Failed
Copy SHA
Pooya Parsa
26d08730
Copied
Failed
Copy SHA
Initial commit
2w ago