ollama/ollama SLOC report

As of 2026-08-26 (commit a773b7affa14), ollama/ollama contains 759,946 total lines: 500,593 code, 184,281 comments, 75,072 blank, across 1,076 files in 23 languages (top: Go 54.1%). Counted with tokei via OctoCounts.

As of 2026-08-26 (commit a773b7affa14), ollama/ollama contains 759,946 total lines: 500,593 code, 184,281 comments, 75,072 blank, across 1,076 files in 23 languages (top: Go 54.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ollama/ollama to commit a773b7affa14, 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 65.9% of all lines, comments represent 24.2%, and the repository averages 465 code lines per file. Go accounts for 54.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go8143184562707651381233879
JSON4414475214474804
C Header437316755697201715453
TSX491167810594253831
TypeScript4752904512223555
C432513215234
C++440882869690529
Objective-C42561219889274
CMake921331737221175
PowerShell216551394112149
Shell916441295139210
SVG1851251020

Top language (Go 54.1%). Generated at 2026-08-26T18:19:41.876993729+00:00.

Report FAQ

How many lines of code does ollama/ollama have?

ollama/ollama has 759,946 total lines, including 500,593 code lines, 184,281 comment lines, and 75,072 blank lines.

How was the ollama/ollama line count measured?

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

What commit was counted for ollama/ollama?

This OctoCounts report was generated from main at commit a773b7affa14 on 2026-08-26T18:19:41.876993729+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: