Skip to content

eet-nu/cheers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cheers

Cheers randomly generates user avatars from a set of colors and image components.

Example Avatar #1Example Avatar #2Example Avatar #3Example Avatar #4Example Avatar #5

Example Avatar #6Example Avatar #7Example Avatar #8Example Avatar #9Example Avatar #10

Example Avatar #11Example Avatar #12Example Avatar #13Example Avatar #14Example Avatar #15

Example Avatar #16Example Avatar #17Example Avatar #18Example Avatar #19Example Avatar #20

Installation

Add this line to your application's Gemfile:

gem 'cheers'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cheers

Usage

require 'cheers'

avatar = Cheers::Avatar.new("martins@eet.nu")
avatar.avatar_file("avatar.png")

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •