#coreutils #busybox

bin+lib wasibox-core

A collection of core utilities optimized for WASI

11 stable releases

Uses new Rust 2024

new 1.0.15 May 9, 2026
1.0.9 May 7, 2026
1.0.7 May 6, 2026
1.0.6 May 5, 2026

#5 in #busybox


Used in 3 crates

MIT license

66KB
2K SLoC

WASI Multi-Utility & Shell (sl-rust)

A collection of high-performance, modular utilities and an interactive shell, all optimized for WASI (WebAssembly System Interface).

Project Overview

This workspace contains several crates designed to provide a rich command-line environment in WASI-compatible runtimes (like wasmtime, wasmer, or the browser).

  • wasibox: An umbrella multi-call binary (similar to BusyBox) that integrates all utilities.
  • wasi-shell: A modular REPL with support for piping (|) and redirection (>, >>).
  • wasibox-core: A shared library of essential POSIX-like utilities (ls, cat, grep, etc.) using an injectable IoContext.
  • sl-rust: A Rust implementation of the classic SL (Steam Locomotive) animation.

Features

  • Piping & Redirection: Full support for standard shell IO operators in wasi-shell.
  • Modular Utilities: Over 30 utilities that can be used as standalone binaries or linked into the wasibox.
  • WASI Optimized: Designed from the ground up to respect WASI capabilities and limitations (e.g., restricted filesystem access).
  • Cross-Platform: Works on Native (Windows/Linux/macOS) and WASI.

Installation

cargo install wasibox
cargo install wasi-shell

Usage

Interactive Shell

wasi-shell

Multi-call Utility

wasibox ls -al
wasibox grep "pattern" file.txt

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~1.8–5MB
~84K SLoC