LibreChat-AI/LibreChat has 1,659,662 source lines of code out of 1,941,204 total lines across 6,630 files, counted with tokei from the main ref at commit 9363db541ecd on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit 9363db541ecd), LibreChat-AI/LibreChat contains 1,941,204 total lines: 1,659,662 code, 135,221 comments, 146,321 blank, across 6,630 files in 17 languages (top language: TypeScript 70.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving LibreChat-AI/LibreChat to commit 9363db541ecd, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a very large codebase by counted code lines. Code represents 85.5% of all lines, comments represent 7.0%, and the repository averages 250 code lines per file. TypeScript accounts for 70.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 4381 | 1368130 | 1164293 | 95545 | 108292 |
| JavaScript | 742 | 235341 | 195323 | 17666 | 22352 |
| TSX | 1207 | 191947 | 165777 | 13095 | 13075 |
| JSON | 122 | 122149 | 122149 | 0 | 0 |
| CSS | 18 | 4877 | 3829 | 705 | 343 |
| Go | 4 | 3187 | 2874 | 2 | 311 |
| YAML | 56 | 5049 | 2713 | 2112 | 224 |
| Handlebars | 7 | 1360 | 1217 | 131 | 12 |
| Shell | 11 | 875 | 625 | 133 | 117 |
| Pan | 2 | 347 | 305 | 0 | 42 |
| SVG | 27 | 184 | 174 | 3 | 7 |
| JSX | 2 | 150 | 119 | 21 | 10 |
Top language: TypeScript 70.2%. Generated on .
LibreChat-AI/LibreChat: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
LibreChat-AI/LibreChat has 1,659,662 lines of code, plus 135,221 comment lines and 146,321 blank lines, for 1,941,204 total lines at commit 9363db541ecd on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 9363db541ecd, 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 main at commit 9363db541ecd on November 15, 2026.
Play the growth animation for LibreChat-AI/LibreChat on this page — 1,659,662 code lines across 17 languages, counted by tokei.