goidenticon
is a simple command line utility to generate identicon from an arbitrary input.
Identicon is a visual representation of a hash value, commonly used to visualize IP addresses or user avatars. This implementation provides so far only single hash decoder and it uses only different colors to visualize the hash.
Sample icons generated for different usernames
echo Antonette | goidenticon -out doc/images/Antonette.png
echo Glen | goidenticon -out doc/images/Glen.png
echo Willy | goidenticon -out doc/images/Willy.png
go get github.com/dohnto/goidenticon/...
# goidenticon -help
Usage of goidenticon:
-in string
File path to read input from, if not passed or empty, stdin is used
-log-level value
File path to a result image
-out string
File path to a result image (default "identicon.png")
-size int
Size of a square image in pixels (default 300)