Skip to content
/ invatar Public

Invatar is a free service for generating fully customizable avatars with initials.

Notifications You must be signed in to change notification settings

Bekt/invatar

Repository files navigation

Invatar

Invatar provides an "API" for generating fully customizable SVG and image avatars with small text. Inspired from many messaging apps.

Por que? Por que no?

Demo

Website: https://invatar0.appspot.com/

Screenshots

Defaults

svg/a.jpg svg/kb.jpg svg/md.jpg

Customized

svg/a.jpg?s=150 svg/kb.jpg?s=150&color=yellow svg/md.jpg?s=150&bg=%23E5E7E9&color=%23626262
Custom width/height (px) Custom text color Custom text color + background color. (%23 == encodeURIComponent('#'))
svg/abcd.jpg?s=150&font_size=50 svg/kb.jpg?s=150&font_family=Monospace svg/md.jpg?s=150&h=my-user-id
Custom font size (in px) Custom font family Provide a unique identifier with h. This is useful when you don't want two intials (different users?) hash to the same value (resulting in the same background color).

Use Cases

  • Easier to identify users
  • Friendlier than a "No avatar" picture
  • Background colors are always consistent
  • Can use as a fallback picture for Gravatar (?default= flag) and other similar services

Contribution

Do it!

Currently the service is hosted on Google App Engine which is not my first choice. If you can help with hosting, please reach out to me.

Development

$ pip install -r dev-requirements.txt

# Running development server
$ python run.py

# Executing tests
$ tox

License

MIT

About

Invatar is a free service for generating fully customizable avatars with initials.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published