# toeverything/AFFiNE SLOC report

> toeverything/AFFiNE: 923,706 code lines at commit 63297bca3457, counted with tokei-15.0.0 on 2026-11-10. Saved result f228711018b5e4cc3c3b7eecad4eb428d767f5b88643b52739166b8b2046919e.

toeverything/AFFiNE has 923,706 source lines of code out of 1,038,383 total lines across 8,584 files, counted with tokei from the canary ref at commit 63297bca3457 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving toeverything/AFFiNE to commit 63297bca3457, 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

toeverything/AFFiNE: 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 large codebase by counted code lines. Code represents 89.0% of all lines, comments represent 3.3%, and the repository averages 108 code lines per file. TypeScript accounts for 51.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 5,114 | 548,521 | 471,973 | 23,669 | 52,879 |
| JSON | 348 | 159,488 | 159,483 | 0 | 5 |
| TSX | 1,111 | 139,227 | 127,313 | 1,619 | 10,295 |
| Rust | 362 | 106,130 | 98,950 | 441 | 6,739 |
| Swift | 581 | 42,547 | 33,525 | 3,061 | 5,961 |
| SVG | 495 | 8,121 | 8,121 | 0 | 0 |
| Kotlin | 45 | 9,203 | 7,468 | 534 | 1,201 |
| GraphQL | 188 | 5,547 | 4,982 | 21 | 544 |
| SQL | 130 | 6,351 | 4,800 | 718 | 833 |
| JavaScript | 33 | 4,062 | 3,547 | 125 | 390 |
| C Header | 2 | 1,008 | 913 | 12 | 83 |
| TOML | 15 | 701 | 628 | 11 | 62 |
| CSS | 5 | 756 | 598 | 51 | 107 |
| Shell | 8 | 809 | 530 | 167 | 112 |
| XML | 27 | 387 | 364 | 4 | 19 |
| YAML | 7 | 205 | 194 | 4 | 7 |
| HTML | 4 | 111 | 107 | 0 | 4 |
| Batch | 1 | 94 | 73 | 0 | 21 |
| Prolog | 1 | 75 | 63 | 0 | 12 |
| Metal Shading Language | 1 | 87 | 59 | 10 | 18 |
| Java | 1 | 26 | 15 | 6 | 5 |
| Markdown | 98 | 4,346 | 0 | 3,086 | 1,260 |
| Plain Text | 7 | 581 | 0 | 469 | 112 |

Top language: TypeScript 51.1%. Generated on November 10, 2026. Canonical report: https://octocounts.com/github/toeverything/AFFiNE/commit/63297bca3457d8496eb19ccc0e5cd46941c4c1b1?reportId=f228711018b5e4cc3c3b7eecad4eb428d767f5b88643b52739166b8b2046919e&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/toeverything/AFFiNE/commit/63297bca3457d8496eb19ccc0e5cd46941c4c1b1?reportId=f228711018b5e4cc3c3b7eecad4eb428d767f5b88643b52739166b8b2046919e&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 toeverything/AFFiNE have?

toeverything/AFFiNE has 923,706 lines of code, plus 34,008 comment lines and 80,669 blank lines, for 1,038,383 total lines at commit 63297bca3457 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the toeverything/AFFiNE line count measured?

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

### What commit was counted for toeverything/AFFiNE?

This OctoCounts report was generated from canary at commit 63297bca3457 on November 10, 2026.

## Similar repository reports

- [masslight/ottehr](https://octocounts.com/github/masslight/ottehr) — TypeScript, 933,089 code lines
- [RocketChat/Rocket.Chat](https://octocounts.com/github/RocketChat/Rocket.Chat) — TypeScript, 927,228 code lines
- [super-productivity/super-productivity](https://octocounts.com/github/super-productivity/super-productivity) — TypeScript, 925,463 code lines
- [pascalorg/editor](https://octocounts.com/github/pascalorg/editor) — TypeScript, 945,145 code lines
- [lidge-jun/opencodex](https://octocounts.com/github/lidge-jun/opencodex) — TypeScript, 885,429 code lines
- [yuanhejie888/rea-](https://octocounts.com/github/yuanhejie888/rea-) — TypeScript, 1,006,020 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)
