Vishnu is a simple library to use Libravatar avatars in your ruby app.
Libravatar is an avatar service to let their users associate avatar images with their emails or openids. This rubygem generates their avatar URL.
Add the following line to your Gemfile
:
gem 'vishnu'
Or if you want to register Libravatar
alias, then:
gem 'vishnu', require: 'libravatar'
Vishnu.new(email: 'someone@example.com').url # get avatar for email
Vishnu.new(openid: 'https://example.com').url # get avatar for OpenID URL
Read full documentation here: https://sandfox.dev/ruby/vishnu.html
Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/vishnu/-/issues
Licensed under the MIT License. See LICENSE.txt
for further details.