# xiaoY233/Chat2API SLOC report

> xiaoY233/Chat2API: 63,985 code lines at commit 59f03ab29888, counted with tokei-15.0.0 on 2026-10-31. Saved result f04c8a97531d98b7f0b38172efac69cb310f33c68e85c47613fc43f79ffc527b.

xiaoY233/Chat2API has 63,985 source lines of code out of 75,827 total lines across 298 files, counted with tokei from the main ref at commit 59f03ab29888 on October 31, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving xiaoY233/Chat2API to commit 59f03ab29888, 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

xiaoY233/Chat2API: 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 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 on October 31, 2026. Canonical report: https://octocounts.com/github/xiaoY233/Chat2API/commit/59f03ab2988867a4d7bacb97d98f3ee018b0e4d0?reportId=f04c8a97531d98b7f0b38172efac69cb310f33c68e85c47613fc43f79ffc527b&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/xiaoY233/Chat2API/commit/59f03ab2988867a4d7bacb97d98f3ee018b0e4d0?reportId=f04c8a97531d98b7f0b38172efac69cb310f33c68e85c47613fc43f79ffc527b&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 xiaoY233/Chat2API have?

xiaoY233/Chat2API has 63,985 lines of code, plus 4,584 comment lines and 7,258 blank lines, for 75,827 total lines at commit 59f03ab29888 on October 31, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### 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 October 31, 2026.

## Similar repository reports

- [Acfboy/Wanim](https://octocounts.com/github/Acfboy/Wanim) — TypeScript, 64,004 code lines
- [Chasen-Liao/pi-agent-desktop](https://octocounts.com/github/Chasen-Liao/pi-agent-desktop) — TypeScript, 64,031 code lines
- [elder-plinius/T3MP3ST](https://octocounts.com/github/elder-plinius/T3MP3ST) — TypeScript, 64,333 code lines
- [NEXTINDIE/DeepSeek-Harness-for-VS-Code](https://octocounts.com/github/NEXTINDIE/DeepSeek-Harness-for-VS-Code) — TypeScript, 64,687 code lines
- [panaifun777-lab/web5-blog-public](https://octocounts.com/github/panaifun777-lab/web5-blog-public) — TypeScript, 63,252 code lines
- [GrapesJS/grapesjs](https://octocounts.com/github/GrapesJS/grapesjs) — TypeScript, 64,927 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)
