polarsource/polar has 797,642 source lines of code out of 1,019,109 total lines across 5,027 files, counted with tokei from the main ref at commit 3e515d86c7eb on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 3e515d86c7eb), polarsource/polar contains 1,019,109 total lines: 797,642 code, 121,226 comments, 100,241 blank, across 5,027 files in 25 languages (top language: Python 44.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving polarsource/polar to commit 3e515d86c7eb, 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 78.3% of all lines, comments represent 11.9%, and the repository averages 159 code lines per file. Python accounts for 44.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 1730 | 412147 | 351171 | 6205 | 54771 |
| TypeScript | 1221 | 321467 | 213472 | 95059 | 12936 |
| TSX | 1454 | 174179 | 159793 | 1786 | 12600 |
| YAML | 28 | 49127 | 40132 | 71 | 8924 |
| HCL | 173 | 16554 | 13900 | 247 | 2407 |
| JSON | 95 | 8533 | 8525 | 0 | 8 |
| JavaScript | 89 | 6681 | 5971 | 208 | 502 |
| CSS | 5 | 1514 | 1270 | 25 | 219 |
| Swift | 4 | 1148 | 991 | 0 | 157 |
| Shell | 14 | 1044 | 800 | 122 | 122 |
| TOML | 9 | 615 | 490 | 56 | 69 |
| BASH | 5 | 496 | 340 | 73 | 83 |
Top language: Python 44.0%. Generated on .
polarsource/polar: 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.
polarsource/polar has 797,642 lines of code, plus 121,226 comment lines and 100,241 blank lines, for 1,019,109 total lines at commit 3e515d86c7eb on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 3e515d86c7eb, 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 main at commit 3e515d86c7eb on November 16, 2026.
Play the growth animation for polarsource/polar on this page — 797,642 code lines across 25 languages, counted by tokei.