syrusakbary/coreutils

wasi

Public
wasmer run syrusakbary/coreutils

coreutils

Core utils for WebAssembly and WASI

wapm install coreutils

Original Source: https://github.com/uutils/coreutils

Modifications: We made some changes to adapt the codebase to the WASI interface.

Running

The following commands are available:

ls
cat
echo
mv
env
mkdir
basename
dirname
base32
base64
sum
printf
wc
pwd

Building

The following script will build the binary:

cargo build --features "ls cat echo mv env mkdir basename dirname base64 base32 sum printf wc pwd" --no-default-features --target wasm32-wasi --release

Cross-platform WASI rewrite of the GNU coreutils


Github
More packages
An example of using spawn in wasix
Jacob Hummer
Jacob Hummer
Jacob Hummer
Jacob Hummer
An example of using spawn in wasix
The GNU Core Utilities are the basic file, shell and text manipulation utilities of the GNU operating system. These are the core utilities which are expected to exist on every operating system.

Making software universally accessible