mudler/LocalAI has 1,651,833 source lines of code out of 2,015,267 total lines across 8,657 files, counted with tokei from the master ref at commit b83ba84754ac on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
mudler/LocalAI: 1,651,833 code lines at commit b83ba84754ac, counted with tokei-15.0.0 on 2026-11-16. Saved result acf3eac0fa22822b8ac5ee4fff6f394e740cb05c06a477f06321fc5135432b65.
OctoCounts produced this report by resolving mudler/LocalAI to commit b83ba84754ac, 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 very large codebase by counted code lines. Code represents 82.0% of all lines, comments represent 10.4%, and the repository averages 191 code lines per file. Go accounts for 50.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 4939 | 1030664 | 832325 | 110857 | 87482 |
| YAML | 168 | 303399 | 300340 | 1371 | 1688 |
| JSON | 543 | 210546 | 210544 | 0 | 2 |
| JavaScript | 962 | 134432 | 107689 | 15242 | 11501 |
| JSX | 622 | 98296 | 84383 | 8550 | 5363 |
| CSS | 130 | 40255 | 32916 | 2535 | 4804 |
| Python | 137 | 33428 | 26958 | 2015 | 4455 |
| C++ | 67 | 27639 | 20031 | 4764 | 2844 |
| TypeScript | 63 | 13068 | 10145 | 1822 | 1101 |
| Shell | 300 | 13257 | 8699 | 3010 | 1548 |
| Makefile | 86 | 8086 | 5326 | 1611 | 1149 |
| TSX | 22 | 3668 | 3361 | 138 | 169 |
| C Header | 47 | 5066 | 2873 | 1661 | 532 |
| HTML | 54 | 1451 | 1390 | 22 | 39 |
| Protocol Buffers | 2 | 1777 | 1139 | 435 | 203 |
| CMake | 21 | 1558 | 1011 | 343 | 204 |
| Rust | 4 | 929 | 772 | 25 | 132 |
| C | 4 | 638 | 536 | 39 | 63 |
| Templ | 31 | 461 | 455 | 0 | 6 |
| Dockerfile | 3 | 697 | 452 | 160 | 85 |
| C++ Header | 1 | 485 | 360 | 54 | 71 |
| TOML | 3 | 83 | 58 | 11 | 14 |
| Nix | 1 | 173 | 47 | 118 | 8 |
| XML | 2 | 11 | 11 | 0 | 0 |
| Autoconf | 1 | 14 | 7 | 7 | 0 |
| SVG | 5 | 5 | 5 | 0 | 0 |
| Markdown | 150 | 82023 | 0 | 50942 | 31081 |
| Plain Text | 289 | 3158 | 0 | 3017 | 141 |
Top language: Go 50.4%. Generated on .
mudler/LocalAI: 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.
mudler/LocalAI has 1,651,833 lines of code, plus 208,749 comment lines and 154,685 blank lines, for 2,015,267 total lines at commit b83ba84754ac on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit b83ba84754ac, 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 master at commit b83ba84754ac on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for mudler/LocalAI on this page — 1,651,833 code lines across 28 languages, counted by tokei.