Show HN: Dupehound – find the code your agent wrote twice (no AI required)
Category: cli-tool
Tags: code-duplication, rust, cli-tool
Score: 7.5/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 7)
Dupehound is a CLI tool that detects near-duplicate functions in codebases using tree-sitter parsing and winnowing (MOSS algorithm). It's interesting because it addresses the specific problem of code duplication caused by AI coding agents, offering deterministic, local duplicate detection without machine learning.
Target audience: backend devs
Repository: https://github.com/Rafaelpta/dupehound · Rust · MIT
View on Hacker News