As of 2026-09-07 (commit 2b991b0243c3), raysan5/raylib contains 645,695 total lines: 498,679 code, 85,698 comments, 61,318 blank, across 889 files in 20 languages (top: C Header 47.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving raysan5/raylib to commit 2b991b0243c3, 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.
This is a large codebase by counted code lines. Code represents 77.2% of all lines, comments represent 13.3%, and the repository averages 561 code lines per file. C Header accounts for 47.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C Header | 77 | 324487 | 236227 | 51631 | 36629 |
| Visual Studio Project | 221 | 125186 | 125183 | 2 | 1 |
| C | 289 | 123466 | 80850 | 22893 | 19723 |
| XML | 18 | 15389 | 14571 | 105 | 713 |
| JSON | 1 | 13013 | 13013 | 0 | 0 |
| Lua | 1 | 8720 | 8720 | 0 | 0 |
| F# | 173 | 9476 | 6289 | 1204 | 1983 |
| Visual Studio Solution | 2 | 5865 | 5863 | 0 | 2 |
| Objective-C | 5 | 4262 | 3206 | 317 | 739 |
| Makefile | 5 | 2726 | 1733 | 755 | 238 |
| CMake | 27 | 1727 | 1250 | 192 | 285 |
| Zig | 3 | 956 | 760 | 49 | 147 |
Top language (C Header 47.4%). Generated at 2026-09-07T01:17:07.306779570+00:00.
raysan5/raylib has 645,695 total lines, including 498,679 code lines, 85,698 comment lines, and 61,318 blank lines.
OctoCounts resolved the public GitHub repository to commit 2b991b0243c3, 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 2b991b0243c3dccf48ed926bcb754c60846f96c1 at commit 2b991b0243c3 on 2026-09-07T01:17:07.306779570+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: