4 views

magnitudedev/magnitude

Open source inference server that runs the best local models for your hardware, plugged into the agent you already use. Works with Pi, OpenCode, Hermes, OpenClaw, Codex, Claude Code, Oh My Pi, and Cline.

TypeScript★ 3,780+604 that day#4 on trending

Analyzed September 7, 2026 at 99d236a (main) with jscpd 5.4.0 in 15.4s. Code duplication went from 2.95% on Sep 4 to 2.89% on Sep 7.

2.89%duplicated code · 8,104 of 280,279 lines
702clones in code
1,347code files of 2,230 scanned
4.53%duplicated over all files · 1,504 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 7 generated files: packages/icn-protocol/src/generated/api.ts, packages/icn-protocol/src/generated/client.ts, packages/icn-protocol/src/generated/index.ts, packages/icn-protocol/src/generated/operations.ts, packages/icn-protocol/src/generated/schemas.ts, packages/providers/src/magnitude/generated-contract/errors.ts, packages/providers/src/magnitude/generated-contract/usage.ts.

Largest clones in the code

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
typescript1,069161,4833144,0042.48%
rust8579,6743003,1023.89%
tsx14430,798839523.09%
cpp11,9453291.49%
html111,0402171.63%
svelte112,593000%
python111,738000%
bash9644000%
css5190000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
typescript1,514238,4171,02012,5265.25%
rust8579,6743003,1023.89%
tsx19437,5551231,4513.86%
json9013,458357925.88%
yaml691,492121238.24%
toml261,122512911.5%
cpp11,9453291.49%
diff39133437.36%
html111,0402171.63%
markup10472181.69%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 7, 2026#43,780 (+604)2,230401,7941,5044.53%2.89%—99d236a
Sep 6, 2026#83,301 (+674)2,229401,7571,5054.54%2.89%—183f48c
Sep 5, 2026#42,618 (+391)2,149394,7871,4994.61%2.95%—0851902
Sep 4, 2026#72,041 (+161)2,149394,7601,4994.61%2.95%—fc61fec

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