superdesigndev/treg
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
Python★ 3,217+468 that day#10 on trendingC 63.5 health15% duplicated
C63.5/100
Duplication85
1.9% in python, javascript, vue, bash, typescript, perl, sqlDead code79
2.5%Complexity38
70.3%Most complex files
- src/treg/cli.py1966 cx
- src/treg/routers/web.py884 cx
- src/treg/web/enrich-arena/arena.js756 cx
- src/treg/application/call/resolve.py739 cx
- scripts/catalog_validate.py626 cx
- tests/test_catalog_api.py583 cx
- scripts/catalog_ingest.py567 cx
- src/treg/domain/catalog/store.py422 cx
- tests/test_routing.py422 cx
- src/treg/application/arena.py408 cx
Dead code 2.52% unused · 90 findings
- src/treg/web/enrich-arena/arena.jsunused-file
- src/treg/web/dashboard-legacy/assets/81e84d6e19e3b54f7b591d1ea45e99c8c7a4560a/tutorial.jsunused-file
- src/treg/web/tutorial.jsunused-file
- src/treg/web/media/astra/page.jsunused-file
- src/treg/web/media/landing/hero-particles.jsunused-file
- e2e_check.pyunused-file
- src/treg/web/media/landing/gateway-3d.jsunused-file
- src/treg/web/agent-setup.jsunused-file
- src/treg/web/dashboard-legacy/assets/81e84d6e19e3b54f7b591d1ea45e99c8c7a4560a/agent-setup.jsunused-file
- src/treg/web/media/landing/refinement.jsunused-file
3,005files
503,164lines
3,850,214tokens
3,974clones
75,493duplicated lines (15%)
397,136duplicated tokens (10.31%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| yaml | 195 | 115,868 | 2,717 | 37,785 | 32.61% |
| json | 1,821 | 154,889 | 694 | 29,031 | 18.74% |
| python | 414 | 151,988 | 298 | 2,752 | 1.81% |
| markup | 161 | 20,933 | 178 | 2,151 | 10.28% |
| markdown | 137 | 36,543 | 63 | 2,604 | 7.13% |
| bash | 49 | 2,188 | 7 | 319 | 14.58% |
| html | 40 | 1,897 | 5 | 38 | 2% |
| javascript | 74 | 8,551 | 4 | 719 | 8.41% |
| css | 15 | 3,589 | 4 | 26 | 0.72% |
| text | 32 | 572 | 4 | 68 | 11.89% |
Largest clones
- 376 lines · 4,882 tokens markdownplugin/skills/treg/SKILL.md:43–418⇆plugins/treg/skills/treg/SKILL.md:38–413
- 378 lines · 4,882 tokens markdownplugins/minimax/skills/treg/SKILL.md:22–399⇆skills/treg/SKILL.md:20–397
- 375 lines · 4,847 tokens markdowndsh/skills/treg/SKILL.md:41–415⇆plugin/skills/treg/SKILL.md:44–418
- 375 lines · 4,847 tokens markdowndsh/skills/treg/SKILL.md:41–415⇆plugins/minimax/skills/treg/SKILL.md:25–399
- 547 lines · 2,925 tokens javascriptsrc/treg/web/dashboard-legacy/assets/81e84d6e19e3b54f7b591d1ea45e99c8c7a4560a/tutorial.js:12–558⇆src/treg/web/tutorial.js:12–558
- 795 lines · 2,296 tokens jsonsrc/treg/catalog/examples/fiber-ai.companies.enrich.json:1–795⇆src/treg/catalog/examples/fiber-ai.companies.search.json:1–795
- 734 lines · 2,153 tokens jsonsrc/treg/catalog/examples/dataforseo.account.usage.json:31–764⇆src/treg/catalog/examples/dataforseo.account.usage.json:1537–2270
- 723 lines · 2,115 tokens jsonsrc/treg/catalog/examples/dataforseo.account.usage.json:42–764⇆src/treg/catalog/examples/dataforseo.account.usage.json:5297–6019
- 708 lines · 2,065 tokens jsonsrc/treg/catalog/examples/dataforseo.account.usage.json:57–764⇆src/treg/catalog/examples/dataforseo.account.usage.json:4577–5284
- 742 lines · 2,013 tokens jsonsrc/treg/catalog/examples/influencersclub.creators.enrich.analytics.json:58–799⇆src/treg/catalog/examples/influencersclub.creators.enrich.full.json:142–883
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | Duplication | Health | Commit |
|---|---|---|---|---|---|---|---|---|
| Sep 25, 2026 | #10 | 3,217 (+468) | 3,005 | 503,164 | 3,974 | 15% | C 63.5 | 9d9d7f6 |
| Sep 24, 2026 | #9 | 2,816 (+506) | 2,983 | 497,096 | 3,954 | 15.14% | C 63.5 | 87a49eb |
| Sep 23, 2026 | #6 | 2,317 (+230) | 2,960 | 516,208 | 3,950 | 14.38% | C 63.9 | 95bdc8d |
Want this for your own project? Install jscpd and run jscpd .