Ruby Gem

Open-source Ruby projects categorized as Gem

Top 23 Ruby Gem Projects

  • GitHub repo colorls

    A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. :tada:

    Project mention: Converting zsh theme to fish | reddit.com/r/fishshell | 2021-04-01

    Now my terminal looks very good! Unfortunately, though, I noticed a screenshot from the colorls Github page and now I definitely want to configure fish to look like this, but that theme is made for zsh (oh my zsh).

  • GitHub repo counter_culture

    Turbo-charged counter caches for your Rails app.

    Project mention: 26 most popular Ruby/Rails repositories on GitHub in July-August 2020 | dev.to | 2020-09-05

    counter_culture is a turbo-charged counter cache for your Rails app. 1,301 stars by now

  • GitHub repo premailer-rails

    CSS styled emails without the hassle.

    Project mention: How to Inline CSS Styles in Email Mailers Using premailer-rails (Video) | reddit.com/r/rails | 2021-02-16

    I like using premailer-rails to inline the CSS in my Mailer, which allows me to have super clean views while supporting old Email clients (like Outlook).

  • GitHub repo Lol DBA

    lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.

  • GitHub repo dry-validation

    Validation library with type-safe schemas and rules

    Project mention: How to express this data type in Ruby? | reddit.com/r/ruby | 2021-02-13

    I wouldn't add any type validations in my first version. Should they be needed I would use https://github.com/dry-rb/dry-validation.

  • GitHub repo colorize

    Ruby string class extension. It add some methods to set color, background color and text effect on console easier using ANSI escape sequences.

    Project mention: Vamp up your CLI app with these! | dev.to | 2021-04-03

    The next thing I used on my project is the Colorize gem

  • GitHub repo render_async

    render_async lets you include pages asynchronously with AJAX

  • GitHub repo BatchLoader

    :zap: Powerful tool for avoiding N+1 DB or HTTP queries

  • GitHub repo dip

    CLI gives the "native" interaction with applications configured with Docker Compose. (by bibendi)

    Project mention: My hybrid approach to Dockerizing Rails applications | reddit.com/r/ruby | 2021-03-18

    I'd be sure to also check out (if you haven't already) https://evilmartians.com/chronicles/ruby-on-whales-docker-for-ruby-rails-development, it might have some solutions to your problems, like using a cached Docker volume to mount your application's directory. Evil Martians also developed DIP to help make the Docker workflow more approachable.

  • GitHub repo Ruby Facets

    Ruby Facets

  • GitHub repo rainbow

    Ruby gem for colorizing printed text on ANSI terminals (by sickill)

    Project mention: Best gem for coloring the Windows 10 command prompt and btw what does IRB use? | reddit.com/r/ruby | 2021-02-26
  • GitHub repo Yt

    The reliable YouTube API Ruby client

  • GitHub repo Coltrane

    🎹🎸A music theory library with a command-line interface

  • GitHub repo motion

    Reactive frontend UI components for Rails in pure Ruby (by unabridged)

    Project mention: 26 most popular Ruby/Rails repositories on GitHub in July-August 2020 | dev.to | 2020-09-05

    Motion is a Reactive frontend UI components for Rails in pure Ruby. It allows you to build reactive, real-time frontend UI components in your Rails application using pure Ruby. 303 stars by now

  • GitHub repo graphql-guard

    Simple authorization gem for GraphQL :lock:

  • GitHub repo DoubleEntry

    A double-entry accounting system for Ruby applications.

  • GitHub repo Forest Admin

    🌱 Rails Liana for Forest Admin

    Project mention: Forest Admin | reddit.com/r/SaaS | 2021-04-05

    Has anyone tried Forest Admin? I'm bootstrapping, so we are eager to capitalize on FOSS and freemium tools. It seems to meet a business need for SaaS, but I'd like to hear from anyone who has actually used it.

  • GitHub repo Victor

    Ruby SVG Image Builder

    Project mention: Charts.css | news.ycombinator.com | 2021-03-17

    That's not close to the same complexity, is it?

    With the HTML + CSS solution, all my program has to produce is a HTML table. Very easy.

    With SVG my program has to create not just a data table, but the custom SVG code to paint the actual charts. I'm actually doing that on pc-kombo, https://www.pc-kombo.com/us/benchmark/games/cpu/compare?ids%... shows it, the image is SVG. But it's created with https://github.com/DannyBen/victor/, so my ruby code has to describe all the details of that image, including manually saying how each bar chart should look. Even with the awesome victor library that wasn't all that easy.

    Alternative is a JS library that produces the SVG code, but then it's exactly as complicated as with regular JS libraries, it just changes the output.

  • GitHub repo Locale

    Send and retrieve your ruby i18n localizations to the Locale translation service (by Locale)

  • GitHub repo Squid

    A Ruby library to plot charts in PDF files (by Fullscreen)

  • GitHub repo Flexirest

    Flexirest - The really flexible REST API client for Ruby

  • GitHub repo limiter

    Simple Ruby rate limiting mechanism. (by Shopify)

    Project mention: My Ruby on Rails stack for side projects in 2021 | dev.to | 2021-03-01

    One issue with Sidekiq is that you won't have access to rate limiting and scheduled jobs unless you pay for the enterprise version. If you are running a business then this is probably a good idea but we are going for dirt cheap here. The rate limit part can be solved using something like ruby-limiter for global rate limiting and sidekiq_limit_fetch to limit concurrency per queue. It doesn't have official support for modern Sidekiq versions but in my experience it works fine anyway. You should probably not use that for business critical things however.

  • GitHub repo 🦠 Kovid

    A CLI to fetch and compare the 2019 coronavirus pandemic statistics. It also fetches historical data and attempts to draw histograms of it to visualise the rate of infections.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-04-05.

Index

What are some of the best open-source Gem projects in Ruby? This list will help you:

Project Stars
1 colorls 3,548
2 counter_culture 1,417
3 premailer-rails 1,386
4 Lol DBA 1,364
5 dry-validation 1,091
6 colorize 1,083
7 render_async 982
8 BatchLoader 818
9 dip 763
10 Ruby Facets 751
11 rainbow 684
12 Yt 676
13 Coltrane 632
14 motion 505
15 graphql-guard 434
16 DoubleEntry 277
17 Forest Admin 254
18 Victor 239
19 Locale 225
20 Squid 205
21 Flexirest 193
22 limiter 131
23 🦠 Kovid 106