# xiaoY233/Chat2API SLOC report

> As of 2026-10-16 (commit 59f03ab29888), xiaoY233/Chat2API contains 75,827 total lines: 63,985 code, 4,584 comments, 7,258 blank, across 298 files in 9 languages (top: TypeScript 50.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

xiaoY233/Chat2API has 63,985 source lines of code out of 75,827 total lines across 298 files, counted from the main ref at commit 59f03ab29888 by the OctoCounts tokei engine on 2026-10-16. 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 xiaoY233/Chat2API to commit 59f03ab29888, 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 medium-sized codebase by counted code lines. Code represents 84.4% of all lines, comments represent 6.0%, and the repository averages 215 code lines per file. TypeScript accounts for 50.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 176 | 41,457 | 32,535 | 3,583 | 5,339 |
| TSX | 81 | 16,197 | 14,861 | 55 | 1,281 |
| JSON | 10 | 14,436 | 14,436 | 0 | 0 |
| JavaScript | 10 | 1,148 | 994 | 1 | 153 |
| CSS | 1 | 1,021 | 874 | 0 | 147 |
| SVG | 9 | 245 | 244 | 1 | 0 |
| Shell | 1 | 41 | 28 | 9 | 4 |
| HTML | 1 | 13 | 13 | 0 | 0 |
| Markdown | 9 | 1,269 | 0 | 935 | 334 |

Top language (TypeScript 50.8%). Generated at 2026-10-16T07:06:59.613684913+00:00. Canonical report: https://octocounts.com/github/xiaoY233/Chat2API

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/xiaoY233/Chat2API/commit/59f03ab2988867a4d7bacb97d98f3ee018b0e4d0?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=d55cec74bbb48e011173834c6930c022a9363dcaaaf48e40736ca586f3650b31).

## Report FAQ

### How many lines of code does xiaoY233/Chat2API have?

xiaoY233/Chat2API has 75,827 total lines, including 63,985 code lines, 4,584 comment lines, and 7,258 blank lines.

### How was the xiaoY233/Chat2API line count measured?

OctoCounts resolved the public GitHub repository to commit 59f03ab29888, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for xiaoY233/Chat2API?

This OctoCounts report was generated from main at commit 59f03ab29888 on 2026-10-16T07:06:59.613684913+00:00.

## Similar repository reports

- [elder-plinius/T3MP3ST](https://octocounts.com/github/elder-plinius/T3MP3ST) — TypeScript, 64,333 code lines
- [GrapesJS/grapesjs](https://octocounts.com/github/GrapesJS/grapesjs) — TypeScript, 63,164 code lines
- [AnnaSuSu/TechSpar](https://octocounts.com/github/AnnaSuSu/TechSpar) — TypeScript, 65,594 code lines
- [taskforcesh/bullmq](https://octocounts.com/github/taskforcesh/bullmq) — TypeScript, 66,335 code lines
- [postEntropy/milo](https://octocounts.com/github/postEntropy/milo) — TypeScript, 66,384 code lines
- [pnotisdev/rp](https://octocounts.com/github/pnotisdev/rp) — TypeScript, 61,597 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)
