toeverything/AFFiNE has 932,429 source lines of code out of 1,047,374 total lines across 8,597 files, counted with tokei from the canary ref at commit 3d2572707628 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
toeverything/AFFiNE: 932,429 code lines at commit 3d2572707628, counted with tokei-15.0.0 on 2026-11-21. Saved result f7913e13c8c27937ae423d1e8a33db3b938a303917ecfa23d6a951a1baab227d.
OctoCounts produced this report by resolving toeverything/AFFiNE to commit 3d2572707628, 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.
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.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 5120 | 551752 | 475155 | 23658 | 52939 |
| JSON | 348 | 159798 | 159793 | 0 | 5 |
| TSX | 1112 | 139436 | 127515 | 1620 | 10301 |
| Rust | 365 | 110472 | 103187 | 502 | 6783 |
| Swift | 581 | 42870 | 33817 | 3063 | 5990 |
| SVG | 495 | 8121 | 8121 | 0 | 0 |
| Kotlin | 46 | 9579 | 7773 | 550 | 1256 |
| GraphQL | 188 | 5551 | 4986 | 21 | 544 |
| SQL | 133 | 6502 | 4945 | 718 | 839 |
| JavaScript | 33 | 4064 | 3549 | 125 | 390 |
| C Header | 2 | 1074 | 973 | 12 | 89 |
| TOML | 15 | 700 | 627 | 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 |
| Markdown | 98 | 4350 | 0 | 3089 | 1261 |
| Plain Text | 7 | 581 | 0 | 469 | 112 |
Top language: TypeScript 51.0%. Generated on .
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.
toeverything/AFFiNE has 932,429 lines of code, plus 34,074 comment lines and 80,871 blank lines, for 1,047,374 total lines at commit 3d2572707628 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 3d2572707628, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from canary at commit 3d2572707628 on November 21, 2026.
Play the growth animation for toeverything/AFFiNE on this page — 932,429 code lines across 22 languages, counted by tokei.