FolderLens is a lightweight macOS folder inspector that turns a local directory into a practical health report.
It helps you answer the questions Finder does not surface quickly: what is taking space, what changed recently, which files may be cleanup candidates, and what should be reviewed first.
Note: the product name is FolderLens. The current Xcode project and scheme are still named
RunBoardfrom an earlier prototype.
- Inspect any local folder with a native SwiftUI macOS interface.
- Browse folders, preview images and text-like files, and open items in Finder.
- Search by file name and filter by images, PDFs, videos, archives, code, text, and large files.
- Toggle Deep Scan to analyze nested folders recursively.
- Scan large folders in the background with live item progress and cancellation.
- Tune scan settings for large-file thresholds, old-file age, and hidden-file handling.
- See file type distribution, largest files, recently modified files, and safe cleanup candidates.
- Get a Folder Health Score with a prioritized action plan.
- Find folder size hotspots during Deep Scan.
- Automatically verify duplicate content with streamed SHA-256 hashing, even when file names differ.
- Follow verification progress, cancel hashing with the same scan control, and review files that could not be verified.
- Estimate reviewable space and conservative recoverable space using only verified duplicate groups.
- Export a Markdown report that includes health score, verified duplicates, verification issues, cleanup suggestions, top files, and a full file list.
FolderLens scores a folder from 0 to 100 based on signals that usually matter during cleanup:
- large files over your selected threshold
- files not modified for longer than your selected age threshold
- temporary, cache-like, or backup files
- uncategorized file types
- whether the scan is shallow or recursive
The score is paired with a status such as Excellent, Good, Needs review, or Critical, plus an action plan that tells you what to inspect first. FolderLens never deletes files automatically.
FolderLens keeps scan settings in the sidebar so each report can match the folder you are reviewing:
- Large file threshold: choose what counts as a meaningful disk-space target.
- Old file threshold: tune how aggressively the app flags stale files.
- Hidden files: skip them for normal review, or include them when auditing project/tooling folders.
Exported Markdown reports include the active settings so the result remains explainable later.
Deep Scan turns FolderLens into a more useful cleanup assistant:
- Keep the interface responsive while FolderLens analyzes nested content.
- Folder Size Hotspots rank nested folders by total file size.
- Non-empty, same-size regular-file candidates are read in bounded chunks and grouped only when their SHA-256 digests match.
- Symbolic links are excluded from duplicate verification, hard-linked paths to the same file identity are counted once, and files without a stable filesystem identity are left out of trusted duplicate estimates.
- Verified Duplicates show every matching path, per-file size, copy count, and recoverable size.
- Verification Issues identify files that changed or could not be read; they are not labeled or counted as duplicates.
- Hashing progress remains visible and cancellable as part of the active scan.
- Review Size estimates how much data deserves attention across large, old, temporary, and duplicate candidates.
- Recoverable estimates a conservative cleanup amount from temporary files and extra SHA-256-verified copies without double-counting overlapping paths.
Screenshots will be added after the first polished release build.
Suggested screenshots:
- welcome screen
- folder summary with Health Score
- cleanup suggestions
- exported Markdown report
- macOS 15.0 or later
- Xcode 16.2 or later
- SwiftUI
Clone the repository:
git clone https://github.com/kannseiLiu/-FolderLens.git
cd -FolderLensOpen the Xcode project:
open RunBoard/RunBoard.xcodeprojIn Xcode:
- Select the
RunBoardscheme. - Choose
My Macas the destination. - Build and run.
Run the unit tests from Terminal:
xcodebuild test \
-project RunBoard/RunBoard.xcodeproj \
-scheme RunBoard \
-destination 'platform=macOS' \
-only-testing:RunBoardTestsRunBoard/
RunBoard.xcodeproj/ Xcode project
RunBoard/ SwiftUI app source
RunBoardTests/ Unit tests
RunBoardUITests/ UI test scaffold
Core files:
ContentView.swift: folder selection, navigation, scanning, filtering, and Markdown exportFolderReportBuilder.swift: testable Markdown report compositionDuplicateVerifier.swift: bounded SHA-256 verification for non-empty, same-size regular-file candidatesScanSettings.swift: persisted scan thresholds and hidden-file policyFolderSummary.swift: summary data, health score, and action plan modelFolderSummaryView.swift: dashboard, statistics, cleanup suggestions, and health overviewFilePreviewView.swift: file actions and image/text previewsFileItem.swift: local file metadata model
See ROADMAP.md for planned improvements.
FolderLens is designed as an inspection tool. It surfaces cleanup candidates and opens files in Finder, but it does not delete or modify user files automatically.
No license has been selected yet.