# LibreChat-AI/LibreChat SLOC report

> LibreChat-AI/LibreChat: 1,659,662 code lines at commit 9363db541ecd, counted with tokei-15.0.0 on 2026-11-15. Saved result 6dcd76531120166d2dcecad3ef1b1143c156bd5f0fd01498e8679b25a5fb8691.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 4,381 | 1,368,130 | 1,164,293 | 95,545 | 108,292 |
| JavaScript | 742 | 235,341 | 195,323 | 17,666 | 22,352 |
| TSX | 1,207 | 191,947 | 165,777 | 13,095 | 13,075 |
| JSON | 122 | 122,149 | 122,149 | 0 | 0 |
| CSS | 18 | 4,877 | 3,829 | 705 | 343 |
| Go | 4 | 3,187 | 2,874 | 2 | 311 |
| YAML | 56 | 5,049 | 2,713 | 2,112 | 224 |
| Handlebars | 7 | 1,360 | 1,217 | 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 |
| Dockerfile | 3 | 139 | 98 | 21 | 20 |
| HTML | 2 | 90 | 90 | 0 | 0 |
| Python | 1 | 94 | 76 | 7 | 11 |
| Markdown | 39 | 6,493 | 0 | 5,045 | 1,448 |
| Plain Text | 6 | 792 | 0 | 735 | 57 |

Top language: TypeScript 70.2%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/LibreChat-AI/LibreChat/commit/9363db541ecd4e23ab6a41dca47ca48ee2bd418e?reportId=6dcd76531120166d2dcecad3ef1b1143c156bd5f0fd01498e8679b25a5fb8691&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/LibreChat-AI/LibreChat/commit/9363db541ecd4e23ab6a41dca47ca48ee2bd418e?reportId=6dcd76531120166d2dcecad3ef1b1143c156bd5f0fd01498e8679b25a5fb8691&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does LibreChat-AI/LibreChat have?

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.

### How was the LibreChat-AI/LibreChat line count measured?

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.

### What commit was counted for LibreChat-AI/LibreChat?

This OctoCounts report was generated from main at commit 9363db541ecd on November 15, 2026.

## Similar repository reports

- [nexu-io/open-design](https://octocounts.com/github/nexu-io/open-design) — TypeScript, 1,620,627 code lines
- [PCSX2/pcsx2](https://octocounts.com/github/PCSX2/pcsx2) — TypeScript, 1,538,693 code lines
- [0xOsprey/oh-my-pi](https://octocounts.com/github/0xOsprey/oh-my-pi) — TypeScript, 1,526,827 code lines
- [code-yeongyu/oh-my-openagent](https://octocounts.com/github/code-yeongyu/oh-my-openagent) — TypeScript, 1,525,931 code lines
- [morluto/rea](https://octocounts.com/github/morluto/rea) — TypeScript, 1,523,390 code lines
- [anysearch-team/oh-my-pi](https://octocounts.com/github/anysearch-team/oh-my-pi) — TypeScript, 1,449,413 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
