Git Product home page Git Product logo

invatar's Introduction

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.

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 requirements.txt

$ python run.py

License

MIT

invatar's People

Contributors

bekt avatar yurimalheiros avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.