Command line utility for creating favicons from a PNG image.
Create a directory of favicons to be used on your site.
favocon icon.png -o outdir/
The icon you provide as input must be square.
Favocon is available through Cargo.
- Install Rust
cargo install favocon
- The
favocon
binary will be installed into$CARGO_HOME/.bin/favocon
. This should be in yourPATH
already if you're using rustup.
- Ensure you have the Rust toolchain installed.
- Clone this repo and cd into the directory.
- Build the project with Cargo.
cargo build
- Run with
cargo run
.
cargo run -- icon.png -o outdir