Skip to content

madLinux7/favicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

favicon

License Shell Dependency Platform

Dead simple favicon generator. Converts any image to .ico using ImageMagick — single 16x16 or a multi-size bundle.

DEMO

Requirements

  • UNIX shell (sh / bash / zsh / fish etc.)
  • ImageMagick (magick in PATH)

Installation

curl -fsSL https://raw.githubusercontent.com/madLinux7/favicon/master/favicon -o ~/.local/bin/favicon && chmod +x ~/.local/bin/favicon

Or manually:

git clone https://github.com/madLinux7/favicon
cp favicon/favicon ~/.local/bin/favicon
chmod +x ~/.local/bin/favicon

Usage

favicon [--bundle] <file> [outfile]
Argument Description
file Source image (PNG, SVG, etc.)
outfile Output path (default: favicon.ico)
--bundle Bundle 16, 32, 48, 64, 128, 256 px into one .ico

Examples

# Single 16x16 favicon
favicon logo.png

# Custom output path
favicon logo.svg output/favicon.ico

# Multi-size bundle
favicon --bundle logo.svg public/favicon.ico

About

Script utilizing ImageMagick to generate a favicon (16x16px or full bundle)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages