All Projects → ptcodes → pixitar

ptcodes / pixitar

Licence: MIT license
🧝 Pixitar is an avatar generation library written in Ruby.

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to pixitar

jsonapi-serializer-formats
💎 Gem to enrich jsonapi-serializer with multiple formats
Stars: ✭ 20 (+0%)
Mutual labels:  ruby-gem, gem
log-symbols
A ruby 💎gem💎 for generating log symbols
Stars: ✭ 14 (-30%)
Mutual labels:  ruby-gem, gem
rails cursor pagination
Add cursor pagination to your ActiveRecord backed application
Stars: ✭ 21 (+5%)
Mutual labels:  ruby-gem, gem
syobocal
Simle gem for Syboi Calendar
Stars: ✭ 13 (-35%)
Mutual labels:  ruby-gem, gem
Unimidi
Realtime MIDI IO for Ruby
Stars: ✭ 229 (+1045%)
Mutual labels:  ruby-gem, gem
multi-tenancy-devise
mtdevise adds basecamp style user logins to your ruby on rails application.
Stars: ✭ 27 (+35%)
Mutual labels:  ruby-gem, gem
rspec n
A ruby gem that runs RSpec N times.
Stars: ✭ 37 (+85%)
Mutual labels:  ruby-gem, gem
AvatarGAN
Generate Cartoon Images using Generative Adversarial Network
Stars: ✭ 24 (+20%)
Mutual labels:  avatar, avatar-generator
Motion
Reactive frontend UI components for Rails in pure Ruby
Stars: ✭ 498 (+2390%)
Mutual labels:  ruby-gem, gem
Devise masquerade
Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.
Stars: ✭ 380 (+1800%)
Mutual labels:  ruby-gem, gem
churnalizer
Analyze your Ruby app for Churn vs Complexity
Stars: ✭ 17 (-15%)
Mutual labels:  ruby-gem, gem
memo wise
The wise choice for Ruby memoization
Stars: ✭ 486 (+2330%)
Mutual labels:  ruby-gem, gem
grape-jwt-authentication
A reusable Grape JWT authentication concern
Stars: ✭ 31 (+55%)
Mutual labels:  ruby-gem, gem
make model searchable
Adds simlpe search functionality to models
Stars: ✭ 27 (+35%)
Mutual labels:  ruby-gem, gem
Avataaars Generator
Simple generator React app for avataaars
Stars: ✭ 2,078 (+10290%)
Mutual labels:  avatar, avatar-generator
filtered
Filters ActiveRecord queries in a nice way
Stars: ✭ 28 (+40%)
Mutual labels:  ruby-gem, gem
monsterid
MonsterID adaptation for Composer and modern PHP versions
Stars: ✭ 20 (+0%)
Mutual labels:  avatar, avatar-generator
boring-avatars
Boring avatars is a tiny JavaScript React library that generates custom, SVG-based avatars from any username and color palette.
Stars: ✭ 3,582 (+17810%)
Mutual labels:  avatar, avatar-generator
Stitches
Create a Microservice in Rails with minimal ceremony
Stars: ✭ 371 (+1755%)
Mutual labels:  ruby-gem, gem
Api Fuzzer
API Fuzzer which allows to fuzz request attributes using common pentesting techniques and lists vulnerabilities
Stars: ✭ 238 (+1090%)
Mutual labels:  ruby-gem, gem

Pixitar

build License: MIT

Pixitar avatar examples

Pixitar is an avatar generation library written in Ruby. Generate random, male or female avatars.

Inspired by https://github.com/matveyco/8biticon (author of the original image assets).

Installation

Add this line to your application's Gemfile:

gem 'pixitar'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install pixitar

Usage

require "pixitar"

avatar = Pixitar::Avatar.new
avatar.generate_avatar                         " Generates a random with either male or female face and saves it to avatar.png
avatar.generate_avatar(:male, "avatar.png")    " Generates a random avatar with male face and saves it to avatar.png
avatar.male_avatar                             " Generates a random avatar with male face and saves it to avatar.png
avatar.female_avatar                           " Generates a random avatar with female face and saves it to avatar.png

Development

Run rake test to run the tests.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ptcodes/pixitar.

  1. Fork it (https://github.com/ptcodes/pixitar.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].