mudler/LocalAI SLOC report
As of 2026-07-21 (commit 2a8eb5a04b04), mudler/LocalAI contains 514,902 total lines: 412,891 code, 49,525 comments, 52,486 blank, across 2,653 files in 24 languages (top: Go 50.9%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 80.2% of all lines, comments represent 9.6%, and the repository averages 156 code lines per file. Go accounts for 50.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Go | 1375 | 275761 | 210008 | 33752 | 32001 |
| YAML | 86 | 54842 | 53565 | 568 | 709 |
| JSX | 143 | 37852 | 33856 | 1727 | 2269 |
| JSON | 100 | 24248 | 24246 | 0 | 2 |
| CSS | 33 | 31482 | 24078 | 674 | 6730 |
| Python | 103 | 27869 | 22357 | 1831 | 3681 |
| JavaScript | 121 | 18844 | 14766 | 2233 | 1845 |
| C++ | 18 | 11629 | 8790 | 1495 | 1344 |
| HTML | 27 | 8082 | 7254 | 363 | 465 |
| Shell | 222 | 8290 | 5447 | 1645 | 1198 |
| Makefile | 72 | 5982 | 4150 | 919 | 913 |
| Protocol Buffers | 1 | 1387 | 894 | 317 | 176 |
Top language (Go 50.9%). Generated at 2026-07-21T08:03:52.554490445+00:00.
Report FAQ
How many lines of code does mudler/LocalAI have?
mudler/LocalAI has 514,902 total lines, including 412,891 code lines, 49,525 comment lines, and 52,486 blank lines.
How was the mudler/LocalAI line count measured?
OctoCounts resolved the public GitHub repository to commit 2a8eb5a04b04, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for mudler/LocalAI?
This OctoCounts report was generated from master at commit 2a8eb5a04b04 on 2026-07-21T08:03:52.554490445+00:00.