Skip to content

Avatar Generator, a github style avatar generator for Ruby applications.

Latest

Choose a tag to compare

@salmanx salmanx released this 09 Aug 11:21
· 2 commits to main since this release

Features

  • Generate deterministic avatars from usernames, email addresses, or any unique identifier
  • The same identifier always produces the same avatar
  • Different identifiers generate different avatar patterns
  • Configurable avatar size
  • Configurable background color
  • PNG image generation
  • Save generated avatars to a configurable storage directory
  • Generate Base64-encoded image data
  • Generate Data URLs for direct use in HTML
  • Access generated images as binary blobs or StringIO
  • Generate filesystem paths and public URLs
  • Configurable Rails initializer
  • Rails install generator
  • User-provided filename support with filename sanitization