Thursday, September 24, 2026

Show HN: Treepeat – Code similarity detection using Tree-sitter https://ift.tt/7Tv8YR6

Show HN: Treepeat – Code similarity detection using Tree-sitter 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 https://ift.tt/tNPzWjb September 22, 2026 at 10:23PM

No comments:

Post a Comment

Show HN: Radix – Visual UI for agentic programming https://ift.tt/LmOMQ9N

Show HN: Radix – Visual UI for agentic programming Hey HN, I'm Jordan from Radix. Radix is a UI tool for programming agents. You prompt ...