Skip to content

wapm-packages/lolcat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lolcat

The good ol' lolcat, now with fearless concurrency.

To install it, execute:

wapm install lolcat

Look at deez colors

Run lolcat on everything you like and you'll never have to wonder about the dullness of your life. See? It's that simple.

License

Seriously? It's the MIT license.

Building from Source

First, you will need the WASI target installed in your Rust system:

rustup target add wasm32-unknown-wasi --toolchain nightly

Once WASI is available, you can build the WebAssembly binary by yourself with:

cargo +nightly build --release --target wasm32-unknown-wasi

This will create a new file located at target/wasm32-unknown-wasi/release/cowsay.wasm.

When the wasm file is created you can upload it to wapm or execute it with wasmer:

wapm publish
# OR
echo "Hey" | wasmer run  target/wasm32-unknown-wasi/release/lolcat.wasm

You can also build a native executable with

cargo build

About

lolcat, now with fearless concurrency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%