An experimental system runtime. rind.bushyice.com
README.md
Rind Logo

rind (Rust Init Daemon)

rind(pronounced rin-dee, or rindy) is an init system and system runtime that provides the building primitives for reactive systems with persistent machine state, where services are drawn via dynamic state trees as opposed to static dependency threads.

GitHub stars GitHub issues GitHub forks Top Language Contributors

Caution

Experimental Status: Rind is currently a proof-of-concept. The codebase is under active development and in a state of rapid flux. Expect architectural shifts, breaking changes, and occasional instability as we refine the core engine.

About rind #

For more information and architectural details, visit rind.bushyice.com.

Requirements #

  • qemu
  • cpio
  • gzip
  • mkfs.ext4

Build System #

You can build with the builder at /builder. It's a rust builder so you can just cargo build in the builder folder and copy the builder binary into where you can use it comfortably. I personally use it via cargo install --path builder.

Build Configuration #

Inside of builder.toml, you can configure settings for how you want the builder to build and run the init.

Build Commands #

To get help, you can just execute the builder executable without any arguments and it will print help, but here's a quick start:

  • When you build first time do: builder ar or builder i
  • When you change code and rebuild: builder bpdr (build, prepare rootfs, prepare disk image, run)
  • If you changed something like bzimage or maybe busybox configs, do: builder i
  • If you just wanna run and don't wanna clean up the disk image, do: builder r (eg. rebooting or testing persistence)

Devenv #

There's a flake.nix, but as of now it only builds and sets up the builder. So, once you do direnv allow you have the builder command available.

License #

This project is licensed under the Mozilla Public License 2.0 (MPL-2.0). See the LICENSE file for details.

Special Exception for Headers #

To ensure maximum compatibility and zero friction for developers, all C headers generated by or provided with rind (such as rind.h) are explicitly licensed under the MIT License. This allows them to be included in any project, regardless of its license.

Final notes #

Any kind of help is appreciated! Granted, this may not be the most welcoming codebase, but you can look through or message me on anything and I will definitely respond! Forsooth, With fellowship, we shall rise!!