avatar

? Beautiful avatars as a microservice

Github星跟踪图

avatar

Avatar generates beautiful gradient avatars for your app or homepage (for example if they didn't upload one)

Avatar is built on top of micro and is hosted on Heroku

How to use avatar

To generate an avatar just embed following URL https://avatar.tobi.sh/. Now you can append a username to generate an avatar

You will receive a png image with a size of 120*120px

Each name will generate a unique avatar. Just replace tobiaslins with an username or email

PNG avatar

https://avatar.tobi.sh/tobiaslins

Avatar for tobiaslins

Custom size

https://avatar.tobi.sh/tobiaslins?size=30

Avatar for tobiaslins

SVG avatar

It is possible to receive an svg avatar by adding the extension .svg or the parameter type=svg

https://avatar.tobi.sh/tobiaslins.svg
https://avatar.tobi.sh/tobiaslins?type=svg

Add initials

It is possible to add initials or a text to the avatar by adding the text parameter.

Feature only working with SVG

https://avatar.tobi.sh/tobiaslins.svg?text=TL

Avatar for tobiaslins

Random avatar

If you just want to use random avatars without providing usernames, you can use the root endpoint

https://avatar.tobi.sh/

Random Avatar

Usecase

Are you creating a new app/website with an user system?

If your user doesn't want to load a custom profile picture - you can show him a unique generated avatar

Deploy to Heroku

Do you want to deploy avatar to Heroku?
We got all that covered for you.
Just click this button:

Deploy

主要指标

概览
名称与所有者vercel/avatar
主编程语言TypeScript
编程语言JavaScript (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2017-02-09 21:18:45
推送于2025-04-03 20:35:28
最后一次提交
发布数0
用户参与
星数1.3k
关注者数10
派生数82
提交数127
已启用问题?
问题数16
打开的问题数0
拉请求数27
打开的拉请求数3
关闭的拉请求数15
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?