200 Rails apps as submodules, 10 GB of disk, and a git-ignored place to keep what you find
200+ production open source Rails apps & engines in one repo. Search across real codebases with AI agents to research architectural patterns.
At a glance
- What is it?
- real-world-rails aggregates more than 200 production Rails apps and engines as git submodules so a coding agent can cross-reference them. The cost is stated up front at roughly 10 GB for a shallow clone and 29 GB with history, freshness arrives as a weekly pull request you merge yourself, and the directory where an agent writes its findings is git-ignored on purpose.
- Who is it for?
- real-world-rails is worth the disk if you are doing architectural research across Rails applications rather than reading one codebase, and the submodules model is honest about its cost in a way that a link list is not: an agent gets the real source rather than a description of it. Two things to plan for.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 2 days ago.
- What is it written in?
- Mainly Shell, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- steveclarke/real-world-rails542 ★ · +4
| Repository | 2026-09-11 | 2026-11-25 |
|---|---|---|
| steveclarke/real-world-rails | 538 | 542 |
4 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Cloning costs 10 GB, and full history costs 29 GB
The reason this repository exists rather than a list of links is that the code is actually there. More than 200 apps and engines live in the tree as git submodules, and getting them means one script:
git clone [email protected]:steveclarke/real-world-rails.git
cd real-world-rails/
bin/setupThe disk figures are given in a note above the commands, and they are the first thing worth reading. A default `bin/setup` clones every repository shallow, using approximately 10 GB. `bin/setup --full` clones complete history and lands at roughly 29 GB. Switching between the two modes is not incremental: `bin/setup --reset` re-downloads everything, so the 19 GB difference is paid again rather than added.
The setup also asks for git-lfs to be installed, and the script family is designed around partial completion. `bin/status` reports how many apps are initialized, which is the answer to the only question a 200 repository clone really needs answered: did all of it land. `bin/add https://github.com/user/repo` adds one more by URL, and `bin/verify` checks whether each submodule's repository still exists on GitHub and has not been moved or renamed, which needs the `gh` command line tool.
So the checked out repository you get is close to empty. What is actually in it is `.gitmodules`, a `repos.md` listing, a `CLAUDE.md`, a `skills/` directory, a `bin/` directory and two directories of pointers. The megabytes are in `.git/modules`, and the repository's own tracked content is the manifest.
Freshness arrives as a weekly pull request that you merge yourself
Aggregation goes stale the moment it is built, and the mechanism for that here is a scheduled pull request. A GitHub Action runs weekly, updates the submodule pointers and opens a PR. Merging it is a manual step, and after merging, updating your local copy takes two commands:
git pull
git submodule updateThere is also `bin/update`, which pulls latest changes and moves all submodules to their latest remote commits without waiting for the weekly action. That is the escape hatch for the case where you need a fix that has already landed upstream in one of the 200 apps, and it is the reason the local workflow needs both a pull and a submodule step: a plain `git pull` updates the pointers in the index, and nothing materialises on disk until the second command runs.
What the project does not have is releases. There are no tags, no published versions and no changelog, so the pointer set has no named states you can return to. Every commit in this repository is a bulk adjustment to 200 or more pointers, and the only way to know what a given commit changed is to read its diff of `.gitmodules`. That is workable, and it is also why the weekly PR is a review artifact rather than a release: a maintainer is approving 200 upstream HEAD positions in one click, which is a check that the URLs resolve, not a review of what the code now says.
For a user, the practical consequence is a ceiling on how current your copy is. Any submodule advances at upstream speed only if the weekly action ran, the PR merged, you pulled, and you ran the submodule update. Four steps, one of them on a weekly cadence.
A verify script exists because a list of pointers is a list that rots
Most link collections rot quietly. A URL in a README goes 404 and nobody notices for a year. This project has a different failure surface because it is not a list of links at all: each entry is a submodule entry with a URL and a pinned commit, and when the upstream repository is renamed, transferred or deleted, your clone breaks in a way that is easy to recognise as breakage and hard to fix without the original list.
`bin/verify` exists for exactly that. It checks that each submodule repository still exists on GitHub and that it has not been moved or renamed. It needs the `gh` CLI, so it is not part of the default setup path, and nothing described in the scripts section runs it on a schedule. The weekly action's job is to move pointers forward; verification is a separate, manual, opt-in check.
That separation is worth noticing because the two jobs fail differently. A dead upstream repository breaks the automated weekly update, which is visible to the maintainer. A repository that still resolves but has been renamed shows up as a redirect or as a new location, and the pointer keeps working while the entry quietly points somewhere you did not choose. `bin/verify` checks for that case, which is the case the weekly action does not.
For a user the practical reading is that the collection's integrity is a manual audit. Nothing in the default workflow tells you how many of the 200 pointers are currently correct, and `bin/status` answers a different question, which is how many are initialised locally.
The directory where the agent writes findings is git-ignored
The feature that makes this repository different from its predecessor is agent research, and the place those results go is deliberately excluded from version control. The `analyses/` directory is git-ignored and described as a safe place to store your own research: Markdown files, notes, pattern comparisons, any documentation. The stated reasons are that it will not be committed, will not show up in pull requests, and keeps your workspace clean while you work alongside the codebases.
Each of those reasons is sound on its own. Nobody wants to open a pull request that adds 40 megabytes of agent notes, and a directory that stays out of diffs cannot pollute a review. The consequence is worth stating plainly. This repository is an aggregation of other people's code, published so that findings can be compared across codebases. The place where the comparison gets written is excluded from sharing by default. Every multi-tenancy survey, every background job pattern comparison, every soft delete inventory stays on the machine that produced it and disappears with the directory.
So the social loop the project describes does not exist at the level of results. You can point an agent at 200 codebases and get an answer, and the answer is private unless you move it. The repository's own contribution routes reinforce this: an issue with a GitHub URL, or a pull request after `bin/add`, both of which are about adding an application, never about adding an analysis. Adding a codebase is the contribution. Reporting what you found in it is not.
Active or merely good: the acceptance criteria take an either
Four criteria govern what goes in. The application must be open source and publicly available on GitHub, built with Ruby on Rails, either actively maintained or representing quality code worth studying, and a real-world application rather than a demo or tutorial.
Three of those are objective. The fourth is the interesting one, and it is an either. Actively maintained, or quality code worth studying. The second branch admits an application that nobody has touched in years, on the grounds that the code is still worth reading. That is a defensible standard for a learning resource and an inconsistent one for the repository's stated premise, which is 200 active, open source Rails apps in one place.
Nothing in the tooling resolves the difference. `bin/verify` checks that a repository exists and has not been moved or renamed, which is a question about location. The weekly action checks out the latest commit of whatever is pinned, which is a question about current state at that URL. Neither asks whether the last commit was recent. So the maintenance half of the criterion is enforced by a human reading a pull request, at the moment of addition, and never rechecked afterwards.
That is a normal arrangement for a curated list, and it has a predictable effect on a list large enough to need automation. Entries added during a wave of activity age at very different rates, and the collection's claim to be current rests on the honesty of whoever added each one rather than on a property of the repository.
Four Real World collections, one of them yours, and the predecessor this one replaces
This repository describes itself as an actively maintained continuation of `eliotsykes/real-world-rails`, which is the honest framing for what the technique is: an aggregation that needs more hands than one person has. The list of sibling collections at the bottom of the readme shows the same shape repeated across frameworks, with different owners for three of the four: Real World Nuxt under the same account, and Real World Ruby Apps, Real World Sinatra and Real World Django under three others.
What the continuation adds over the original is the agent angle and the script layer. The stated reason is that finding a pattern across codebases used to mean grepping or writing Ruby scripts, and that agents change that. The examples given are the right kind of question for the shape of the data: how background job retries are implemented, how multi-tenancy is done, how PDF generation is handled, how soft deletes work, and how Devise compares with custom authentication.
The repository's own numbers are worth recording without drawing conclusions from them. 542 stars, 27 forks, zero open issues, MIT licensed, Shell as the detected language, default branch `main`, and a last push dated 2026-09-28. Zero open issues alongside 27 forks means either that nothing is filed or that filing is not a habit here, and the readme names an issue as the easiest way to suggest an application, which suggests the answer is closer to the second. The agent entry point is a `CLAUDE.md` at the root plus a `/real-world-rails` skill installed with `npx skills add steveclarke/real-world-rails`, and the readme's own advice is to ask the agent questions rather than read the command documentation.
Editorial conclusion
real-world-rails is worth the disk if you are doing architectural research across Rails applications rather than reading one codebase, and the submodules model is honest about its cost in a way that a link list is not: an agent gets the real source rather than a description of it. Two things to plan for. Budget the clone, because the shallow setup is a 10 GB operation and switching to full history later means re-downloading everything with `bin/setup --reset`. And accept that findings stay local, since the `analyses/` directory is ignored on purpose, so if you want a multi-tenancy comparison to outlive your machine you have to move it somewhere yourself. For a single app, a code search and one repository will serve you better.
Frequently asked questions
How much disk space does real-world-rails need?
About 10 GB for the default shallow `bin/setup` across all 200+ submodules, and roughly 29 GB with `bin/setup --full` for complete history. Switching modes means re-downloading with `bin/setup --reset` rather than adding to what you already have.
How do submodules in real-world-rails get updated?
A GitHub Action runs weekly, updates the pointers and opens a pull request that you merge yourself. Afterwards you run `git pull` and then `git submodule update`, since the pull alone does not materialise the new commits. `bin/update` skips the wait.
Where do I keep the notes an agent writes while researching real-world-rails?
In the `analyses/` directory, which is git-ignored. It accepts Markdown, notes and pattern comparisons and is excluded from commits and pull requests, so what your agent finds stays on your machine unless you move it.
What does bin/verify check in real-world-rails?
It checks that each submodule repository still exists on GitHub and has not been moved or renamed. It requires the `gh` command line tool and is not part of the default setup, so it is a manual check rather than part of the weekly update.
Can I add my own Rails app to real-world-rails?
Yes, with `bin/add https://github.com/user/repo` followed by a commit and pull request, or by opening an issue with the GitHub URL, which the readme calls the easiest route. The app has to be open source, built with Rails, and either actively maintained or code worth studying.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/steveclarke-real-world-rails)Star history chart for your README
[](https://hysenlabs.com/projects/steveclarke-real-world-rails)Was this useful?