The Healthiest Open-Source Repos by Language, October 2026

Raghav ChamadiyaUpdated 7 min read
On this page

Across the 147 popular open-source repos we rank, the median code health score is 6.97 out of 10, and the healthiest is MassTransit, a .NET messaging framework, at 9.3 across 5,533 files. C# leads by language with a median of 8.71, and Rust is lowest at 5.77. This is the October 2026 refresh, ranked inside each language.

Ranking every scored repo puts tiny projects on top: 479 public repos score exactly 10.00, and 450 of them have fewer than 1,000 lines of code. So the leaderboards only rank repos with some weight to them. They are public, have at least 500 GitHub stars and at least 100 files, are not forks or archived, are written mainly in one of the 15 languages we parse fully, and are scored on their newest index. Today that is 147 repos.

repowise's code health score (1 to 10) rates how likely a file is to cause bugs and how hard it is to change, using static checks plus git history. The repo score is the average across files, weighted by lines of code. Every number below links to the repo's page, where you can see the files behind it.

Since the first draft of this study, scores count code files only. The engine used to score JSON, YAML and Markdown files too, and they always got a perfect 10, which flattered repos with many translation files or docs. We re-scored everything on 6 October, and some well-known repos dropped by more than a point.

Each language at a glance

A language gets a "healthiest" only if it has at least 5 ranked repos.

LanguageRepos rankedMedian healthHealthiest
C#88.71MassTransit 9.3
Java117.44low-level-design-course 8.4 (measured on 20 May)
TypeScript377.40ghostery/adblocker 8.9
C++57.34Deep Lake 8.0
Python446.95Litestar 8.5
Go196.80KEDA HTTP add-on 7.9 (measured on 3 June)
JavaScript126.53AlaSQL 9.1 (measured on 14 July)
Rust105.77Ratatui 7.8

Scroll the table sideways to see every column.

Treat the language medians as indicative: five C++ repos and eight C# repos are small samples, so they reflect which repos are indexed as much as the languages. The per-language lists below are the stronger signal, and each has its own leaderboard page.

The top of the whole list

The healthiest repo in the pool is MassTransit, a distributed messaging framework for .NET, at 9.3 across 5,533 files, which makes it #1 of 5,000+ indexed repos. Archived repos are left out of the ranking, which is why a retired Microsoft sample app with a slightly higher score isn't on this list.

C# holds four of the top seven places. Second is Blazor.Diagrams at 9.3 across 295 files (#2 of 5,000+ indexed repos), and third is AlaSQL, the JavaScript leader, which comes up again below.

Python

Python has the most repos in the pool, 44, and a median of 6.95. Litestar leads at 8.5 across 1,167 files (#10 of 5,000+ indexed repos), and FastAPI sits right behind it at 8.4 across 2,927 files (#13 of 5,000+ indexed repos). Both were indexed this month. Third is camply, a tool that finds campsites at sold-out campgrounds, at 8.3 across 170 files (measured on 11 July).

For transparency, the repowise repo is fifth on the Python list. The full list is on the Python leaderboard.

TypeScript

TypeScript has 37 repos and a median of 7.40. Ghostery's adblocker leads at 8.9 across 215 files, then flowsint at 8.5 (measured on 1 August) and shadcn/ui at 8.3 across 5,069 files (#14 of 5,000+ indexed repos).

The standout is Grafana, eleventh on the TypeScript list at 7.9 with 18,146 files. All ten repos above it have fewer than 6,000 files, and it is still in the top third of the language. More on the TypeScript leaderboard.

Go

Go has 19 repos and a median of 6.80. KEDA's HTTP add-on leads at 7.9 (measured on 3 June), then listmonk at 7.4 (measured on 30 June) and Gitea at 7.4 across 3,158 files (measured on 17 July). After the leader, the next four sit within about a tenth of a point of each other, which fits a language where code tends to look alike. The rest are on the Go leaderboard.

JavaScript, Java, Rust, C# and C++

JavaScript has 12 repos. AlaSQL, a SQL database written in JavaScript, leads at 9.1 (measured on 14 July), then Ace, the code editor, at 8.4 across 1,245 files, and Fastify at 7.7. See the JavaScript leaderboard.

Java has 11 repos, and the top spot goes to low-level-design-course, the code that goes with a video course on low-level design, at 8.4 (measured on 20 May). Next come Java PathFinder at 7.7 (measured on 30 July) and Keycloak at 7.7 across 10,414 files, the biggest repo near the top of any list here. See the Java leaderboard.

Rust has 10 repos and the lowest median, 5.77. Ratatui leads at 7.8, then Vortex at 7.5 and Bevy at 6.7. See the Rust leaderboard.

C# has 8 repos and by far the highest median, 8.71: MassTransit, Blazor.Diagrams and supabase-csharp at 9.0 take the top three. See the C# leaderboard.

C++ reached five ranked repos in this refresh, just enough for a list. Deep Lake leads at 8.0 across 856 files, then Coinbase's cb-mpc at 7.8 (measured on 17 July). See the C++ leaderboard.

A language with one repo

Ruby has only 1 ranked repo, so it doesn't get a "healthiest" yet, but that one repo is worth a mention. Chatwoot, the open-source support desk, scores 8.9 across 7,989 files (#6 of 5,000+ indexed repos), and it is the biggest repo in the top ten. It used to score 9.6, back when its 640,000 lines of JSON translation files counted as perfect code, and it still sits near the top without them.

What the score does not measure

  • Size matters a lot. Across all scored public repos, median health falls from 9.91 under 1,000 lines of code to 6.79 between 100,000 and 999,999 lines, so a large repo at 7.9 is holding a standard a small repo at 8.9 does not have to.
  • Each score comes from the repo's newest index, measured between May and October 2026. Where the index is more than 60 days old, we have written the date next to it, and some of these repos have moved since.
  • The score reads structure and git history: complexity, function size, duplication, churn and similar markers. Product quality, test thoroughness and maintainer responsiveness are outside what it measures.
  • Primary language is GitHub's label, so a TypeScript repo with a Go backend is ranked as TypeScript.

If you maintain one of these repos and a score looks wrong, tell us and we will check it. To score your own repo, paste its GitHub URL into repowise.dev: the page shows the score, the files that pulled it down, and a README badge.

The full lists, updated as we index more repos, are on the leaderboards.

How we measured

  • Who's ranked: public repos on repowise.dev with at least 500 GitHub stars and at least 100 files, not a fork, not excluded by hand, with a primary language among the 15 we parse fully (Python, TypeScript, JavaScript, Svelte, Vue, Java, Kotlin, Go, Rust, C++, C#, Scala and Ruby), and a health score on their newest ready index. Repos indexed under two owners count once. Archived repos are left out. That gives 147 ranked repos out of 5,163 repos with a ready index, which is where "5,000+" comes from.
  • The score: as defined at the top, counting code files only since the 6 October re-scoring. Method: what is code health.
  • Language: GitHub's primary language for the repo. A language needs at least 5 ranked repos to get a "healthiest".
  • Rank: position in the 147-repo pool by score (ties broken by stars), written as "out of 5,000+ indexed repos" because that's the set every repo was compared against. Ranks are from the 7 October 2026 ranking refresh.

FAQ

What is the healthiest open-source repo?
As of 7 October 2026, MassTransit is the healthiest in the ranked pool of 147 repos, scoring 9.3 across 5,533 files. Blazor.Diagrams is second at 9.3 across 295 files.
Which programming language has the healthiest open-source code?
C# has the highest median, 8.71, across 8 ranked repos. Java (7.44), TypeScript (7.40) and C++ (7.34) follow. Rust has the lowest median at 5.77 across 10 repos. Small samples in some languages mean the per-language lists are more reliable than the medians.
How is the code health score calculated?
Each file starts at 10, and findings from static checks and git history (complexity, function size, duplication, churn) deduct from it. The repo score is the average across code files, weighted by lines of code. See what is code health for the markers.
Why do small repos score higher?
Smaller codebases have fewer places for complexity to accumulate. Median health falls from 9.91 under 1,000 lines of code to 6.79 between 100,000 and 999,999 lines, which is why this study ranks only repos with 100+ files.
How do I see my own repo's score?
Paste its GitHub URL into repowise.dev. Public repos get a score, the lowest-scoring files, and a place on the leaderboards if they meet the criteria.