# LibreChat-AI/LibreChat SLOC report

> LibreChat-AI/LibreChat: 1,460,109 code lines at commit f18b16baedab, counted with tokei-14.0.0 on 2026-10-24. Saved result 3f5546a404d59c707705794483f8bbe860c39f7aefad33111e0ddae9b8d42a5b.

LibreChat-AI/LibreChat has 1,460,109 source lines of code out of 1,721,071 total lines across 5,757 files, counted from the main ref at commit f18b16baedab by the OctoCounts tokei engine on 2026-10-24. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving LibreChat-AI/LibreChat to commit f18b16baedab, 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 84.8% of all lines, comments represent 7.3%, and the repository averages 254 code lines per file. TypeScript accounts for 68.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 3,675 | 1,181,072 | 995,396 | 88,124 | 97,552 |
| JavaScript | 683 | 224,782 | 185,496 | 17,583 | 21,703 |
| TSX | 1,122 | 186,317 | 161,123 | 12,171 | 13,023 |
| JSON | 114 | 106,597 | 106,597 | 0 | 0 |
| CSS | 16 | 4,542 | 3,643 | 588 | 311 |
| Go | 4 | 3,187 | 2,874 | 2 | 311 |
| YAML | 48 | 4,652 | 2,396 | 2,037 | 219 |
| Handlebars | 7 | 1,360 | 1,217 | 131 | 12 |
| Shell | 11 | 875 | 625 | 133 | 117 |
| Pan | 2 | 293 | 257 | 0 | 36 |
| SVG | 26 | 183 | 173 | 3 | 7 |
| JSX | 2 | 147 | 116 | 21 | 10 |
| Python | 1 | 94 | 76 | 7 | 11 |
| Dockerfile | 2 | 103 | 67 | 21 | 15 |
| HTML | 2 | 53 | 53 | 0 | 0 |
| Markdown | 36 | 6,022 | 0 | 4,642 | 1,380 |
| Plain Text | 6 | 792 | 0 | 735 | 57 |

Top language (TypeScript 68.2%). Generated at 2026-10-24T10:35:39.746620501Z. Canonical report: https://octocounts.com/github/LibreChat-AI/LibreChat/commit/f18b16baedab8eacc77c0523adfbeeff36ff8920?reportId=3f5546a404d59c707705794483f8bbe860c39f7aefad33111e0ddae9b8d42a5b&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/f18b16baedab8eacc77c0523adfbeeff36ff8920?reportId=3f5546a404d59c707705794483f8bbe860c39f7aefad33111e0ddae9b8d42a5b&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,721,071 total lines, including 1,460,109 code lines, 126,198 comment lines, and 134,764 blank lines.

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

OctoCounts resolved the public GitHub repository to commit f18b16baedab, 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 f18b16baedab on 2026-10-24T10:35:39.746620501Z.

## Similar repository reports

- [pingdotgg/t3code](https://octocounts.com/github/pingdotgg/t3code) — TypeScript, 1,495,215 code lines
- [0xOsprey/oh-my-pi](https://octocounts.com/github/0xOsprey/oh-my-pi) — TypeScript, 1,526,827 code lines
- [qbittorrent/qBittorrent](https://octocounts.com/github/qbittorrent/qBittorrent) — TypeScript, 1,393,245 code lines
- [qbittorrent/qbittorrent](https://octocounts.com/github/qbittorrent/qbittorrent) — TypeScript, 1,392,982 code lines
- [PCSX2/pcsx2](https://octocounts.com/github/PCSX2/pcsx2) — TypeScript, 1,535,788 code lines
- [can1357/oh-my-pi](https://octocounts.com/github/can1357/oh-my-pi) — TypeScript, 1,537,487 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)
- [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)
