# LibreChat-AI/LibreChat SLOC report

> As of 2026-10-17 (commit e081b566a42d), LibreChat-AI/LibreChat contains 1,616,573 total lines: 1,369,560 code, 119,951 comments, 127,062 blank, across 5,515 files in 17 languages (top: TypeScript 66.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

LibreChat-AI/LibreChat has 1,369,560 source lines of code out of 1,616,573 total lines across 5,515 files, counted from the main ref at commit e081b566a42d by the OctoCounts tokei engine on 2026-10-17. 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 e081b566a42d, 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.7% of all lines, comments represent 7.4%, and the repository averages 248 code lines per file. TypeScript accounts for 66.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 3,442 | 1,084,910 | 912,430 | 82,216 | 90,264 |
| JavaScript | 678 | 221,158 | 182,101 | 17,585 | 21,472 |
| TSX | 1,117 | 182,182 | 157,302 | 12,002 | 12,878 |
| JSON | 113 | 106,437 | 106,437 | 0 | 0 |
| CSS | 16 | 4,346 | 3,483 | 572 | 291 |
| Go | 4 | 3,187 | 2,874 | 2 | 311 |
| YAML | 46 | 4,514 | 2,326 | 1,975 | 213 |
| Handlebars | 7 | 1,360 | 1,217 | 131 | 12 |
| Shell | 11 | 875 | 625 | 133 | 117 |
| Pan | 2 | 293 | 257 | 0 | 36 |
| SVG | 30 | 209 | 199 | 3 | 7 |
| JSX | 2 | 145 | 114 | 21 | 10 |

Top language (TypeScript 66.6%). Generated at 2026-10-17T20:18:13.168687398+00:00. Canonical report: https://octocounts.com/github/LibreChat-AI/LibreChat

## Reproduce this report

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

## Report FAQ

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

LibreChat-AI/LibreChat has 1,616,573 total lines, including 1,369,560 code lines, 119,951 comment lines, and 127,062 blank lines.

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

OctoCounts resolved the public GitHub repository to commit e081b566a42d, 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 e081b566a42d on 2026-10-17T20:18:13.168687398+00:00.

## Similar repository reports

- [feiyang-cai/texstudio-vim](https://octocounts.com/github/feiyang-cai/texstudio-vim) — TypeScript, 1,383,036 code lines
- [qbittorrent/qbittorrent](https://octocounts.com/github/qbittorrent/qbittorrent) — TypeScript, 1,392,982 code lines
- [qbittorrent/qBittorrent](https://octocounts.com/github/qbittorrent/qBittorrent) — TypeScript, 1,393,245 code lines
- [pingdotgg/t3code](https://octocounts.com/github/pingdotgg/t3code) — TypeScript, 1,467,813 code lines
- [PCSX2/pcsx2](https://octocounts.com/github/PCSX2/pcsx2) — TypeScript, 1,533,622 code lines
- [can1357/oh-my-pi](https://octocounts.com/github/can1357/oh-my-pi) — TypeScript, 1,536,051 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)
