1
0
forked from rosa/hakurei
Ophestra d514d0679f internal/rosa: set PYTHONUNBUFFERED=1
Some python tools try to be clever and buffers output. This makes the build process appear to hang and is quite frustrating. Instead of trying to address this on a case-by-case basis, this is turned off globally for the interpreter.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-03-26 15:29:29 +09:00
2026-03-02 13:42:49 +09:00
2026-03-17 15:39:03 +09:00
2025-10-13 04:38:48 +09:00
2026-03-02 13:42:49 +09:00
2026-03-17 15:56:36 +09:00
2026-03-17 16:09:14 +09:00
2026-03-17 17:04:06 +09:00
2026-03-12 02:15:14 +09:00
2026-03-17 15:30:30 +09:00
2026-03-10 03:29:19 +09:00
2026-03-10 03:29:19 +09:00
2026-03-10 03:29:19 +09:00
2025-07-02 20:42:51 +09:00
2026-03-12 02:15:14 +09:00
2026-03-07 16:32:04 +09:00
2026-03-12 02:15:14 +09:00
2026-03-15 21:04:55 +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.

Description
(NOTE: THIS IS NOT THE REPO YOU WANT) Low-level userspace tooling for Rosa OS.
Readme MIT 7.4 MiB
Languages
Go 91.8%
Nix 5.4%
C 1.8%
Python 0.9%