Ophestra 88d9a6163e
All checks were successful
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m35s
Test / Hakurei (push) Successful in 3m50s
Test / ShareFS (push) Successful in 3m58s
Test / Hpkg (push) Successful in 4m30s
Test / Sandbox (race detector) (push) Successful in 5m0s
Test / Hakurei (race detector) (push) Successful in 6m11s
Test / Flake checks (push) Successful in 1m37s
container/initplace: return nil for createTemp error injection
This matches os package behaviour, and avoids adding the cleanup.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-02-17 14:16:54 +09:00
2025-08-02 00:21:16 +09:00
2026-02-10 22:31:08 +09:00
2025-10-13 04:38:48 +09:00
2026-02-08 16:03:41 +09:00
2025-12-15 12:29:32 +09:00
2026-02-16 18:22:29 +09:00
2025-12-12 08:39:55 +09:00
2026-01-27 07:00:39 +09:00
2026-01-03 15:25:28 +09:00
2025-07-02 20:42:51 +09:00
2026-02-09 00:11:20 +09:00
2026-02-09 00:11:20 +09:00
2026-02-13 01:38:50 +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.

Description
A security-focused desktop application container runtime.
https://hakurei.app/
Readme MIT 10 MiB
v0.3.5 Latest
2026-02-09 00:11:20 +09:00
Languages
Go 90.9%
Nix 6.1%
C 1.9%
Python 1%