Golang port of DiceBear Avatars
Go to file
6543 cd0129ab4e
init go.mod
2021-02-02 02:05:04 +01:00
Makefile address issue #2 2021-02-02 01:41:25 +01:00
README.md address issue #2 2021-02-02 01:41:25 +01:00
go.mod init go.mod 2021-02-02 02:05:04 +01:00
main.go fix alpha bug for beards 2021-02-02 01:59:19 +01:00

README.md

Golang port of DiceBear Avatars, which in turn were inspired by 8biticon avatars

Build & Run

# will build the binary into ${BUILDDIR}. The golang compiler is fetched and installed into $PWD/gitea/bin/
make BUILDDIR=$PWD
# Create a random avatar and write it to /tmp/avatar.svg
$PWD/gitea/bin/avatar my-special-seed-string > /tmp/avatar.svg
# Open SVG file with default image viewer
xdg-open /tmp/avatar.svg