Idoticon provides cli to build identicon, which takes utf8 data of identifier string as inputs and leverages Snap.svg and mustache to render output .html
.
$ npm i -g idoticon
$ idoticon myIdentifier
$ idoticon -h
Usage: idoticon [options] [identifier]
Options:
-h, --help output usage information
-s, --size [size] size, default to 500
-m, --margin [margin] margin, default to 20
-o, --output [outputPath] Output destination, default to ./idoticon/
-f, --file [fileName] Output file name, default to YYYYMMDD-{identifier}
$ idoticon idoticon
$ idoticon -s 300 -m 10 hello