superdesigndev/treg
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
Python★ 2,317+230 that day#6 on trendingC 63.9 health14.38% duplicated
C63.9/100
Duplication86
1.8% in python, javascript, vue, bash, typescript, perl, sqlDead code79
2.6%Complexity38
69.6%Most complex files
- src/treg/cli.py1962 cx
- src/treg/routers/web.py868 cx
- src/treg/web/enrich-arena/arena.js755 cx
- src/treg/application/call/resolve.py699 cx
- scripts/catalog_validate.py591 cx
- scripts/catalog_ingest.py567 cx
- tests/test_catalog_api.py548 cx
- tests/test_routing.py416 cx
- src/treg/domain/catalog/store.py410 cx
- src/treg/archive.py400 cx
Dead code 2.59% 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
2,960files
516,208lines
3,760,538tokens
3,950clones
74,205duplicated lines (14.38%)
395,007duplicated tokens (10.5%)
By format
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| yaml | 188 | 114,834 | 2,704 | 34,987 | 30.47% |
| json | 1,792 | 156,009 | 687 | 28,641 | 18.36% |
| python | 410 | 149,782 | 294 | 2,469 | 1.65% |
| markup | 175 | 20,867 | 178 | 1,973 | 9.46% |
| markdown | 137 | 36,068 | 63 | 2,511 | 6.96% |
| bash | 49 | 10,451 | 7 | 2,229 | 21.33% |
| html | 36 | 2,672 | 5 | 57 | 2.13% |
| javascript | 69 | 8,482 | 4 | 715 | 8.43% |
| text | 32 | 7,221 | 4 | 601 | 8.32% |
| css | 11 | 3,591 | 4 | 22 | 0.61% |
Largest clones
- 370 lines · 4,785 tokens markdownplugin/skills/treg/SKILL.md:43–412⇆plugins/treg/skills/treg/SKILL.md:38–407
- 372 lines · 4,785 tokens markdownplugins/minimax/skills/treg/SKILL.md:22–393⇆skills/treg/SKILL.md:20–391
- 369 lines · 4,750 tokens markdowndsh/skills/treg/SKILL.md:41–409⇆plugin/skills/treg/SKILL.md:44–412
- 369 lines · 4,750 tokens markdowndsh/skills/treg/SKILL.md:41–409⇆plugins/minimax/skills/treg/SKILL.md:25–393
- 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 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 .