Move, don't remove.
From Latin lumen — light. Let your disk space see the light again.
Install · Why Lume? · Features · Usage
Scan → Select → Clean to Trash — Safe & undoable
brew install Tyooughtul/tap/lumecurl -fsSL https://raw.githubusercontent.com/Tyooughtul/lume/main/install.sh | bashEvery other Mac cleaner uses rm -rf. Lume doesn't.
|
✅ Lume
|
❌ Other Mac Cleaners
|
Delete request
├─ Tier 1: osascript → Finder moves to Trash ← native macOS
├─ Tier 2: os.Rename → ~/.Trash/ ← same filesystem
├─ Tier 3: Copy to ~/.Trash/ → remove source ← cross filesystem
└─ All tiers fail? → ERROR reported. File untouched.
↑
We NEVER fall back to rm.
57 built-in targets plus dynamic discovery of JetBrains IDEs, Chromium profiles, and Electron app caches — Lume finds caches other tools miss:
| Category | Targets |
|---|---|
| Apple | Xcode DerivedData / Archives / Simulators, Font Cache, Saved App State, WebKit |
| IDEs | JetBrains (10+ IDEs), VS Code, Android Studio — auto-discovered |
| JavaScript | npm, yarn, pnpm, node-gyp |
| Python | pip, Conda, Miniconda, Anaconda, virtualenv |
| JVM | Gradle, Maven (.m2), SBT, Ivy |
| Systems | Rust Cargo, Go Modules, Flutter / Dart |
| DevOps | Docker, Kubernetes, Helm, Terraform |
| PHP / Ruby | Composer, Gems |
| Packagers | Homebrew, CocoaPods, Carthage, SwiftPM |
| Browsers | Safari, Chrome, Firefox, Edge; Brave, Arc, Opera (dynamic) |
| Electron | Spotify, Discord, Slack, Teams, Zoom, Notion, Postman + more |
All scanning runs concurrently (NumCPU workers, max 8) — completes in seconds.
3-stage pipeline for speed AND accuracy:
100,000 files
→ Stage 1: Group by size [instant, 0 I/O] → 5,000
→ Stage 2: Quick hash (16KB head+tail) [parallel, minimal I/O] → 200
→ Stage 3: Full SHA-256 [parallel, 256KB buffer] → 50 true duplicates
100 GB in ~10 seconds on Apple Silicon · Up to 8 concurrent hashers · 256KB I/O buffer · Zero false positives
File access time heatmap — Visualize which files are actually being used:
[>] Last 7 days ████████████████████░░░░░ 25% (12 GB)
[+] Last 30 days ██████████████░░░░░░░░░░░ 18% (8.5 GB)
[~] Last 90 days ████████░░░░░░░░░░░░░░░░░ 10% (4.2 GB)
[-] Last year ██████░░░░░░░░░░░░░░░░░░░ 7% (3.1 GB)
[x] Zombie files (>1y) ███████████████░░░░░░░░░░ 40% (20 GB) <-- Clean these!
- Visual heatmap of file access patterns
- Zombie file detection — files untouched for >1 year
- Hot file tracking — recently accessed large files
- Size filters — 10MB / 50MB / 100MB / 500MB thresholds
- Perfect for finding forgotten downloads and old projects
Scans 11 Library directories with 6 keyword variants per app:
~/Library/Application Support/ ~/Library/Caches/
~/Library/Preferences/ ~/Library/Logs/
~/Library/Containers/ ~/Library/Group Containers/
~/Library/LaunchAgents/ ~/Library/Saved Application State/
~/Library/WebKit/ ~/Library/HTTPStorages/
~/Library/Cookies/
Track disk usage over time. Spot the leak before you run out of space.
Scans your home directory for files over 10 MB (configurable), sorted by size. Streaming metadata scan — no full file reads, no lag even on 10 GB+ files.
Per-browser, per-data-type control (cache, history, cookies) for Safari, Chrome, Firefox, and Edge. Brave, Arc, and Opera caches detected via the system junk scanner.
lume # Interactive TUI (recommended)
lume -diagnose # Quick terminal report, no interaction
lume -help # Show helpQuick terminal report without interaction — perfect for CI/CD or quick checks:
| Key | Action |
|---|---|
↑ k / ↓ j |
Navigate |
Space |
Toggle selection |
Enter |
Confirm / Enter |
a |
Select all / none |
p |
Preview files |
d c |
Clean selected (→ Trash) |
r |
Refresh scan |
t |
Toggle theme |
Esc |
Back |
q |
Quit |
Lume supports multiple color themes. Press t to cycle through themes.
Built-in themes:
| Theme | Style |
|---|---|
modern (default) |
Neon cyberpunk |
retro |
Matrix green terminal |
amber |
Vintage amber monitor |
ocean |
Deep blue ocean |
highcontrast |
Accessibility friendly |
dracula |
Classic Dracula colors |
solarized |
Solarized Dark |
monokai |
Code editor style |
Custom theme:
Create ~/.config/lume/themes/mytheme.json:
{
"name": "mytheme",
"description": "My custom theme",
"primary": "#ff6b6b",
"secondary": "#4ecdc4",
"accent": "#ffe66d",
"danger": "#ff4757",
"warning": "#ffa502",
"success": "#2ed573",
"foreground": "#f1f2f6",
"gray": "#747d8c",
"light_gray": "#a4b0be",
"dim": "#57606f",
"selected_bg": "#3742fa",
"selected_fg": "#ffffff",
"border": "#70a1ff"
}See assets/custom_theme_example.json for a complete example.
- Go 1.21+ — single static binary, zero runtime dependencies
- Bubble Tea — TUI framework
- Lip Gloss — terminal styling
- SHA-256 — cryptographic duplicate verification
Project Structure
lume/
├── cmd/lume/ # Entry point + diagnose mode
├── pkg/
│ ├── scanner/ # Scanning logic (junk, apps, duplicates, browser, disk)
│ ├── cleaner/ # Trash-based cleanup (3-tier strategy)
│ └── ui/ # Bubble Tea TUI views
├── Makefile
└── go.mod
git clone https://github.com/Tyooughtul/lume.git && cd lume
go mod download
go test ./... # Run tests
go run ./cmd/lume/... # Run locallyPRs welcome. Please run go fmt and add tests for new features.
Is it safe?
Everything goes to macOS Trash. If our 3-tier strategy fails entirely, the file stays where it is. We never fall back to permanent deletion.
Why not CleanMyMac?
CleanMyMac costs $35+/yr, uses rm not Trash, is closed-source, and finds fewer developer caches. Lume is free, open-source, 100% undoable, and built for developers.
Does it need sudo?
No. Lume only touches user-accessible files.
Performance impact?
< 50 MB RAM. Most scans finish in seconds. Non-blocking TUI with background goroutines.
If Lume saved you disk space, consider giving it a ⭐

