Lightweight keyboard-first desktop application to review image folders quickly and move unwanted files to your system trash with minimal interactions.
Cleaning large photo folders with a normal file manager is slow: too many clicks, too many dialogs, and too much context switching.
GalleryCleaner provides a focused full-screen workflow where you can preview, navigate, rotate, and trash images rapidly using keyboard shortcuts, enabling rapid curation of large image collections with minimal friction.
- Keyboard-First Navigation: Primary navigation via keyboard (
A/Dor arrow keys) for speed - One-Key Trash Action: Delete unwanted images instantly with single key press
- Safe Deletion: Uses system trash (
send2trash) - deleted files are recoverable - Image Rotation: Visual preview rotation plus persistent file rotation
- Recursive Scanning: Optional recursive directory scanning for batch processing
- Rapid Refresh: Quick iteration with refresh and navigation shortcuts
- Modern UI: Built with CustomTkinter for clean, native-looking interface
- Cross-Platform: Works on Windows, macOS, and Linux
GalleryCleaner/
├── src/
│ └── main.py # Main desktop application
├── scripts/
│ ├── setup.bat # Windows setup script
│ ├── setup.sh # Unix/macOS setup script
│ ├── run.bat # Windows run script
│ └── run.sh # Unix/macOS run script
├── resources/
│ └── images/ # Application icons and assets
├── docs/
│ └── images/
│ └── screenshot.png # UI screenshot
├── requirements.txt # Python dependencies
├── LICENSE
└── README.md
Project organization:
- src/: Main application source code
- scripts/: Setup and runtime automation scripts
- resources/: Application assets (icons, images)
- docs/: Documentation and screenshots
- Python 3.7 or newer
- Windows, macOS, or Linux
-
Clone the repository:
git clone https://github.com/LorenBll/GalleryCleaner.git cd GalleryCleaner -
Run the setup script:
- Windows:
scripts\setup.bat - macOS/Linux:
chmod +x scripts/setup.sh scripts/run.sh ./scripts/setup.sh
- Windows:
-
Run the application:
- Windows:
scripts\run.bat - macOS/Linux:
./scripts/run.sh
- Windows:
The setup script creates a virtual environment (.venv) and installs dependencies from requirements.txt.
-
Create and activate virtual environment:
python -m venv .venv
- Windows:
.venv\Scripts\activate
- macOS/Linux:
source .venv/bin/activate
- Windows:
-
Install dependencies:
pip install -r requirements.txt
-
Start the application:
python src/main.py
- Launch the application
- Enter path to an image directory
- Optionally enable recursive mode to scan subdirectories
- Navigate through images and trash unwanted files
- Use keyboard shortcuts for rapid navigation and deletion
| Key | Action |
|---|---|
A / Left Arrow |
Navigate to previous image |
D / Right Arrow |
Navigate to next image |
S / Down Arrow |
Move current image to trash |
Ctrl+Q |
Rotate image left |
Ctrl+E |
Rotate image right |
Ctrl+R |
Refresh folder contents |
Esc / Ctrl+B |
Return to folder path input |
Enter |
Submit folder path |
- Language: Python 3.7+
- GUI Framework: CustomTkinter
- Image Processing: Pillow
- File Handling: Send2Trash (safe deletion to system trash)
This project is licensed under the terms specified in LICENSE.