Nicheloom visits: 58,111 all-time · 7,637 in the last 7 days

The opportunity tracker for new startups.

Today: 1,953 launches · Niche of the day: specialized calculation tools · See what launched today →

Treepeat – Code similarity detection using Tree-sitter

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

treepeat is a tool that finds similarities in your codebase.Find duplicate code blocks meaningful to the language (classes/functions), not just lines.Find near-duplicates: ignore whitespace, strings, high level AST nodes such as function and names.Find structurally similar code: anonymize identifiers, constants, etc.Pull requests welcome: This is very much an proof of concept - I'm happy with it, but I haven't supported very many languages at present.Languages supported: astro, bash, css, go, html, javascript, lua, markdown (plus codeblocks), python, sql, typescript, java, kotlin, rust, yaml

HN · launched Sep 22, 2026 · 70 upvotes (top 12%) · 0 views

Niche: code and binary analysis tools · 118 launches, 4 in the last 7 days ▼ -56% · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

Yes Treepeat is an AST-based code similarity detector utilizing existing Tree-sitter bindings. A developer can build this with AI assistance by writing a CLI tool that parses code with Tree-sitter, normalizes node identifiers, and runs hash or rolling-hash comparisons across subtrees.

Discussion

3 comments analyzed.

Competitors mentioned: slopdex

Competitors

Other products that read as similar to this one : 218 launches clear the similarity bar, closest 8 shown.

Attention rank: #21 of 219 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 315 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.