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.
As of 2026-11-06 (commit ef401b20cb2a), toeverything/AFFiNE contains 1,030,500 total lines: 916,303 code, 33,916 comments, 80,281 blank, across 8,550 files in 23 languages (top language: TypeScript 51.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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 |
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.