GitDiagram
Browse

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).

In the 43 most-starred diagrams
Draws a data store63%
Has a command-line interface26%
Has plugins or extensions21%
Draws a queue or event bus16%
Has a web interface9%
Split into workspace packages5%

Repositories 1–50 of 101

  1. 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.

  2. maybe-finance/maybe★ 54.1k

    - This is a Ruby on Rails monolith for personal finance management.

  3. jekyll/jekyll★ 51.5k

    Jekyll is a static‐site generator implemented as a Ruby gem and CLI tool.

  4. mastodon/mastodon★ 50.4k

    Mastodon is a federated social-network server.

  5. 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…

  6. discourse/discourse★ 48k

    Discourse is a self-hostable community platform.

  7. 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…

  8. 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.

  9. rapid7/metasploit-framework★ 39.1k

    Metasploit Framework is a security testing platform whose README identifies msfconsole as its primary interface.

  10. 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…

  11. 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…

  12. matteocrippa/awesome-swift★ 26.3k

    Awesome Swift is a curated directory of Swift-related learning resources, tools, libraries, and projects.

  13. gitlabhq/gitlabhq★ 24.6k

    GitLab is a Rails collaboration and DevOps platform.

  14. 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.).

  15. ruby/ruby★ 23.7k

    Ruby is an interpreted, object-oriented language runtime.

  16. forem/forem★ 22.8k

    Forem is a Rails community platform for publishing and discovering content, participating in discussions, and managing community identities and spaces.

  17. lewagon/setup★ 19.5k

    The heart of the project is its Markdown-based guides.

  18. postalserver/postal★ 16.4k

    This is Postal: a self-hosted, full-featured mail server written in Ruby on Rails. It provides.

  19. opf/openproject★ 16.3k

    OpenProject is a self-hosted project-management and team-collaboration platform.

  20. 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.

  21. homebrew/homebrew-core★ 15.6k

    Homebrew Core is the default catalog of formula definitions used by brew install.

  22. 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.

  23. diaspora/diaspora★ 13.7k

    diaspora* is a privacy-aware, distributed social network hosted by independently operated pods.

  24. 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.

  25. github-linguist/linguist★ 13.4k

    Core Ruby Library: Represent the “lib/linguist” directory that contains the primary Ruby classes (e.g.

  26. rubocop/rubocop★ 12.8k

    RuboCop is an open-source, full-featured static code analyzer and formatter for Ruby.

  27. 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).

  28. faker-ruby/faker★ 11.9k

    Faker is a Ruby library for generating realistic-looking sample data for tests, demos, and development.

  29. shopify/liquid★ 11.7k

    This is an open-source Ruby library implementing the Liquid template engine (liquid.gemspec, lib/liquid).

  30. docusealco/docuseal★ 11.6k

    Within it, note that the views (app/views) and JavaScript assets (app/javascript) form the primary UI layer.

  31. we-promise/sure★ 10k

    Sure is a self-hostable personal-finance and wealth-management platform.

  32. antiwork/gumroad★ 9.9k

    Gumroad is a creator-commerce web application: creators offer products and consumers purchase and use them.

  33. wpscanteam/wpscan★ 9.8k

    WPScan is a WordPress security scanner.

  34. 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…

  35. kaminari/kaminari★ 8.7k

    This is an open-source Ruby pagination library (“Kaminari”) structured as a monorepo that bundles three gems.

  36. community/community★ 8.4k

    This repository is primarily a GitHub Discussions community hub plus a GitHub Actions automation layer.

  37. chef/chef★ 8.4k

    CLI Tools & Applications: Directories such as “chef-bin” and “knife” contain the command-line utilities.

  38. 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).

  39. basecamp/fizzy★ 7.9k

    - This is a Ruby on Rails monolith for a Kanban-style product called Fizzy.

  40. puma/puma★ 7.9k

  41. puppetlabs/puppet★ 7.8k

    Puppet is an open-source, Ruby-based configuration management framework.

  42. 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…

  43. 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…

  44. instructure/canvas-lms★ 6.9k

    Canvas is an open-source learning management system.

  45. pry/pry★ 6.8k

    – Pry::CLI (argument parsing, configuration loading)

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.