cat ed5cdd38a4
Test / Create distribution (push) Successful in 52s
Test / Sandbox (push) Successful in 2m41s
Test / ShareFS (push) Successful in 3m47s
Test / Hakurei (push) Successful in 4m0s
Test / Sandbox (race detector) (push) Successful in 5m25s
Test / Hakurei (race detector) (push) Successful in 6m36s
Test / Flake checks (push) Successful in 1m8s
cmd/dist: build hsu separately
This program must be built with cgo disabled, and was missed when migrating build script.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-20 00:59:47 +09:00
2026-03-02 13:42:49 +09:00
2026-06-20 00:59:47 +09:00
2026-06-08 14:58:24 +09:00
2026-06-08 14:58:24 +09:00
2026-06-08 14:58:24 +09:00
2026-05-07 15:55:19 +09:00
2026-06-20 00:20:31 +09:00
2026-06-20 00:59:47 +09:00
2026-06-08 14:58:24 +09:00
2026-06-08 14:58:24 +09:00
2026-06-09 18:08:17 +09:00
2026-06-08 14:58:24 +09:00
2026-05-10 04:15:07 +09:00
2026-06-06 13:14:09 +09:00
2026-06-06 13:14:09 +09:00
2026-03-10 03:29:19 +09:00
2025-07-02 20:42:51 +09:00
2026-05-10 04:15:07 +09:00
2026-04-11 23:28:18 +09:00
2026-06-06 13:14:09 +09:00
2026-03-12 02:15:14 +09:00
2026-06-17 21:06:03 +09:00
2026-03-15 20:12:51 +09:00

Yukari

Go Reference Gitea Workflow Status
Release Go Report Card Website

Hakurei is a tool for running sandboxed desktop applications as dedicated subordinate users on the Linux kernel. It implements the application container of planterette (WIP), a self-contained Android-like package manager with modern security features.

Interaction with hakurei happens entirely through structures described by package hst. No native API is available due to internal details of uid isolation.

Notable Packages

Package container is general purpose container tooling. It is used by the hakurei shim process running as the target subordinate user to set up the application container. It has a single dependency, libseccomp, to create BPF programs for the system call filter.

Package internal/pkg provides infrastructure for hermetic builds. This replaces the legacy nix-based testing framework and serves as the build system of Rosa OS, currently developed under package internal/rosa.

Dependencies

container depends on:

cmd/hakurei depends on:

cmd/sharefs depends on:

  • fuse to implement the filesystem.

New dependencies will generally not be added. Patches adding new dependencies are very likely to be rejected.

NixOS Module (deprecated)

The NixOS module is in maintenance mode and will be removed once planterette is feature-complete. Full module documentation can be found here.

S
Description
Low-level userspace tooling for Rosa OS.
https://hakurei.app/
Readme MIT 7.8 MiB
v0.4.4 Latest
2026-06-17 21:07:41 +09:00
Languages
Go 91.8%
Nix 5.1%
C 1.6%
Python 0.8%
TypeScript 0.4%
Other 0.2%