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.

RankRepositoryCode linesTotal linesFilesC Header share
1nodejs/node10,583,46113,449,80821,96823.5%
2FreeRTOS/FreeRTOS3,904,1606,782,82811,13361.2%
3ziglang/zig3,895,8625,035,22918,26763.1%
4espressif/esp-idf2,946,2145,225,71516,45351.0%
5nanomatters/proton-salkim1,433,8922,034,6473,53956.8%
6TGX-Android/tdlib1,285,3552,074,1578,40078.7%
7turanszkij/WickedEngine1,168,3141,449,4111,78954.7%
8grpc/grpc911,4301,176,8997,75133.2%
9johnlrt/bruce2821,097942,7611,68473.6%
10TeamHypersomnia/Hypersomnia712,473970,5923,93926.1%
11balloonwj/TeamTalk700,414977,3713,40923.5%
12LiteLDev/LeviLamina619,7771,065,53926,65895.3%
13kuzudb/kuzu596,750750,5973,19038.0%
14olikraus/u8g2589,308804,1641,21954.0%
15LiangliangNan/Easy3D566,645837,5251,85240.4%
16xenia-project/xenia544,336622,7221,29366.5%
17eclipse-openbsw/openbsw525,677845,1293,92951.2%
18cilium/tetragon519,342607,7111,20857.9%
19cocos2d/cocos2d-x-samples519,022907,0013,46438.2%
20raysan5/raylib510,809659,41490347.0%
21houmo-ai/postmo-modelzoo479,889654,4161,43245.1%
22effekseer/Effekseer479,516593,8541,84842.6%
23cesanta/mongoose452,595794,2511,26857.9%
24azahar-emu/azahar411,412504,6481,66545.5%
25emexlab/Nyxian411,226568,1772,09878.5%
26davisking/dlib393,637617,2121,70664.3%
27Stukdee/ourfly372,225486,20666955.4%
28genodelabs/genode370,336605,6504,82243.9%
29simdjson/simdjson368,638494,71554961.4%
30Alan-CRL/Inkeys326,840458,45086860.7%
31maria-korosteleva/NvidiaWarp-GarmentCode315,308497,9641,17562.7%
32meemknight/PikaEngine299,577429,15392838.4%
33fiftysevendegreesofrad/sdna_plus291,727402,1751,84455.0%
34screamer-labs/screamer290,211318,01673612.1%
35ChancenJ/TripleKey284,919324,05452475.3%
36Jgamrot/yharnam-pc284,804335,65985226.4%
37TimeATronics/Zetla283,766422,44694472.1%
38meemknight/cmakeSetup283,501389,60970951.5%
39InteractiveComputerGraphics/PositionBasedDynamics279,070387,19771463.6%
40meta/folly273,213444,2941,84055.8%
41SFML/SFML271,827367,71159379.2%
42murangogo/MoeTranslate247,523319,68059166.0%
43juanagogo/bazuko227,320283,50953542.9%
44LeNerd46/SpotifyPlus214,218295,9561,00567.3%
45parallel101/course196,299279,9043,08434.1%
46vearch/vearch190,955246,82186829.7%
47LiiVon/perf_monitor190,221223,4606787.1%
48blender/cycles174,222233,33087751.0%
49PufferAI/PufferLib173,912200,18742668.5%
50tiny-dnn/tiny-dnn152,259199,68443266.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.