# polarsource/polar SLOC report

> As of 2026-10-23 (commit 565f47364be9), polarsource/polar contains 979,814 total lines: 763,143 code, 119,652 comments, 97,019 blank, across 4,768 files in 25 languages (top: Python 44.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

polarsource/polar has 763,143 source lines of code out of 979,814 total lines across 4,768 files, counted from the main ref at commit 565f47364be9 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving polarsource/polar to commit 565f47364be9, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 77.9% of all lines, comments represent 12.2%, and the repository averages 160 code lines per file. Python accounts for 44.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 1,627 | 395,843 | 336,846 | 5,869 | 53,128 |
| TypeScript | 1,127 | 305,792 | 199,847 | 94,142 | 11,803 |
| TSX | 1,411 | 168,522 | 154,322 | 1,875 | 12,325 |
| YAML | 28 | 48,766 | 39,776 | 71 | 8,919 |
| HCL | 170 | 16,223 | 13,556 | 286 | 2,381 |
| JSON | 93 | 8,338 | 8,330 | 0 | 8 |
| JavaScript | 86 | 6,549 | 5,850 | 208 | 491 |
| CSS | 5 | 1,505 | 1,264 | 25 | 216 |
| Swift | 4 | 1,148 | 991 | 0 | 157 |
| Shell | 14 | 1,037 | 792 | 126 | 119 |
| TOML | 8 | 562 | 463 | 26 | 73 |
| BASH | 5 | 496 | 340 | 73 | 83 |

Top language (Python 44.1%). Generated at 2026-10-23T09:33:25.356769027+00:00. Canonical report: https://octocounts.com/github/polarsource/polar

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/polarsource/polar/commit/565f47364be90dd3e1a9cea9dbc456627534ac86?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=a931b0e022342cd48064a682db4b2dfd2d2b1fab301a7f6d721e2dcc2a483846).

## Report FAQ

### How many lines of code does polarsource/polar have?

polarsource/polar has 979,814 total lines, including 763,143 code lines, 119,652 comment lines, and 97,019 blank lines.

### How was the polarsource/polar line count measured?

OctoCounts resolved the public GitHub repository to commit 565f47364be9, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for polarsource/polar?

This OctoCounts report was generated from main at commit 565f47364be9 on 2026-10-23T09:33:25.356769027+00:00.

## Similar repository reports

- [volcengine/OpenViking](https://octocounts.com/github/volcengine/OpenViking) — Python, 761,824 code lines
- [huggingface/diffusers](https://octocounts.com/github/huggingface/diffusers) — Python, 765,258 code lines
- [langflow-ai/langflow](https://octocounts.com/github/langflow-ai/langflow) — Python, 784,458 code lines
- [Ariwa042/xolo](https://octocounts.com/github/Ariwa042/xolo) — Python, 728,361 code lines
- [rpi-nsl/CRANE](https://octocounts.com/github/rpi-nsl/CRANE) — Python, 719,730 code lines
- [openbq-org/OpenBB](https://octocounts.com/github/openbq-org/OpenBB) — Python, 683,015 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
