A powerful and safe PC optimization suite for Windows. DevCleaner efficiently cleans temporary files, finds and removes duplicates, and monitors system resourcesβall with comprehensive safety protections.
- Scans and removes temporary files from multiple locations
- Targets: System Temp, AppData Temp, Prefetch, and browser caches (Chrome, Edge, Firefox)
- 1-Hour Safety Rule: Protects recently modified files from deletion
- Comprehensive preview before cleanup
- Detailed statistics on space freed
- Uses SHA-256 hashing for accurate duplicate detection
- Recursive scanning of user-selected directories
- Shows potential disk space savings
- User confirmation before any deletion
- Keeps one file, removes duplicates safely
- Real-time system statistics (CPU, memory, disk, swap)
- Top 5 resource-consuming processes
- Detailed process information (PID, usage percentages, memory)
- System performance monitoring at a glance
- Dark-themed CustomTkinter GUI
- Tabbed navigation for easy access
- Real-time status updates
- Non-blocking background operations
- Protected system file detection (.dll, .exe, .sys, etc.)
- Excluded system directories (Windows, Program Files)
- Two-step confirmation for all deletions
- Complete operation logging
- Graceful error handling
- OS: Windows 10 or Windows 11
- RAM: 512 MB minimum (1 GB recommended)
- Disk: 100 MB for application
- Python: 3.8+ (for source installation)
Download DevCleaner.exe from the releases section and run it directly. No installation required.
- Install Python 3.8 or higher
- Clone the repository:
git clone https://github.com/yourusername/DevCleaner.git cd DevCleaner - Install dependencies:
pip install -r requirements.txt
- Run the application:
python main.py
- Open DevCleaner
- Go to the System Cleanup tab
- Click Scan for Temp Files to identify cleanable files
- Review the list of files to be deleted
- Click Clean Selected Files and confirm
- Check the status for results
- Click the Duplicate Finder tab
- Click Browse to select a folder to scan
- Click Scan for Duplicates
- Review the duplicate groups found
- Click Delete Duplicates to remove them
- Confirm the action
- Click the Resource Monitor tab
- Click Refresh Stats to update information
- View CPU, memory, disk, and process information
- Monitor the top 5 processes by resource usage
- Click the Logs tab
- All application activities are logged here
- Use Refresh Logs or Clear Logs as needed
To create a standalone executable from source:
Install PyInstaller:
pip install pyinstallerpyinstaller --onefile --windowed --name DevCleaner --add-data "modules:modules" main.pyThe executable will be created in the dist/ folder as DevCleaner.exe.
--onefile: Creates a single executable file--windowed: Hides the console window--name DevCleaner: Sets the application name--add-data: Includes the modules folder in the executable
DevCleaner/
βββ main.py # Application entry point
βββ requirements.txt # Python dependencies
βββ LICENSE # MIT License
βββ .gitignore # Git ignore rules
βββ README.md # This file
βββ test_modules.py # Module verification script
βββ modules/
β βββ __init__.py
β βββ utils.py # Safety utilities and logging
β βββ system_cleanup.py # Temp file cleanup module
β βββ duplicate_finder.py # Duplicate detection module
β βββ resource_monitor.py # System monitoring module
βββ dist/
βββ DevCleaner.exe # Standalone executable
The following file types are never deleted:
.dll, .exe, .sys, .drv, .ocx, .ini, .config, .bat, .cmd,
.com, .msi, .scr, .vbs, .ps1
These system directories are always excluded:
- C:\Windows
- C:\Program Files
- C:\Program Files (x86)
- C:\ProgramData
- System Volume Information
β
1-hour file modification threshold
β
Two-step confirmation for deletions
β
Permission error handling
β
Complete operation logging
β
User preview before cleanup
All operations are logged to devcleaner.log including:
- Application start/stop times
- Scan results and statistics
- Files deleted and space freed
- Errors and warnings
- Process terminations
View the logs in the Logs tab or open devcleaner.log with any text editor.
- Temp directories may be empty
- Most files might be recent (within 1-hour protection)
- Try scanning user directories with Duplicate Finder instead
- Some files might be in use by running applications
- Close unnecessary applications and retry
- Run as Administrator for better access
- Large directories take time to process
- Scan smaller folders first
- Close other applications to improve performance
- Verify Python is installed:
python --version - Reinstall dependencies:
pip install -r requirements.txt - Check for errors in
devcleaner.log
- Start with smaller directories for faster results
- Close unnecessary applications before cleanup
- Run during off-peak hours for large operations
- Backup important files before cleanup
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Use at your own risk. While extensive safety measures are implemented:
- Always backup important files before cleanup
- Review files before deletion
- Test on non-critical files first
- DevCleaner is not responsible for data loss
If you encounter issues:
- Check the logs in the Logs tab
- Review the troubleshooting section
- Check
devcleaner.logfor detailed error information - Verify system permissions and file access
- Initial release
- System cleanup with 1-hour safety rule
- SHA-256 based duplicate finder
- Resource monitor with top processes
- Modern CustomTkinter GUI
- Comprehensive logging and safety features
Made with β€οΈ for Windows users
Version: 1.0.0
Last Updated: January 2026