4 releases (stable)

1.1.0 Mar 25, 2020
1.0.1 Oct 22, 2019
1.0.0 May 20, 2019
0.1.0 May 20, 2019

#10 in #favicon

MIT and LGPL-3.0

67KB
161 lines

Favocon

CI

Command line utility for creating favicons from a PNG image.

favocon-gif

Commands

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.

Installation

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 your PATH already if you're using rustup.

Building

  • 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

Dependencies

~10–16MB
~202K SLoC