toeverything/AFFiNE has 916,303 source lines of code out of 1,030,500 total lines across 8,550 files, counted with tokei from the canary ref at commit ef401b20cb2a on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
toeverything/AFFiNE: 916,303 code lines at commit ef401b20cb2a, counted with tokei-15.0.0 on 2026-11-06. Saved result e8bced36bd7fffb7e3f97b5be3b7212910b51b4cb3091183efa9fd140bd3f822.
OctoCounts produced this report by resolving toeverything/AFFiNE to commit ef401b20cb2a, 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 88.9% of all lines, comments represent 3.3%, and the repository averages 107 code lines per file. TypeScript accounts for 51.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 5109 | 547299 | 470934 | 23621 | 52744 |
| JSON | 347 | 159252 | 159247 | 0 | 5 |
| TSX | 1107 | 138321 | 126464 | 1609 | 10248 |
| Rust | 349 | 101477 | 94450 | 432 | 6595 |
| Swift | 576 | 41999 | 33038 | 3038 | 5923 |
| SVG | 495 | 8121 | 8121 | 0 | 0 |
| Kotlin | 45 | 9203 | 7468 | 534 | 1201 |
| GraphQL | 183 | 5352 | 4801 | 21 | 530 |
| SQL | 129 | 6228 | 4689 | 716 | 823 |
| JavaScript | 33 | 4062 | 3547 | 125 | 390 |
| C Header | 2 | 1008 | 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 | 4346 | 0 | 3086 | 1260 |
| Plain Text | 7 | 581 | 0 | 469 | 112 |
Top language: TypeScript 51.4%. 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 916,303 lines of code, plus 33,916 comment lines and 80,281 blank lines, for 1,030,500 total lines at commit ef401b20cb2a on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ef401b20cb2a, 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 ef401b20cb2a on November 6, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for toeverything/AFFiNE on this page — 916,303 code lines across 23 languages, counted by tokei.