Ruby project architecture examples
Interactive architecture diagrams of 101 open-source Ruby repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.
Across the 43 most-starred Ruby projects here, the median diagram has 20 components. 63% draw a data store (most often PostgreSQL, Redis and a cache), 26% have a command-line interface and 9% a web interface.
21% have a plugin or extension system and 16% draw a queue or event bus.
The files their components link to most are routes.rb (6), application_controller.rb (4), client.rb (4), configuration.rb (4) and search.rb (4).
Group names that recur: “administration” (2), “async & integrations” (2), “automation” (2), “browser experience” (2) and “platform services” (2).
Repositories 1–50 of 101
rails/rails★ 58.8k
Rails is an MVC web application framework with independently usable libraries for persistence, background jobs, email, WebSockets, file attachments, and rich text.
maybe-finance/maybe★ 54.1k
- This is a Ruby on Rails monolith for personal finance management.
jekyll/jekyll★ 51.5k
Jekyll is a static‐site generator implemented as a Ruby gem and CLI tool.
mastodon/mastodon★ 50.4k
Mastodon is a federated social-network server.
homebrew/brew★ 50k
Homebrew is a macOS/Linux package manager: users invoke brew commands to find, install, update, and manage formulae and casks, with brew bundle and brew services providing…
huginn/huginn★ 49k
discourse/discourse★ 48k
Discourse is a self-hostable community platform.
fastlane/fastlane★ 41.8k
fastlane is a Ruby-distributed automation suite for iOS, Android, and Apple-platform release workflows: defining build/test/release lanes, managing signing, producing…
freecodecamp/devdocs★ 39.5k
DevDocs turns third-party reference material into normalized, indexed documentation, then serves it through a browser-based documentation and search interface.
rapid7/metasploit-framework★ 39.1k
Metasploit Framework is a security testing platform whose README identifies msfconsole as its primary interface.
chatwoot/chatwoot★ 37.2k
Chatwoot is an omnichannel customer-support platform: customers contact a business through supported channels, conversations are handled and routed in the support workspace, and…
hashicorp/vagrant★ 27.2k
Vagrant is an application that abstracts various virtualization and container environments (such as VirtualBox, VMware, Docker, Hyper-V, etc.) to let developers set up…
matteocrippa/awesome-swift★ 26.3k
Awesome Swift is a curated directory of Swift-related learning resources, tools, libraries, and projects.
gitlabhq/gitlabhq★ 24.6k
GitLab is a Rails collaboration and DevOps platform.
heartcombo/devise★ 24.3k
– A “Gem/Engine Layer” that includes the principal code (found in lib/) with its many modules (models, strategies, hooks, mailers, controllers, etc.).
ruby/ruby★ 23.7k
Ruby is an interpreted, object-oriented language runtime.
forem/forem★ 22.8k
Forem is a Rails community platform for publishing and discovering content, participating in discussions, and managing community identities and spaces.
lewagon/setup★ 19.5k
The heart of the project is its Markdown-based guides.
postalserver/postal★ 16.4k
This is Postal: a self-hosted, full-featured mail server written in Ruby on Rails. It provides.
opf/openproject★ 16.3k
OpenProject is a self-hosted project-management and team-collaboration platform.
spree/spree★ 15.7k
Spree is an open-source commerce platform spanning a Rails commerce backend, REST APIs and typed clients, React admin and seller dashboards, and project tooling.
homebrew/homebrew-core★ 15.6k
Homebrew Core is the default catalog of formula definitions used by brew install.
basecamp/kamal★ 14k
Kamal is a deployment tool designed to deploy containerized web apps (originally for Rails, but generalizable) across bare metal servers and cloud VMs.
diaspora/diaspora★ 13.7k
diaspora* is a privacy-aware, distributed social network hosted by independently operated pods.
fluent/fluentd★ 13.5k
Core Engine: Represent the central Fluentd engine (located in lib/fluent/engine.rb and related files) that orchestrates the data flow.
sidekiq/sidekiq★ 13.5k
github-linguist/linguist★ 13.4k
Core Ruby Library: Represent the “lib/linguist” directory that contains the primary Ruby classes (e.g.
rubocop/rubocop★ 12.8k
RuboCop is an open-source, full-featured static code analyzer and formatter for Ruby.
sinatra/sinatra★ 12.4k
ubicloud/ubicloud★ 12k
Control Plane: This is the core Ruby application that handles web requests (via the Roda framework), authentication (using Rodauth), and database interactions (through Sequel).
faker-ruby/faker★ 11.9k
Faker is a Ruby library for generating realistic-looking sample data for tests, demos, and development.
shopify/liquid★ 11.7k
This is an open-source Ruby library implementing the Liquid template engine (liquid.gemspec, lib/liquid).
docusealco/docuseal★ 11.6k
Within it, note that the views (app/views) and JavaScript assets (app/javascript) form the primary UI layer.
we-promise/sure★ 10k
Sure is a self-hostable personal-finance and wealth-management platform.
antiwork/gumroad★ 9.9k
Gumroad is a creator-commerce web application: creators offer products and consumers purchase and use them.
wpscanteam/wpscan★ 9.8k
WPScan is a WordPress security scanner.
activeadmin/activeadmin★ 9.7k
Admin Engine & DSL: At the core, Active Admin provides a DSL (defined in files within the “lib” directory and generators) that lets developers declare administrative resources…
kaminari/kaminari★ 8.7k
This is an open-source Ruby pagination library (“Kaminari”) structured as a monorepo that bundles three gems.
community/community★ 8.4k
This repository is primarily a GitHub Discussions community hub plus a GitHub Actions automation layer.
freika/dawarich★ 8.4k
chef/chef★ 8.4k
CLI Tools & Applications: Directories such as “chef-bin” and “knife” contain the command-line utilities.
thoughtbot/factory_bot★ 8.4k
Client Code / Integration Layer – This represents the consumer of the gem (e.g., Rails, RSpec, or other Ruby applications that use factory_bot).
basecamp/fizzy★ 7.9k
- This is a Ruby on Rails monolith for a Kanban-style product called Fizzy.
puma/puma★ 7.9k
puppetlabs/puppet★ 7.8k
Puppet is an open-source, Ruby-based configuration management framework.
github/scientist★ 7.7k
This is a Ruby library (a gem) named “Scientist” that instruments your application code to run two behaviors (“control” and “candidate”) side-by-side, compare their results…
chyingp/nodejs-learning-guide★ 6.9k
This is a static documentation/book site for Node.js learning, organized as Markdown content (core modules, examples, advanced topics) and built with a static-site tool (GitBook…
instructure/canvas-lms★ 6.9k
Canvas is an open-source learning management system.
pry/pry★ 6.8k
– Pry::CLI (argument parsing, configuration loading)
hanami/hanami★ 6.4k
Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the 2026 open-source architecture report. Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.