RepositoryRust
kucherenko

kucherenko/jscpd

Copy/paste detector for source code. 220+ languages, Rust engine, SARIF/HTML/badge reporters, GitHub Action, MCP server for AI agents.

6.6ksao
276fork
48issue
4lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: clones-detection

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: copy-paste

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: dry

#1 Repository Của Tuần

🚀 jscpd — Bộ phát hiện mã trùng lặp cực nhanh, AI-ready

Copy/paste detector cho code nguồn, hỗ trợ 224+ định dạng. Engine Rust mới nhanh 24-37x, kèm MCP server và reporter tiết kiệm token cho pipeline LLM.

jscpd là công cụ phát hiện đoạn mã bị sao chép (clone) trong dự án bằng thuật toán Rabin-Karp. Phiên bản v5 là cách viết lại hoàn toàn bằng Rust, tốc độ nhanh hơn 24-37x so với v4 (TypeScript), đồng thời vẫn giữ nguyên CLI, cấu hình .jscpd.json và 13 reporter cũ. Engine Rust chạy độc lập — không cần Node.js.

✨ Điểm nổi bật

  • Engine Rust mới (v5): tốc độ nhanh 24-37x trên dự án thực tế (548 files: 34x, 9K files: 37x, 17K files/900MB: 24x)
  • Hỗ trợ 223 ngôn ngữ: bao gồm cả phát hiện liên định dạng (Vue SFC, Svelte, Astro, Markdown)
  • 13 reporter đa dạng: console, json, xml, csv, html, markdown, sarif, ai, xcode, badge, threshold, silent...
  • AI-ready: reporter tiết kiệm token (~79% ít hơn so với console), agent skill và MCP server
  • Git blame: so sánh tác giả cùng diff hiển thị --blame --reporters console-full
  • Điều khiển độ paralell: --workers tùng chỉnh số CPU dùng cho tokenization và detection
  • Cài đặt đa nền tảng: npm, cargo, nix, brew, hoặc script cài nhanh
  • Tương thích config cũ: dùng lại .jscpd.json và CLI tuỳ chọn từ v4 mà không cần thay đổi

💡 Vì sao đáng chú ý

jscpd không chỉ là công cụ phát hiện trùng lặp — nó là một pipeline chất lượng code hoàn chỉnh. Với engine Rust, jscpd trở thành lựa chọn nhanh nhất để tích hợp clone detection vào CI/CD. Đặc biệt, reporter AI và MCP server giúp jscpd dễ dàng kết hợp với các agent AI coding, biến việc tìm và sửa mã trùng thành một phần tự động trong quy trình phát triển.


#jscpd #CodeQuality #CloneDetection #AIReady #Rust #TypeScript #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryShell
obra/superpowers

An agentic skills framework & software development methodology that works.

324.8k
Nov 3, 2026
RepositoryJavaScript
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

159.6k
Oct 25, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

309.4k
Nov 23, 2026
RepositoryTypeScript
heygen-com/hyperframes

Open-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.

88.8k
Nov 23, 2026
RepositoryPython
unclecode/crawl4ai

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

87.6k
Nov 20, 2026
RepositoryTypeScript
openclaw/openclaw

The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

395.0k
Nov 22, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

265.6k
Nov 23, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.1k
Nov 21, 2026