Browse free open source Ruby Libraries and projects below. Use the toggles on the left to filter open source Ruby Libraries by OS, license, language, programming language, and project status.

  • Veeam Data Platform v13.1 - Get Your Free Trial Icon
    Veeam Data Platform v13.1 - Get Your Free Trial

    Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

    Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
    Try it Free
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 1
    DYI for Rails

    DYI for Rails

    "DYI for Rails" is a library for use DYI on Rails.

    "DYI for Rails" is a library for use DYI on Rails. "DYI for Rails" provides some helpers and module for drawing a image of DYI.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    Decision Tree

    Decision Tree

    ID3-based implementation of the ML Decision Tree algorithm

    DecisionTree is a Ruby library that implements decision tree learning with the ID3 information-gain algorithm. It can train models from discrete, continuous, or mixed attribute data. Continuous features are evaluated across possible split points to build threshold-based binary branches. Discrete models classify unique labels and can be rendered for visual inspection. The library supports inconsistent datasets, multiple or symbolic outputs, and fallback values when no branch matches an input. Its Ruleset trainer converts a tree into pruned rules using a held-out portion of the training data. A bagging trainer builds ten rulesets and combines their predictions through voting.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    Down

    Down

    Streaming downloads using Net::HTTP, http.rb or HTTPX

    Down is a small, reliable Ruby library for downloading files that favors correctness, streaming, and clear error handling. It follows redirects safely, supports timeouts and retries, and streams responses to disk to keep memory usage low—ideal for large downloads or server environments. The API returns file-like objects (often Tempfile) with helpful metadata such as original filename and content type, which plays nicely with file-attachment libraries and background jobs. Multiple HTTP backends are supported, letting you choose between Net::HTTP or faster/feature-rich clients while keeping a consistent interface. It exposes distinct exception classes and content validation options, so callers can differentiate transient network issues from invalid responses. In practice, Down is often used as the dependable download layer in upload/processing pipelines where robustness matters more than raw feature bloat.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4
    EventMachine

    EventMachine

    EventMachine, fast, simple event-processing library for Ruby programs

    EventMachine is an event-driven I/O and lightweight concurrency library for Ruby. It provides event-driven I/O using the Reactor pattern, much like JBoss Netty, Apache MINA, Python's Twisted, Node.js, libevent and libev. Extremely high scalability, performance and stability for the most demanding production environments. An API that eliminates the complexities of high-performance threaded network programming, allowing engineers to concentrate on their application logic. This unique combination makes EventMachine a premier choice for designers of critical networked applications, including Web servers and proxies, email and IM production systems, authentication/authorization processors, and many more. EventMachine has been around since the early 2000s and is a mature and battle-tested library.
    Downloads: 0 This Week
    Last Update:
    See Project
  • AI-generated apps that pass security review Icon
    AI-generated apps that pass security review

    Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

    Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
    Try Retool free
  • 5
    Geocoder

    Geocoder

    Complete Ruby geocoding solution

    Geocoder is a full-featured geocoding library for Ruby that integrates seamlessly with Rails applications. It enables converting addresses into geographic coordinates (latitude and longitude) and vice versa, known as reverse geocoding. The gem supports multiple geocoding services like Google, Bing, Mapbox, and OpenStreetMap, letting developers choose based on cost or coverage. Beyond simple geocoding, Geocoder can perform IP address lookups, distance queries, and proximity searches directly in ActiveRecord or Mongoid models. With its database integration, you can query for nearby records, order results by distance, or filter results within a radius, making it invaluable for location-based apps. By abstracting away API differences and providing a clean Ruby interface, Geocoder makes geospatial features straightforward to implement in web and mobile projects.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    Learning-SICP

    Learning-SICP

    Collection of Chinese cultural projects and course learning materials

    Learning-SICP is a community project that localizes the MIT course “Structure and Interpretation of Computer Programs” (SICP) and curates complementary study materials for learners, especially Chinese-speaking Scheme/Lisp students. It focuses on translating the official lecture subtitles into Chinese while preserving the original English content for reference, providing an approachable path to a classic foundational course in computer science. The repository organizes translated subtitles, lecture indices, and supporting documents so learners can follow along with the full video series and consult the book and related readings as they study. Beyond subtitles, it aggregates links to the SICP text, environment setup guides, extended exercises, and FAQ resources to smooth first-time setup and deepen understanding of the material.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7

    LightSpeedANN

    Generator for optimized, vectorized neural net code

    This Ruby program takes in a topology specification for an artificial neural network and emits optimized C code (using SSE intrinsics) that implements fast forward and backward propagation for that specific topology.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8
    Mahatma68k is a free/Open Source emulator library for the legendary Motorola 68000 CPU written for the Java virtual machine.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    MobileHackersWeapons

    MobileHackersWeapons

    Collection of cool tools used by Mobile hackers

    MobileHackersWeapons is a curated collection of tools for Android and iOS security analysis, testing, and reverse engineering. The catalog groups projects by purpose rather than bundling them into a single executable toolkit. Categories include application analysis, penetration testing, proxies, reverse engineering, scanners, monitoring, device utilities, NFC, Bluetooth, jailbreak research, and certificate-unpinning tools. Listed projects span many languages and include both desktop utilities and tools that run directly on mobile devices. Android resources cover APK analysis, decompilation, network monitoring, instrumentation, and device interaction. iOS resources include runtime exploration, binary analysis, device automation, and research tooling. The repository is intended as a discovery reference for authorized mobile-security testing and research.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Earn up to 16% annual interest with Nexo. Icon
    Earn up to 16% annual interest with Nexo.

    Let your crypto work for you

    Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
    Get started with Nexo.
  • 10
    motel has been moved to github see project page at http://projects.morsi.org/Motel or the github project itself at http://github.com/movitto/motel
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11

    NetLinx Compile

    A wrapper utility for the AMX NetLinx compiler.

    Downloads: 0 This Week
    Last Update:
    See Project
  • 12

    NetLinx Workspace

    A library for working with AMX NetLinx Studio workspaces in Ruby.

    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    Nifty Generators

    Nifty Generators

    A collection of useful Rails generator scripts

    Nifty Generators is an archived Ruby gem containing generator scripts for older Rails applications. It was built to reduce repetitive setup work for layouts, scaffolds, configuration files, and basic authentication. The scaffold generator lets developers choose which controller actions to create and can optionally generate a model and migration. The package supports Rails 2 and Rails 3 through separate generator structures and command conventions. Generated code can work with HAML, Shoulda, and RSpec, while help commands explain the available options. The project is no longer maintained, so it is best suited to legacy codebases, historical reference, or forks that need modernization.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    Opal jQuery

    Opal jQuery

    jQuery for Opal

    opal-jquery provides DOM access to opal by wrapping jQuery (or zepto) and providing a nice ruby syntax for dealing with jQuery instances. opal-jquery provides an Element class, whose instances are toll-free bridged instances of jQuery objects. Just like ruby arrays are just javascript arrays, Element instances are just jQuery objects. This makes interaction with jQuery plugins much easier. Also, Element will try to bridge with Zepto if it cannot find jQuery loaded, making it ideal for mobile applications as well. The request is actually triggered inside the HTTP. get method, but due to the async nature of the request, the callback and errback handlers can be added anytime before the request returns.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    A set of ruby classes and tools for working with OpenCSW infrastructure and data.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    Pedestal

    Pedestal

    The Pedestal Server-side Libraries

    Pedestal is a set of libraries that we use to build services and applications. It runs in the back end and can serve up whole HTML pages or handle API requests. There are a lot of tools in that space, so why did we build Pedestal? We had two main reasons. Pedestal is designed for APIs first. Most web app frameworks still focus on the "page model" and server-side rendering. Pedestal lets you start simple and add that if you need it. Pedestal makes it easy to create "live" applications. Applications must respond with immediate feedback even while some back-end communication goes on. Pedestal makes it easy to deliver server-sent events and asynchronous updates. Pedestal works with a huge variety of containers and deployment options. Deploy applications or microservices on unikernels, Docker containers, or JAR files. Pedestal supports Tomcat, Jetty, Immutant (with Undertow), Vert.x, nginx, and Netty.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Phonelib

    Phonelib

    Ruby gem for phone validation and formatting

    Phonelib is a Ruby gem that provides phone number validation and formatting capabilities by leveraging Google's libphonenumber library. It enables developers to parse, validate, and format international phone numbers within Ruby applications.​
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    Prawn

    Prawn

    Fast, Nimble PDF Writer for Ruby

    Prawn is a pure Ruby PDF generation library that provides a lot of great functionality while trying to remain simple and reasonably performant. Extensive text rendering support, including flowing text and limited inline formatting options. Comprehensive internationalization features, including full support for UTF-8 based fonts, right-to-left text rendering, fallback font support, and extension points for customizable text wrapping. Support for PDF outlines for document navigation. Low level PDF features, allowing users to create custom extensions by dropping down all the way to the PDF object tree layer. (Mostly useful to those with knowledge of the PDF specification). If you are looking for a highly flexible PDF document generation system, Prawn might be the tool for you. It is not a reporting tool or a publishing toolchain, though it could be fairly easily used to build those things.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    Prudence is an open source container and framework for scalable web frontends and network services, based on proven REST principles. It comes in several flavors: Python, Ruby, Clojure, JavaScript, PHP and Groovy.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    Pundit

    Pundit

    Minimal authorization through OO design and pure Ruby classes

    Pundit (varvet/pundit) is a Ruby gem that provides a simple and effective framework for adding authorization logic to Rails (or other Ruby) applications. It centers around policy classes—one policy per model or resource—that define what actions a given user is permitted to perform (e.g., show?, update?, destroy?). Each policy method returns a boolean, and can be structured using combinators or shared logic to keep things DRY. In controllers and views, Pundit provides helpers like authorize, policy_scope, and policy to enforce those rules cleanly and consistently. The policy_scope feature is especially helpful—it restricts index or list queries to only the records the current user can see by applying scopes defined in the policy class. Pundit encourages placing authorization logic close to the model domain without muddling controllers or views, making permissions easier to reason about and testable.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    Redis Store

    Redis Store

    Cache Redis stores for Ruby web frameworks

    Redis Store provides a full set of stores (Cache, I18n, Session, HTTP Cache) for modern Ruby frameworks like: Ruby on Rails, Sinatra, Rack, Rack::Cache and I18n. It supports object marshaling, timeouts, single or multiple nodes, and namespaces.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    Rein

    Rein

    Database constraints made easy for ActiveRecord

    Data integrity is a good thing. Constraining the values allowed by your application at the database level, rather than at the application level, is a more robust way of ensuring your data stays sane. Unfortunately, ActiveRecord doesn't encourage (or even allow) you to use database integrity without resorting to hand-crafted SQL. Rein (pronounced "rain") adds a handful of methods to your ActiveRecord migrations so that you can easily tame the data in your database. All methods in the DSL are automatically reversible, so you can take advantage of reversible Rails migrations.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    Ruby-processing

    Ruby-processing

    Bridge between the Processing creative-coding framework and Ruby

    Ruby-processing is a bridge between the Processing creative-coding framework (originally Java-based) and the Ruby language, created to let developers and artists write Processing sketches using Ruby syntax. It enables the well-known graphics, animation, interaction and sketching patterns of Processing in a Ruby environment, which can be appealing to those who prefer Ruby’s syntax or already live in the Ruby ecosystem. Though the project is now deprecated and newer alternatives exist, it remains an excellent historical example of how to embed a drawing/graphics API into another language and how creative coding communities evolve. For educators or artists exploring coding visually, Ruby-Processing provided a low-barrier entry by combining a high-level language (Ruby) with an expressive graphics library. It also demonstrates how open-source communities wrap frameworks into new environments for accessibility and experimentation.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    SSToolkit

    SSToolkit

    A collection of well-documented iOS classes for making life easier

    SSToolkit is an archived collection of reusable Objective-C components created to simplify common iOS interface and utility tasks. It began as a large library of classes developed from 2008 onward. The monolithic version was later deprecated because the collection had become difficult to maintain as a single package. Its functionality was divided into independent libraries covering badges, gradients, loading indicators, progress displays, text controls, web views, and UIKit helpers. The remaining SSToolkit package primarily acts as an umbrella header and CocoaPods specification that installs those smaller projects. It is best treated as a historical reference or component catalog rather than a recommended dependency for modern iOS development.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    Server configuration

    Server configuration

    Docker Compose with Traefik and lots of services

    Your (my) own server configuration, managed by docker-compose, with the comprehensive default configuration.
    Downloads: 0 This Week
    Last Update:
    See Project