https://github.com/arokettu/vishnu
A ruby interface for the Libravatar service
https://github.com/arokettu/vishnu
libravatar ruby ruby-gem
Last synced: over 1 year ago
JSON representation
A ruby interface for the Libravatar service
- Host: GitHub
- URL: https://github.com/arokettu/vishnu
- Owner: arokettu
- License: other
- Created: 2016-10-08T13:48:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-12-09T08:46:09.000Z (over 2 years ago)
- Last Synced: 2025-01-30T06:11:15.332Z (over 1 year ago)
- Topics: libravatar, ruby, ruby-gem
- Language: Ruby
- Homepage: https://www.libravatar.org/
- Size: 81.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Vishnu
[](https://rubygems.org/gems/commonmarker-rouge)
[](https://gitlab.com/sandfox/vishnu/-/pipelines)
Vishnu is a simple library to use Libravatar avatars in your ruby app.
[Libravatar](https://libravatar.org/) is an avatar service to let their
users associate avatar images with their emails or openids. This rubygem
generates their avatar URL.
## Installation
Add the following line to your ```Gemfile```:
```ruby
gem 'vishnu'
```
Or if you want to register ```Libravatar``` alias, then:
```ruby
gem 'vishnu', require: 'libravatar'
```
## Simple Usage
```ruby
Vishnu.new(email: 'someone@example.com').url # get avatar for email
Vishnu.new(openid: 'https://example.com').url # get avatar for OpenID URL
```
## Documentation
Read full documentation here:
## Support
Please file issues on our main repo at GitLab:
## License
Licensed under the MIT License. See ```LICENSE.txt``` for further details.