Geting Started
retro-avatar create indenticon-like visual hashes styled like Github and Gravatar (retro) avatars
Mirror
- global (cloudflare): https://avatar.microvoid.io/ (opens in a new tab)
- 中国: https://avatar.marktion.cn/ (opens in a new tab)
Use directly
You don't need to install any dependencies! Just replace the ID_HERE
placeholder with any text.
<img src="https://avatar.microvoid.io/api/avatar/ID_HERE" />
for example:
-
UserName: https://avatar.microvoid.io/api/avatar/youking-lib (opens in a new tab)
-
UserId: https://avatar.microvoid.io/api/avatar/user-id-xxxx (opens in a new tab)
-
UserEmail: https://avatar.microvoid.io/api/avatar/whistleyz@163.com (opens in a new tab)
-
ProjectName: https://avatar.microvoid.io/api/avatar/retro-avatar (opens in a new tab)
Options
Themes
Size
size | usage | demo |
---|---|---|
32 | https://avatar.microvoid.io/api/avatar/retro-avatar?s=32 (opens in a new tab) | |
64 | https://avatar.microvoid.io/api/avatar/retro-avatar?s=64 (opens in a new tab) |
The size must be between 16 and 2048, and default to 256.