Show HN: Code similarity detection using Tree-sitter
Summary
Show HN: Code similarity detection using Tree-sitter introduces treepeat, a proof-of-concept tool that detects duplicate and related code blocks by deriving Tree-sitter AST representations and applying locality-sensitive hashing. It supports multiple languages, offers exact duplicates, near-duplicates, and structurally similar matches, and provides CLI options for customization and CI-friendly output. The repo invites contributions and includes installation and usage instructions.