Skip to content
Command line utility for creating favicons from a PNG image.
Rust HCL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
src
tests
.gitignore
Cargo.lock
Cargo.toml
LICENSE
README.md

README.md

Favocon

badge

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
You can’t perform that action at this time.