This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

dupehound

Finds the code your AI wrote twice

Open Source
Developer Tools
GitHub
Visit WebsiteSee on Product HuntGithub

Hunted byRafael PinheiroRafael Pinheiro

dupehound finds the duplicate code AI agents create when they rewrite logic that already exists under new names. It fingerprints function structure (tree-sitter + MOSS winnowing), so renamed copies still match. Offline, deterministic, no AI. scan, history, CI gate.

Top comment

Hi Product Hunt, this is my first open source project. Coding agents can't hold your whole repo in context, so they rewrite code that already exists under new names. formatDate becomes renderTimestamp becomes stringifyDate. dupehound catches it. It fingerprints the structure of every function (tree-sitter normalization plus the MOSS winnowing algorithm used for plagiarism detection), so a renamed copy still matches. Three commands: - scan: ranks duplicate clusters and gives the repo a slop score - history: charts when duplication took off across your git log - check: fails CI and points the agent back to the original function to reuse It uses no AI, on purpose. It is deterministic. Finding duplicates means comparing every function against every other and a CI gate has to give the same verdict every time. It runs offline with no API keys and scans vscode, about 3M lines, in under 4 seconds. Open source, MIT, written in Rust. The community has already added languages as PRs this week (Ruby and Swift), 9 so far. brew install rafaelpta/dupehound/dupehound https://github.com/Rafaelpta/dup... I'd love your feedback and your contribution.

Comment highlights

No comment highlights available yet. Please check back later!

About dupehound on Product Hunt

Finds the code your AI wrote twice

dupehound was submitted on Product Hunt and earned 4 upvotes and 1 comments, placing #45 on the daily leaderboard. dupehound finds the duplicate code AI agents create when they rewrite logic that already exists under new names. It fingerprints function structure (tree-sitter + MOSS winnowing), so renamed copies still match. Offline, deterministic, no AI. scan, history, CI gate.

dupehound was featured in Open Source (68.6k followers), Developer Tools (515.4k followers) and GitHub (41.3k followers) on Product Hunt. Together, these topics include over 112.7k products, making this a competitive space to launch in.

Who hunted dupehound?

dupehound was hunted by Rafael Pinheiro. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how dupehound stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.