• Stars
    star
    163
  • Rank 231,141 (Top 5 %)
  • Language
    Python
  • Created about 9 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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