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★ 2,041+161 that day#7 on trending3.89% duplicated
2,144files
406,324lines
2,486,450tokens
1,381clones
15,796duplicated lines (3.89%)
106,262duplicated tokens (4.27%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| typescript | 1,437 | 233,043 | 911 | 10,690 | 4.59% |
| rust | 85 | 79,647 | 293 | 2,754 | 3.46% |
| tsx | 194 | 37,908 | 114 | 1,258 | 3.32% |
| json | 85 | 13,289 | 35 | 759 | 5.71% |
| yaml | 68 | 1,436 | 9 | 81 | 5.64% |
| toml | 26 | 1,122 | 5 | 124 | 11.05% |
| markdown | 122 | 16,919 | 4 | 31 | 0.18% |
| cpp | 1 | 1,945 | 3 | 26 | 1.34% |
| diff | 3 | 91 | 3 | 31 | 34.07% |
| html | 11 | 3,279 | 2 | 15 | 0.46% |
Largest clones
- 11 lines · 466 tokens markdowndesign/cross-boundary/client-acn-icn-ownership.md:94–104⇆inference/benchmark/README.md:155–173
- 16 lines · 411 tokens typescriptcli/src/harness-connections/service.test.ts:630–645⇆cli/src/harness-connections/service.test.ts:755–771
- 52 lines · 359 tokens typescriptcli/src/utils/file-panel-utils.ts:166–217⇆packages/client-common/src/utils/file-panel-utils.ts:114–167
- 58 lines · 337 tokens typescriptpackages/vcs/src/tools.ts:299–356⇆packages/vcs/src/tools.ts:383–442
- 45 lines · 333 tokens typescriptpackages/agent/src/projections/__tests__/memory-queue-ordering.test.ts:21–65⇆packages/agent/src/projections/__tests__/task-tree-rendering.test.ts:23–67
- 56 lines · 333 tokens typescriptpackages/agent/src/projections/__tests__/memory-subagent-user-kill.test.ts:25–80⇆packages/agent/src/projections/__tests__/memory-subagent-user-kill.test.ts:106–161
- 43 lines · 286 tokens typescriptpackages/icn-protocol/src/generated/operations.ts:298–340⇆packages/icn-protocol/src/generated/operations.ts:341–380
- 36 lines · 277 tokens typescriptpackages/utils/src/patch/__tests__/exhaustive.test.ts:1055–1090⇆packages/utils/src/patch/__tests__/smoke.test.ts:251–286
- 36 lines · 263 tokens typescriptpackages/icn-protocol/src/generated/operations.ts:197–232⇆packages/icn-protocol/src/generated/operations.ts:240–275
- 15 lines · 250 tokens typescriptpackages/inference-benchmark/src/preparation.ts:269–283⇆packages/inference-benchmark/src/preparation.ts:311–325
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Commit |
|---|---|---|---|---|---|---|---|
| Sep 4, 2026 | #7 | 2,041 (+161) | 2,144 | 406,324 | 1,381 | 3.89% | fc61fec |
Want this for your own project? Install jscpd and run jscpd .