Command Palette

Search for a command to run...

coreutils package icon
mark2/coreutils

wasi

Public
wasmer run mark2/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
mark2/coreutils v0.0.1: Cross-platform WASI rewrite of the GNU coreutils