An attempt at remaking busybox in Rust
Find a file
2025-03-22 13:22:23 +01:00
.github/workflows feat: add a test gh action 2025-03-21 09:16:11 +02:00
coreutils feat, fix: add nproc, make dd's output more busybox-like 2025-03-22 13:22:23 +01:00
shell feat: list commands when no command is called 2025-03-21 22:16:47 +01:00
src feat, fix: add nproc, make dd's output more busybox-like 2025-03-22 13:22:23 +01:00
utils refact: refactor the argparser for the future 2025-03-22 14:05:55 +02:00
.gitignore feat: add a new argparser to minimize jank 2025-03-21 09:16:06 +02:00
Cargo.lock feat, fix: add nproc, make dd's output more busybox-like 2025-03-22 13:22:23 +01:00
Cargo.toml feat: add very basic ash shell clone 2025-03-21 21:21:48 +01:00
CONTRIBUTING.md docs: because github complained about it 2025-03-21 09:16:06 +02:00
README.md docs: because github complained about it 2025-03-21 09:16:06 +02:00

rebox - remaking busybox with rust

this is a project to remake busybox with rust. the goal is to make a small, fast, and featureful shell with a (relatively, we are at the mercy of the rust compiler here) small binary size.

work in progress

this project is still in the early stages of development. it is not yet feature complete, and is not yet ready for general use. if you are interested in contributing, please see the CONTRIBUTING.md file.

building

$ cargo build --release
$ cp target/release/box ./cat # or any other command
$ ./cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
$ cp ./cat ./echo
$ ./echo hello, world!
hello, world!
$ cp ./echo ./box
$ ./box echo hello, world!
hello, world!
$ ./box cat /etc/passwd
root:x:0:0:root:/root:/bin/bash