CleanSweep is a lightweight and blazing-fast macOS desktop app built with Tauri, leveraging a Rust backend and a React + TailwindCSS frontend.
Related article 👉 Develop a Desktop App with Tauri: Scan & Clean Your Disk, this project demonstrates how to build a native-like experience using modern web technologies and system-level performance.
- 📂 Select a folder or disk to scan
- 📊 Analyze disk usage: total size, largest & oldest files
- 🗑️ Move selected files safely to trash
- 💨 Super fast performance with native Rust backend
- 💅 Sleek, responsive UI with React + TailwindCSS
- Rust (Tauri backend)
- React + TypeScript (frontend)
- TailwindCSS (styling)
- Tauri for building a secure and lightweight desktop application
Make sure you have the following installed:
Check with:
cargo -V
npm -vnpm create tauri-app
cd tauri-app
npm install
npm run tauri dev
On first run, Tauri will compile Rust dependencies – this might take a bit.
| Path | Description |
|---|---|
src/ |
Frontend React application |
src-tauri/ |
Tauri-specific Rust backend |
src-tauri/src/lib.rs |
Core logic for scanning folders and trashing files |
src/components/ |
UI components like PathSelector, CleanupSuggestions |
package.json |
Frontend dependencies and scripts |
Cargo.toml |
Rust dependencies and build settings |
tauri.conf.json |
Tauri app configuration |
- Scan multiple folders
- Add file type filters (e.g., only show .mp4, .zip, etc.)
- Show file previews or icons
- Add native notifications after cleanup
Created by @pguso
👉 Develop a Desktop App with Tauri: Scan & Clean Your Disk
MIT