LibreChat-AI/LibreChat has 1,709,664 source lines of code out of 1,999,453 total lines across 6,814 files, counted with tokei from the main ref at commit 4700c44eb77c on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-20 (commit 4700c44eb77c), LibreChat-AI/LibreChat contains 1,999,453 total lines: 1,709,664 code, 140,480 comments, 149,309 blank, across 6,814 files in 17 languages (top language: TypeScript 70.6%). 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 4700c44eb77c, 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 251 code lines per file. TypeScript accounts for 70.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 4524 | 1417404 | 1207412 | 99114 | 110878 |
| JavaScript | 759 | 237266 | 197167 | 17662 | 22437 |
| TSX | 1226 | 197171 | 170003 | 13916 | 13252 |
| JSON | 122 | 122880 | 122880 | 0 | 0 |
| CSS | 18 | 4877 | 3829 | 705 | 343 |
| Go | 4 | 3187 | 2874 | 2 | 311 |
| YAML | 61 | 5223 | 2783 | 2210 | 230 |
| Handlebars | 7 | 1360 | 1217 | 131 | 12 |
| Shell | 11 | 891 | 637 | 136 | 118 |
| Pan | 2 | 347 | 305 | 0 | 42 |
| SVG | 27 | 184 | 174 | 3 | 7 |
| JSX | 2 | 150 | 119 | 21 | 10 |
Top language: TypeScript 70.6%. 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,709,664 lines of code, plus 140,480 comment lines and 149,309 blank lines, for 1,999,453 total lines at commit 4700c44eb77c on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 4700c44eb77c, 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 4700c44eb77c on November 20, 2026.
Play the growth animation for LibreChat-AI/LibreChat on this page — 1,709,664 code lines across 17 languages, counted by tokei.