Skip to content

mikeymop/progrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progrs

progrs (prog-R-S), is a wasm binary that gives you a progress bar for the current day, week, year.

example

Bugs:

  • indicatif doesn't render on wasm32
  • timezone is always utc on wasm32

Setup

You can build a traditional binary using cargo build or a wasm binary:

curl https://get.wasmer.io -sSfL | sh # Install wasmer runtime

# build for wasix (POSIX) target/wasm32-wasmer-wasi/
cargo install cargo-wasix
cargo wasix build # or cargo wasix build --release

# or build for wasi
rustup target add wasm32-wasi
cargo build --target=wasm32-wasi

This will build a wasm binary in target/wasm32-wasmer-wasi/debug/progrs.wasm. You can run this binary with wasmer run.

Thank you to

Notes

chrono start of mont/week
day in month trait
clap is_terminal wasm breaks
indicatif doesn't render on wasm32
day in year

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages