0.0
No release in over a year
A gem to get your users' backup avatar from public resources
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Get and generate fallback avatars from your users' social media

https://github.com/divagueame/superavatar https://rubygems.org/gems/superavatar

Intro

You have an app with users. They need an avatar and they're too lazy to upload any. This gem helps fix that.

Sources

Do you have you user github username? Then you can get the url of avatar like this: `` my_avatar = Superavatar::Avatar.new my_avatar.github = 'divagueame' my_avatar.fetch_avatar_url

``

Install

gem install 'superavatar'

Configuration

These are the default settings. If you want, you can adjust it to your needs: Superavatar.configure do |config| config.enable_github = true end

Test

rake