The largest C Header repositories by lines of code
OctoCounts has measured 139 public GitHub repositories whose primary programming language is C Header. nodejs/node is the largest, with 10,583,461 code lines across 21,968 files, counted with tokei on November 24, 2026. The table ranks the 50 largest by code lines; each row links to a report pinned to the commit it counted.
| Rank | Repository | Code lines | Total lines | Files | C Header share |
|---|---|---|---|---|---|
| 1 | nodejs/node | 10,583,461 | 13,449,808 | 21,968 | 23.5% |
| 2 | FreeRTOS/FreeRTOS | 3,904,160 | 6,782,828 | 11,133 | 61.2% |
| 3 | ziglang/zig | 3,895,862 | 5,035,229 | 18,267 | 63.1% |
| 4 | espressif/esp-idf | 2,946,214 | 5,225,715 | 16,453 | 51.0% |
| 5 | nanomatters/proton-salkim | 1,433,892 | 2,034,647 | 3,539 | 56.8% |
| 6 | TGX-Android/tdlib | 1,285,355 | 2,074,157 | 8,400 | 78.7% |
| 7 | turanszkij/WickedEngine | 1,168,314 | 1,449,411 | 1,789 | 54.7% |
| 8 | grpc/grpc | 911,430 | 1,176,899 | 7,751 | 33.2% |
| 9 | johnlrt/bruce2 | 821,097 | 942,761 | 1,684 | 73.6% |
| 10 | TeamHypersomnia/Hypersomnia | 712,473 | 970,592 | 3,939 | 26.1% |
| 11 | balloonwj/TeamTalk | 700,414 | 977,371 | 3,409 | 23.5% |
| 12 | LiteLDev/LeviLamina | 619,777 | 1,065,539 | 26,658 | 95.3% |
| 13 | kuzudb/kuzu | 596,750 | 750,597 | 3,190 | 38.0% |
| 14 | olikraus/u8g2 | 589,308 | 804,164 | 1,219 | 54.0% |
| 15 | LiangliangNan/Easy3D | 566,645 | 837,525 | 1,852 | 40.4% |
| 16 | xenia-project/xenia | 544,336 | 622,722 | 1,293 | 66.5% |
| 17 | eclipse-openbsw/openbsw | 525,677 | 845,129 | 3,929 | 51.2% |
| 18 | cilium/tetragon | 519,342 | 607,711 | 1,208 | 57.9% |
| 19 | cocos2d/cocos2d-x-samples | 519,022 | 907,001 | 3,464 | 38.2% |
| 20 | raysan5/raylib | 510,809 | 659,414 | 903 | 47.0% |
| 21 | houmo-ai/postmo-modelzoo | 479,889 | 654,416 | 1,432 | 45.1% |
| 22 | effekseer/Effekseer | 479,516 | 593,854 | 1,848 | 42.6% |
| 23 | cesanta/mongoose | 452,595 | 794,251 | 1,268 | 57.9% |
| 24 | azahar-emu/azahar | 411,412 | 504,648 | 1,665 | 45.5% |
| 25 | emexlab/Nyxian | 411,226 | 568,177 | 2,098 | 78.5% |
| 26 | davisking/dlib | 393,637 | 617,212 | 1,706 | 64.3% |
| 27 | Stukdee/ourfly | 372,225 | 486,206 | 669 | 55.4% |
| 28 | genodelabs/genode | 370,336 | 605,650 | 4,822 | 43.9% |
| 29 | simdjson/simdjson | 368,638 | 494,715 | 549 | 61.4% |
| 30 | Alan-CRL/Inkeys | 326,840 | 458,450 | 868 | 60.7% |
| 31 | maria-korosteleva/NvidiaWarp-GarmentCode | 315,308 | 497,964 | 1,175 | 62.7% |
| 32 | meemknight/PikaEngine | 299,577 | 429,153 | 928 | 38.4% |
| 33 | fiftysevendegreesofrad/sdna_plus | 291,727 | 402,175 | 1,844 | 55.0% |
| 34 | screamer-labs/screamer | 290,211 | 318,016 | 736 | 12.1% |
| 35 | ChancenJ/TripleKey | 284,919 | 324,054 | 524 | 75.3% |
| 36 | Jgamrot/yharnam-pc | 284,804 | 335,659 | 852 | 26.4% |
| 37 | TimeATronics/Zetla | 283,766 | 422,446 | 944 | 72.1% |
| 38 | meemknight/cmakeSetup | 283,501 | 389,609 | 709 | 51.5% |
| 39 | InteractiveComputerGraphics/PositionBasedDynamics | 279,070 | 387,197 | 714 | 63.6% |
| 40 | meta/folly | 273,213 | 444,294 | 1,840 | 55.8% |
| 41 | SFML/SFML | 271,827 | 367,711 | 593 | 79.2% |
| 42 | murangogo/MoeTranslate | 247,523 | 319,680 | 591 | 66.0% |
| 43 | juanagogo/bazuko | 227,320 | 283,509 | 535 | 42.9% |
| 44 | LeNerd46/SpotifyPlus | 214,218 | 295,956 | 1,005 | 67.3% |
| 45 | parallel101/course | 196,299 | 279,904 | 3,084 | 34.1% |
| 46 | vearch/vearch | 190,955 | 246,821 | 868 | 29.7% |
| 47 | LiiVon/perf_monitor | 190,221 | 223,460 | 67 | 87.1% |
| 48 | blender/cycles | 174,222 | 233,330 | 877 | 51.0% |
| 49 | PufferAI/PufferLib | 173,912 | 200,187 | 426 | 68.5% |
| 50 | tiny-dnn/tiny-dnn | 152,259 | 199,684 | 432 | 66.4% |
Ranking rule: a repository belongs to C Header when C Header is its largest programming language by code lines; data and prose formats such as JSON, YAML, TOML and Markdown do not count as a language for this rule. "C Header share" is the share of the repository's code lines written in C Header. Code lines exclude comments and blank lines. Every report uses OctoCounts' canonical public options, with tests, docs and generated directories excluded, and reports were generated on different dates.
C Header leaderboard FAQ
Which C Header repository has the most lines of code?
nodejs/node is the largest C Header repository in OctoCounts' index, with 10,583,461 code lines out of 13,449,808 total lines across 21,968 files, counted on November 24, 2026. FreeRTOS/FreeRTOS follows with 3,904,160 code lines. Code size is not code quality: a larger count only means more source material.
How does a repository join the C Header leaderboard?
C Header must be its primary programming language: the language with the most code lines in the repository's OctoCounts report, ignoring data and prose formats such as JSON, YAML, TOML and Markdown. The repository then needs a public report with at least 5 files, and it is listed when it is among the 50 largest by code lines.
How many C Header repositories has OctoCounts measured?
139 public GitHub repositories have C Header as their primary programming language in OctoCounts' index. This page lists the 50 largest by code lines; a repository analyzed with custom counting options keeps those counts as a separate saved result.
Does more source lines of code mean more complexity?
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use line counts to gauge the scale of what you would be reading or maintaining, not as a quality signal.