5 views

headroomlabs-ai/headroom

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

Python★ 77,360+474 that day#2 on trending

Analyzed October 22, 2026 at e995eb9 (main) with jscpd v5 in 4.9s. Code duplication stayed at 2.78% across 3 appearances since Oct 20.

C65.2/100
Project health751,069 lines of code (L)
Duplication68
4.8% in python, rust, typescript, javascript, bash, powershell, tsx, docker, sql, c, makefile, hcl
Dead code94
0.7%
Complexity46
56.6%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

2.78%duplicated code · 10,188 of 366,111 lines
764clones in code
820code files of 2,483 scanned
4.84%duplicated over all files · 2,929 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 4 generated files: headroom/dashboard/static/alpine.min.js, headroom/dashboard/static/tailwind.min.js, headroom/transforms/dense_line_elider.py, tests/test_content_router_compact_json.py.

Largest clones in the code

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
python604266,8293935,2731.98%
rust15472,2682262,5383.51%
javascript714,7791261,99113.47%
typescript366,783101402.06%
powershell22,0008884.4%
sql4461115834.27%
bash112,485000%
tsx1336000%
c1170000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
python1,683622,7251,90925,4864.09%
rust21689,9935936,9137.68%
json21211,2701282,73224.24%
javascript714,7791261,99113.47%
typescript9518,998981,0955.76%
yaml395,561262905.21%
markdown10027,415182080.76%
powershell72,0628884.27%
text229136202.19%
markup74,3995621.41%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Oct 22, 2026#277,360 (+474)2,483808,3082,9294.84%2.78%C 65.2e995eb9
Oct 21, 2026#476,857 (+549)2,475807,5802,9294.85%2.78%C 65.24c7acba
Oct 20, 2026#376,359 (+310)2,476805,9892,9224.85%2.78%C 65.2fbf7bc3

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.