An attempt at remaking busybox in Rust
Find a file
2025-03-21 09:16:06 +02:00
coreutils feat: minimize some jank :D 2025-03-21 09:16:06 +02:00
src feat: adjust cat to be more busybox-like, add mkdir 2025-03-21 09:16:01 +02:00
utils feat: add a new argparser to minimize jank 2025-03-21 09:16:06 +02:00
.gitignore feat: add a new argparser to minimize jank 2025-03-21 09:16:06 +02:00
Cargo.lock feat: add a very basic command registry 2025-03-20 17:07:50 +02:00
Cargo.toml feat: add a very basic command registry 2025-03-20 17:07:50 +02: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