mirror of
https://codeberg.org/Codeberg/avatars.git
synced 2023-08-10 21:12:50 +03:00
15 lines
429 B
Markdown
15 lines
429 B
Markdown
|
# Golang port of DiceBear Avatars, which in turn were inspired by 8biticon avatars
|
||
|
|
||
|
## Build & Run
|
||
|
|
||
|
```shell
|
||
|
# 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
|
||
|
```
|
||
|
|
||
|
|