webOpen Source
DiskPilot
Free open-source Windows disk cleanup tool with a smart 4-tier confidence system, duplicate finder, and piracy detection. Built in Python.
PythonCustomTkinterSQLitePyInstaller
View on GitHubProblem
Windows' built-in disk cleanup is slow, superficial, and never shows why a file should be deleted. Third-party tools are either filled with ads, cost money, or delete files without explanation β making users nervous about losing something important.
Solution
DiskPilot scans all drives and categorizes files into four confidence tiers, so you never delete something you'll regret:
- SAFE β Guaranteed safe to delete (temp files, cache, logs)
- RECOMMENDED β Very likely redundant (old installers, duplicates, torrents)
- SUGGESTED β Probably fine, but worth checking (old archives, backups)
- ASK β Only you know if you need them (old media files, abandoned projects)
Key Features
- Smart scanning β Catalogs all files in a SQLite database with automatic skipping of developer directories (
node_modules,.venv,__pycache__, etc.) - Duplicate finder β Finds identical files across drives and suggests keeping the newest
- Version detection β Finds older versions of the same installer and flags them
- Piracy detection β Flags known cracks, keygens, and activators as security risks
- Drive organization β Assign purposes to drives (Games, Projects, Media) and find misplaced files
- 3-layer system protection β System files are protected during scanning, analysis, and deletion
- Recycle bin by default β Nothing is permanently deleted unless you actively choose it
Technical Architecture
The application is built with a clear separation of concerns:
- UI layer β CustomTkinter + ttk.Treeview with dark theme
- Scanner β Filesystem walker with intelligent filtering and categorization
- Smart Analyzer β 4-tier confidence engine with duplicate/version/piracy detection
- Database β SQLite with WAL mode and batch inserts for performance
- Organizer β Deletion queue with recycle bin support
Result
A free, open-source tool that gives Windows users full control over disk cleanup with transparent explanations for every file. MIT license, available on GitHub.