Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 2.22 KB

README.md

File metadata and controls

61 lines (40 loc) · 2.22 KB

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