medusajs/medusa has 2,181,492 source lines of code out of 2,931,018 total lines across 20,983 files, counted from the develop ref at commit 146c46b0ad11 by the OctoCounts tokei engine on 2026-10-10. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-10 (commit 146c46b0ad11), medusajs/medusa contains 2,931,018 total lines: 2,181,492 code, 528,286 comments, 221,240 blank, across 20,983 files in 13 languages (top: YAML 65.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving medusajs/medusa to commit 146c46b0ad11, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 74.4% of all lines, comments represent 18.0%, and the repository averages 104 code lines per file. YAML accounts for 65.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| YAML | 1616 | 1425299 | 1417480 | 0 | 7819 |
| TypeScript | 6129 | 518419 | 351285 | 119322 | 47812 |
| TSX | 2595 | 232291 | 206754 | 5482 | 20055 |
| JSON | 8173 | 176069 | 176063 | 0 | 6 |
| JavaScript | 656 | 28565 | 26113 | 592 | 1860 |
| Shell | 517 | 3113 | 2642 | 289 | 182 |
| Handlebars | 21 | 1140 | 592 | 0 | 548 |
| CSS | 8 | 367 | 282 | 8 | 77 |
| SVG | 50 | 268 | 268 | 0 | 0 |
| HTML | 1 | 13 | 13 | 0 | 0 |
| MDX | 1028 | 299587 | 0 | 226312 | 73275 |
| Markdown | 182 | 60071 | 0 | 37503 | 22568 |
Top language (YAML 65.0%). Generated at .
medusajs/medusa has 2,931,018 total lines, including 2,181,492 code lines, 528,286 comment lines, and 221,240 blank lines.
OctoCounts resolved the public GitHub repository to commit 146c46b0ad11, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from develop at commit 146c46b0ad11 on 2026-10-10T02:08:37.885382057+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for medusajs/medusa on this page — 2,181,492 code lines across 12 languages, counted by tokei.