Copy/Paste detector for source code on JavaScript
summary
Open source copy/paste detector for code uses Rabin–Karp rolling hash over token windows to find duplicated sequences, with a default window of about 70 tokens and a 5‑line minimum to reduce false positives. Tokenization relies on CodeMirror tokenizers so 30+ languages work without custom parsers. Tool outputs CLI and web reports, shows git attribution to indicate who likely copied from whom, has ~700 stars and ~1,000 daily downloads, and uses Bloom‑filter ideas and persisted stores to speed repeated runs.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:27Need for copy/paste detector
- 5:04Existing solutions search
- 8:00Robin-Karp algorithm
- 10:31Code tokenization
- 12:26App architecture
- 15:23Tokenizer selection
- 17:52Language support
- 19:39Features and reports
- 22:35Improvement plans
- 27:04Token normalization
- 28:55Cross-project search
- 31:05Engineering challenges
- 32:27Project development
- 36:24Current tasks








