New gem avatarro to create google-like avatars with initials

Hello,

I’d like to share my new gem: GitHub - igorkasyanchuk/avatarro

You can create google-like avatars with user initials.

It’s generating an SVG that could be embedded in HTML or used in img(src) using Base64 encoding.

Samples:


  <%= image_tag Avatarro.image(current_user.full_name), size: '24x24' %>
  <%= image_tag Avatarro.image("Igor Kasyanchuk", solid: true), size: '24x24' %>
  <%= image_tag Avatarro.image("IK"), size: '32x32' %>
  <%= raw Avatarro.svg("IK") %>

Look forward to hearing your comments.