toeverything/AFFiNE has 928,809 source lines of code out of 1,043,530 total lines across 8,593 files, counted with tokei from the canary ref at commit 84b017ec8c1c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 84b017ec8c1c), toeverything/AFFiNE contains 1,043,530 total lines: 928,809 code, 34,009 comments, 80,712 blank, across 8,593 files in 22 languages (top language: TypeScript 51.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving toeverything/AFFiNE to commit 84b017ec8c1c, 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 | 5117 | 550570 | 474028 | 23655 | 52887 |
| JSON | 348 | 159492 | 159487 | 0 | 5 |
| TSX | 1112 | 139423 | 127502 | 1620 | 10301 |
| Rust | 364 | 108530 | 101353 | 450 | 6727 |
| Swift | 581 | 42685 | 33655 | 3061 | 5969 |
| SVG | 495 | 8121 | 8121 | 0 | 0 |
| Kotlin | 46 | 9406 | 7634 | 542 | 1230 |
| GraphQL | 188 | 5551 | 4986 | 21 | 544 |
| SQL | 133 | 6483 | 4928 | 718 | 837 |
| JavaScript | 33 | 4062 | 3547 | 125 | 390 |
| C Header | 2 | 1052 | 953 | 12 | 87 |
| TOML | 15 | 700 | 627 | 11 | 62 |
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 928,809 lines of code, plus 34,009 comment lines and 80,712 blank lines, for 1,043,530 total lines at commit 84b017ec8c1c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 84b017ec8c1c, 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 84b017ec8c1c on November 16, 2026.
Play the growth animation for toeverything/AFFiNE on this page — 928,809 code lines across 22 languages, counted by tokei.