gosfg

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 7 Imported by: 0

README

gosfg

Simple favicon generator implemented in Go.

Install

go install github.com/shinshin86/gosfg@latest

Usage

gosfg -i logo.png -n "Your site name"

You can check the detailed options with the help command.

Usage of gosfg:
  -d string
    	Specify output directory. If the directory does not exist, create it. (default "public")
  -displayMode string
    	Specify display mode. (default "standalone")
  -i string
    	[Required] Specify target image.
  -n string
    	Specify your site name.
  -themeColor string
    	Specify theme color. (default "#ffffff")
  -tileColor string
    	Specify tile color. (default "#da532c")

Why do you output favicon as png instead of ico?

Go does not seem to natively support the ico format in stdlib at this time.
https://pkg.go.dev/image#section-directories

License

MIT

Author

Yuki Shindo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL