Skip to content

CleanWrap v1.0.0

Choose a tag to compare

@ettisafxrup ettisafxrup released this 06 Aug 11:04
· 17 commits to main since this release

🧹 CleanWrap β€” Smart File Organization for Windows [v1.0.0]

Language
Platform
License
Version
GitHub

CleanWrap v1.0.0 is the first stable release of a lightweight Windows file organization utility built entirely with Modern C++20.

Originally designed for the Windows Downloads folder, CleanWrap can now organize any folder through Windows Explorer integration. It intelligently categorizes files into dedicated folders, detects duplicate files using content hashing and Windows duplicate filename patterns, generates detailed cleanup reports, and exits within seconds.

CleanWrap is designed to stay lightweight, fast, and dependency-free while keeping your directories clean with minimal user interaction.


✨ Features

  • Automatically organizes downloaded files
  • Organizes any folder through Windows Explorer Context Menu
  • Categorizes files by extension
  • Creates category folders only when required
  • Creates duplicate folders only when duplicate files exist
  • Supports documents, images, videos, audio, archives, source code, executables, installers, and many more
  • Detects duplicate files using 64-bit FNV-1a hashing
  • Recognizes common Windows duplicate filename patterns
  • Automatically generates detailed cleanup logs
  • Optional Windows Startup integration
  • Lightweight and extremely fast
  • Modular object-oriented architecture
  • Built entirely using Modern C++20

πŸ“‚ Folder Structure

After running CleanWrap, your directory is automatically organized like this:

Downloads/

β”œβ”€β”€ Images/
β”‚   └── Duplicates_Images/
β”‚
β”œβ”€β”€ PDFs/
β”‚   └── Duplicates_PDFs/
β”‚
β”œβ”€β”€ Videos/
β”‚   └── Duplicates_Videos/
β”‚
β”œβ”€β”€ Audio/
β”‚   └── Duplicates_Audio/
β”‚
β”œβ”€β”€ Code/
β”‚   └── Duplicates_Code/
β”‚
β”œβ”€β”€ Documents/
β”‚   └── Duplicates_Documents/
β”‚
β”œβ”€β”€ Zips/
β”‚   └── Duplicates_Zips/
β”‚
β”œβ”€β”€ Executables and Installers/
β”‚   └── Duplicates_Executables and Installers/
β”‚
β”œβ”€β”€ Others/
β”‚   └── Duplicates_Others/
β”‚
└── _CleanWrap.log

Note: Category folders are created only when files belonging to that category exist. Likewise, duplicate folders are created only if duplicate files are detected.


πŸ” Smart Duplicate Detection

CleanWrap uses a multi-stage duplicate detection system.

β‘  Content-Based Hash Detection

Every file is hashed using a fast 64-bit FNV-1a hashing algorithm.

If another file with the exact same content already exists, CleanWrap identifies it as a duplicate regardless of its filename.


β‘‘ Windows Duplicate Filename Recognition

CleanWrap also recognizes common Windows duplicate filename patterns such as:

My File (1).pdf
My File (2).pdf
Holiday - Copy.jpg
Assignment - Copy (3).docx

These filename patterns are checked alongside file hashes before classifying a file as a duplicate.


β‘’ Intelligent Duplicate Placement

When duplicate files are found:

  • The original file remains inside its main category folder.
  • Windows-generated copies such as (1) or - Copy are automatically moved into the corresponding Duplicates folder.
  • If identical files have different names, the original file is preserved while later duplicates are isolated.

This keeps your directories clean without risking accidental loss of the original file.


πŸ“Š Cleanup Report

Every execution generates:

_CleanWrap.log

The report contains:

  • Date & Time
  • Cleanup session summary
  • Total files handled
  • Category-wise statistics
  • Duplicate count
  • Error count

Logs are appended instead of overwritten, preserving the history of every cleanup session.


βš™ Windows Integration

CleanWrap integrates directly with Windows.

Windows Explorer Context Menu

Right-click inside any folder and choose:

Organize with CleanWrap

CleanWrap instantly organizes the selected directory.


Windows Startup (Optional)

During installation you may enable:

Automatically organize Downloads when Windows starts

CleanWrap launches once during Windows startup, organizes the Downloads folder, generates a cleanup report, and exits automatically.


πŸ“¦ Project Structure

CleanWrap/

.
β”œβ”€β”€ πŸ“‚ assets
β”‚   β”œβ”€β”€ cleanwrap.ico
β”‚   β”œβ”€β”€ installer_banner.bmp
β”‚   β”œβ”€β”€ installer_small.bmp
β”‚   β”œβ”€β”€ logo.png
β”‚
β”œβ”€β”€ πŸ“‚ include
β”‚   β”œβ”€β”€ DuplicateDetector.hpp
β”‚   β”œβ”€β”€ FileClassifier.hpp
β”‚   β”œβ”€β”€ FileOrganizer.hpp
β”‚   β”œβ”€β”€ FileTypes.hpp
β”‚   β”œβ”€β”€ Notifications.hpp
β”‚   β”œβ”€β”€ Statistics.hpp
β”‚
β”œβ”€β”€ πŸ“‚ src
β”‚   β”œβ”€β”€ DuplicateDetector.cpp
β”‚   β”œβ”€β”€ FileClassifier.cpp
β”‚   β”œβ”€β”€ FileOrganizer.cpp
β”‚   β”œβ”€β”€ FileTypes.cpp
β”‚   β”œβ”€β”€ Notifications.cpp
β”‚   β”œβ”€β”€ Statistics.cpp
β”‚
β”œβ”€β”€ πŸ“‚ release
β”‚   β”œβ”€β”€ CleanWrap_v1.0
β”‚   β”‚   β”œβ”€β”€ CleanWrap_v1.0.exe
β”‚   β”‚   β”œβ”€β”€ CleanWrap_v1.0_Setup.exe
β”‚
β”œβ”€β”€ πŸ“‚ script
β”‚   β”œβ”€β”€ cleanwrap_v1.0.iss
β”‚
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ main.cpp
β”œβ”€β”€ release.sh

⚑ Built With

  • Modern C++20
  • Standard Template Library (STL)
  • <filesystem>
  • <unordered_map>
  • <unordered_set>
  • <regex>
  • <fstream>
  • Object-Oriented Programming
  • Modular Project Architecture
  • Windows Registry Integration
  • Windows Explorer Context Menu
  • Inno Setup Installer

πŸ“¦ Included with CleanWrap v1.0

  • CleanWrap Installer
  • CleanWrap Executable
  • User Manual
  • README
  • Source Code
  • MIT License

πŸš€ Building Locally

Compile using g++

g++ -O2 -std=c++20 ^
-Iinclude ^
main.cpp ^
src/*.cpp ^
-o CleanWrap.exe

Release build:

./release.sh

πŸ–‹ Author

Ettisaf Rup

Software Lead, XtendArena

B.Sc. in Computer Science & Engineering

Khulna University of Engineering & Technology (KUET)

GitHub
LinkedIn
Instagram
Facebook


🀲 Support CleanWrap

If you found this project useful, consider giving it a ⭐ on GitHub.

It helps others discover the project and motivates future improvements.

And if anyone ever wishes to donate, you can always bring me to a tong for a cup of tea. β˜•

Download Latest Release

GitHub Stars


πŸš€ Roadmap

  • Drag & Drop Support
  • Automatic Update Checker
  • Undo Last Organization
  • Configuration File (.json)
  • User-defined Categories
  • SHA-256 Duplicate Detection
  • File Type Icons
  • Statistics Dashboard
  • GUI Version
  • Multi-threaded Processing
  • Localization Support

Thank you for checking out CleanWrap.

If this project helped you organize your files or inspired you, consider leaving a ⭐ on the repository. Every star motivates future development and helps the project reach more people.

Happy organizing! 🧹


CleanWrap Β© 2026 β€’ Developed by Ettisaf Rup β€’ Released under the MIT License