Skip to content

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiffectTool

A powerful Python-based GUI tool for detecting and visualizing differences between directories and files. Built with Tkinter and Python's difflib, this tool provides an intuitive interface for comparing content and structure.

✨ Features

  • πŸ“ Directory Structure Comparison: View and compare entire directory structures side by side
  • πŸ“„ File Content Comparison: Compare text files with highlighted differences
  • 🎨 Visual Difference Highlighting:
    • Red: Files present only in left directory
    • Green: Files present only in right directory
    • Yellow: Files present in both with changes
    • White: Files present in both with no changes
  • πŸ“ Multiple File Format Support: Compare PDFs, TXT files, and DOCX files
  • πŸ–₯️ User-Friendly Interface: Simple and intuitive file selection interface
  • πŸš€ Command Line Support: Launch with predefined paths using command line arguments

πŸ› οΈ Installation

# Clone the repository
git clone https://github.com/Mohammedaoudi/DiffectTool.git

# Navigate to the project directory
cd DiffectTool

πŸ’» Usage

GUI Mode

python diffect.py

Command Line Mode

python diffect.py -p path1 path2

Arguments

  • -p, --paths: Two paths to compare (optional)

πŸ–ΌοΈ Screenshots

Initial View

Initial Interface

Directory Comparison

Directory Comparison

Text Comparison

Text Comparison

πŸ”§ Technical Details

Built using:

  • Python
  • Tkinter for GUI
  • difflib for comparison logic
  • argparse for command line argument parsing

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“ License

MIT License

About

A Python GUI tool for visualizing differences between directories and files. Features side-by-side comparison with color-coded changes, directory structure visualization, and multi-format file support (PDF, TXT, DOCX). Built with Tkinter and difflib for intuitive file and folder comparison.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages