Introducing Rails Stats: view LoC of Rails Products

This article was originally published on Rails Designer Ever wondered about how big a Rails project or product is? Looking for inspiration for small, but still (financial) successful Rails products? Want to share your Rails project with others? Now you can! Introducing: railsstats.com Over the past weeks I spent a bit of time here and there to build the most basic version. The goal with this first version is to collect as many projects as possible. Then later cool features and views can be built on top of them. bin/rails stats But first, bin/rails stats? Yes, Rails comes with a feature to view your app's stats. It includes lines of code, test ratio and so on. You can view them by running bin/rails stats in your app. It will output a table-like view with all the deets. It's this data you can paste into railsstats.com. Small, medium or large 13 years ago, almost to the day today, DHH shared in this article, Basecamp Next (aka “Basecamp 2”) was almost 15,000 lines of code upon launch (today Basecamp is closer to 244,000

Jan 16, 2025 - 20:07
Introducing Rails Stats: view LoC of Rails Products

This article was originally published on Rails Designer

Ever wondered about how big a Rails project or product is? Looking for inspiration for small, but still (financial) successful Rails products? Want to share your Rails project with others? Now you can!

Introducing: railsstats.com

Over the past weeks I spent a bit of time here and there to build the most basic version. The goal with this first version is to collect as many projects as possible. Then later cool features and views can be built on top of them.

bin/rails stats

But first, bin/rails stats? Yes, Rails comes with a feature to view your app's stats. It includes lines of code, test ratio and so on. You can view them by running bin/rails stats in your app. It will output a table-like view with all the deets.

It's this data you can paste into railsstats.com.

Small, medium or large

13 years ago, almost to the day today, DHH shared in this article, Basecamp Next (aka “Basecamp 2”) was almost 15,000 lines of code upon launch (today Basecamp is closer to 244,000