Repository navigation
v1.0.0
avatartion-cli v1.0.0
CLI tool for generating Notion-style avatars.
Features
- Generate random or custom avatars as SVG or PNG
- Customize each part: face (1-8), hair (1-32), eyes (1-6), mouth (1-10), outfit (1-25), accessories (1-10), facial-hair (1-8)
- 9 background colors: transparent, white, red, yellow, green, blue, indigo, purple, pink
- Export as SVG or PNG (configurable size)
- Decode shared avatar strings (compatible with avatartion.com)
- Programmatic API for use as a library
Install
npm install -g avatartion-cliQuick usage
avatartion generate
avatartion generate --face 3 --hair 12 -b blue -f png -o avatar.png
avatartion list
avatartion decode <base64-string>