Skip to content

Similar file scan - #9

Draft
ahmadasjad wants to merge 32 commits into
developmentfrom
similar-file-scan
Draft

Similar file scan#9
ahmadasjad wants to merge 32 commits into
developmentfrom
similar-file-scan

Conversation

@ahmadasjad

@ahmadasjad ahmadasjad commented Oct 16, 2025

Copy link
Copy Markdown
Owner

Summary of GitHub Pull Request: "Similar file scan"

This pull request introduces a new feature enabling similarity-based file scanning within the project while also enhancing certain areas of the application. The changes include a new module for similarity detection, updates to storage provider functionality to integrate similarity checks, and modifications to support this new capability.


Key Changes and Features:

1. New Features

  • Similarity Detection Module (similarity.py):
    • Implements the core functionalities for detecting similar files using multiple algorithms:
      • Exact matching using file hashes (MD5).
      • Perceptual hash similarity for images (structural comparison).
      • Text content similarity using difflib for textual files.
      • Binary content similarity for binary data/file byte comparison.
      • Filename similarity using fuzzy string matching.
    • Supports configurable similarity thresholds (e.g., 100% identical or 95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant