Type: Software
Status: V.1.0
Tech Stack: Python, PyYAML, difflib, hashlib
Problem Statement
Many legacy projects, especially in government agencies and enterprises, do not use version control systems (Git). When code needs to be synchronized between development and production environments, a simple tool for comparing two directory structures is missing. Existing diff tools usually work at file level, not recursively, and offer no clear reports with statistics and filter options.
Description
A Python tool for recursive comparison of two project directories — designed for projects without Git. Detects new, deleted, and modified files with line-level diff, grouped by file types with statistics. Optionally generates colored terminal output and/or an interactive HTML report in GitHub style with search function, collapsible diffs, and syntax highlighting. Configuration via YAML, supports multiple comparison profiles.
Use Case
Compare two versions of a project directory and see exactly what changed — when you don’t have Git.
Link: https://github.com/rawk7000/diff_dirs (public repo)