raysan5/raylib

raysan5/raylib has 509,602 source lines of code out of 658,137 total lines across 903 files, counted with tokei from the master ref at commit bcb85817b5d3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit bcb85817b5d3), raysan5/raylib contains 658,137 total lines: 509,602 code, 86,587 comments, 61,948 blank, across 903 files in 20 languages (top language: C Header 46.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit bcb85817b5d3), raysan5/raylib contains 658,137 total lines: 509,602 code, 86,587 comments, 61,948 blank, across 903 files in 20 languages (top language: C Header 46.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving raysan5/raylib to commit bcb85817b5d3, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 77.4% of all lines, comments represent 13.2%, and the repository averages 564 code lines per file. C Header accounts for 46.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C Header783282292389905228936950
Visual Studio Project23213144513144221
C291125015820572297719981
XML181556614747105714
JSON1130131301300
Lua18720872000
F#1739476628912041983
Visual Studio Solution26162616002
Objective-C542623206317739
Makefile527811777761243
CMake2717391257195287
Zig3115493060164

Top language: C Header 46.9%. Generated on .

Counting rules and retention

raysan5/raylib: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does raysan5/raylib have?

raysan5/raylib has 509,602 lines of code, plus 86,587 comment lines and 61,948 blank lines, for 658,137 total lines at commit bcb85817b5d3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the raysan5/raylib line count measured?

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

What commit was counted for raysan5/raylib?

This OctoCounts report was generated from master at commit bcb85817b5d3 on November 16, 2026.

Similar repository reports

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

Play the growth animation for raysan5/raylib on this page — 509,602 code lines across 20 languages, counted by tokei.