[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116958":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":10,"trendingCount":15,"starSnapshotCount":15,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},116958,"macsweep","nihal4\u002Fmacsweep","nihal4","Free, open-source Mac cleaner written in Rust. Smart Scan, Uninstaller, Browser Cleanup, Large Files, Duplicates and Mac Health, and it shows exactly what it will remove first.","https:\u002F\u002Fmacsweep-app.netlify.app\u002F",null,"Rust",93,7,53,0,3,27,33,64.91,"MIT License",false,"main",true,[25,26,27,28,29,30,31,32],"cleanmymac-alternative","disk-cleanup","egui","mac-cleaner","macos","open-source","rust","uninstaller","2026-11-23 03:49:13","2026-11-23 07:32:49","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"docs\u002Ficon.png\" width=\"128\" alt=\"MacSweep icon\">\n\n# MacSweep\n\n**A free, open-source Mac cleaner written in Rust.**\nClean junk, find big forgotten files and duplicates, fully uninstall apps, clean each browser site by site, and check your battery and SSD health, all from one small native app.\n\n[![Latest release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fnihal4\u002Fmacsweep?label=download&color=c04fd0)](https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep\u002Freleases\u002Flatest)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue)](LICENSE)\n![macOS 11+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FmacOS-11%2B-black?logo=apple)\n![Apple Silicon & Intel](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FApple%20Silicon%20%26%20Intel-universal-555)\n![Rust](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuilt%20with-Rust-orange?logo=rust)\n\n![Smart Scan](docs\u002Fsmart-scan-results.jpg)\n\n[**⬇ Download MacSweep**](https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep\u002Freleases\u002Flatest) · [Website](https:\u002F\u002Fmacsweep-app.netlify.app\u002F) · [Report a bug](https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep\u002Fissues\u002Fnew?template=bug_report.md) · [Request a feature](https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep\u002Fissues\u002Fnew?template=feature_request.md)\n\n\u003C\u002Fdiv>\n\n---\n\n## Why MacSweep?\n\n- **Free and open source.** No subscription, no ads, no \"upgrade to clean\" paywall. Every line is right here.\n- **Safe by design.** It never touches your passwords, cookies, browser history, email or app data, and only removes a website's data if you tick that site (see [Safety](#safety--your-data-is-never-touched)).\n- **Tiny and fast.** A native Rust app: a 7 MB download that runs on both Apple Silicon and Intel (6.6 MB if built for Apple Silicon only). It uses macOS's own fonts instead of bundling them. Scans use every CPU core, and nothing runs in the background unless you turn on the menu bar monitor.\n- **Private.** No accounts, no telemetry. Everything happens on your Mac. The only network request is one check at launch asking GitHub whether a newer version exists; nothing about you or your Mac is sent. To turn it off, create an empty file at `~\u002FLibrary\u002FApplication Support\u002FMacSweep\u002Fno-update-check`.\n\n## Features\n\n| | |\n|---|---|\n| ✨ **Smart Scan** | One click finds caches, logs, build leftovers and Trash, and shows a summary by category. |\n| 🧹 **System Junk** | Review every category and file before cleaning, with per-file checkboxes. Developer (Xcode, npm, Gradle) and ML-model caches (Hugging Face, PyTorch) are included. |\n| 📁 **Large & Old Files** | Finds big files in your home folder, grouped by kind (videos, archives, installers, models & data…), with a \"not opened in a year\" filter. |\n| 🗂️ **Duplicates** | Finds exact duplicate files (same size and same BLAKE3 content hash) in Desktop, Documents, Downloads, Pictures, Movies and Music. Always keeps at least one copy, never looks inside Photos\u002FMusic libraries or app data, and moves extras to the Trash. |\n| 📦 **Uninstaller** | Every app with its icon, version, App Store \u002F Apple Silicon \u002F Intel badges, last-opened date and **true size including leftovers**. Select several apps at once. |\n| 🌐 **Browser Cleanup** | For Chrome, Brave, Edge, Arc, Vivaldi, Opera and Chromium: the AI models each browser downloaded (like Chrome's Gemini Nano), website data per site and profile (where **web games keep their saves**, never ticked for you) and cache. Filter by profile, search and sort. Passwords, cookies, history, bookmarks and sign-ins are never touched. |\n| 🚀 **Launch Agents** | Lists background helpers and flags **orphaned** ones whose app is already gone. |\n| ❤️ **Mac Health** | Battery health (Apple's own Maximum Capacity and Condition, cycle count), SSD health (lifespan used, spare blocks, data written, errors) and system details. Every value comes from macOS itself and is [validated against Apple's tools](docs\u002Fhealth-validation.md). |\n| 📊 **Menu bar monitor** | Optional and off by default: live CPU, memory and free disk space in the menu bar, from a separate tiny helper. [Measured cost](CHANGELOG.md#v030): 2.2% of one core at live updates, 0.5% at every 5 s. |\n| 🔔 **Update notice** | When a new version is published, the sidebar tells you and links to it. One request to GitHub at launch; nothing about you is sent. |\n| 💾 **Live disk & Trash** | The sidebar always shows free space and Trash size, updates instantly after every clean, and has a one-click **Empty Trash**. |\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd>\u003Cimg src=\"docs\u002Funinstaller.jpg\" alt=\"Uninstaller\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"docs\u002Flarge-files.jpg\" alt=\"Large & Old Files\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cimg src=\"docs\u002Fsystem-junk.jpg\" alt=\"System Junk\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"docs\u002Fcleaned.jpg\" alt=\"Cleaned\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cimg src=\"docs\u002Fbrowser-cleanup.jpg\" alt=\"Browser Cleanup: AI models, website data and cache per browser and profile\">\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"docs\u002Fmac-health.jpg\" alt=\"Mac Health: battery capacity, condition and SSD health\">\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## How MacSweep compares\n\n| | MacSweep | Mole (CLI) | Mole for Mac | CleanMyMac |\n|---|---|---|---|---|\n| Price | **Free** | Free | Paid, one-time | Paid |\n| Interface | **Graphical app** | Terminal | Graphical app | Graphical app |\n| Open source | **Yes, MIT** | Yes, GPL-3.0 | No | No |\n| Oldest macOS | **macOS 11** | see project | macOS 14 | see vendor |\n\n[Mole](https:\u002F\u002Fgithub.com\u002Ftw93\u002FMole) is a far more mature project with many more features. If you're comfortable in Terminal, it's a great choice. MacSweep is for people who want a free graphical app with a strict, tested promise about their data.\n\n> **Not to be confused with** other, unrelated projects also named MacSweep. This is the Rust app by [nihal4](https:\u002F\u002Fgithub.com\u002Fnihal4), at [macsweep-app.netlify.app](https:\u002F\u002Fmacsweep-app.netlify.app\u002F).\n\n## Install\n\n1. Download **`MacSweep-x.y.z.zip`** from [Releases](https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep\u002Freleases\u002Flatest), unzip it, and move **MacSweep** to **Applications**.\n2. MacSweep isn't notarized by Apple yet (that needs a paid developer account), so macOS blocks it the first time. Either:\n   - Open it once, click **Done**, then go to **System Settings → Privacy & Security**, scroll down and click **Open Anyway** (macOS 15 Sequoia and later; on older macOS you can right-click the app → **Open**), or\n   - run this once in Terminal:\n   ```bash\n   xattr -dr com.apple.quarantine \u002FApplications\u002FMacSweep.app\n   ```\n3. Turn on **System Settings → Privacy & Security → Full Disk Access** for MacSweep, then reopen it (or click **Relaunch** in the sidebar).\n4. The first time you remove something, allow MacSweep to control **Finder**. It uses Finder to move files to the Trash, so **Put Back** works.\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Full Disk Access still shows as off?\u003C\u002Fb>\u003C\u002Fsummary>\n\n1. In System Settings → Full Disk Access, select MacSweep, click **–** to remove it, then **+** to add `\u002FApplications\u002FMacSweep.app` again.\n2. Quit and reopen MacSweep. macOS only applies the permission to a freshly started app.\n3. Open the app from Applications, not by running the binary in Terminal. From Terminal, the permission belongs to Terminal instead.\n\u003C\u002Fdetails>\n\n## Updating\n\nWhen a new version is out, MacSweep shows it in the sidebar (from v0.3.0 on; older versions can't). To update:\n\n1. Download the new zip from [Releases](https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep\u002Freleases\u002Flatest), unzip it, quit MacSweep, and replace the copy in **Applications**.\n2. **Turn Full Disk Access on again.** Releases aren't signed with an Apple developer certificate yet, so macOS treats each new version as a new app: in System Settings → Privacy & Security → Full Disk Access, remove MacSweep with **–**, add it again with **+**, and reopen it.\n3. If you use the menu bar monitor, it switches to the new version by itself.\n\n## Safety — your data is never touched\n\nSome cleaners have wiped people's browser profiles and email. MacSweep is built so that **can't happen**:\n\n- **Allowlist, not blocklist.** Junk cleaning can only delete *inside* a fixed list of cache, log and build folders (`JUNK_ROOTS` in [`src\u002Ffsutil.rs`](src\u002Ffsutil.rs)). Every path is checked again right before deletion.\n- **Never touched by junk cleaning:** browser profiles (Chrome, Brave, Firefox, Safari: history, passwords, bookmarks, logins), Mail, Messages, Keychains, cookies, app containers, `~\u002FLibrary\u002FApplication Support`, and your documents. For browsers, only the disposable download cache is cleaned.\n- **Browser Cleanup only removes what you tick.** It can remove a browser's AI models, cache, and a website's stored data (its databases, offline files and file storage, where web games keep saves), but website data is never ticked for you and goes to the Trash. Passwords, cookies, history, bookmarks, extensions' data and Local Storage (where sign-ins live) are never listed and can't be removed: an allowlist refuses any other folder. A browser that is open is never cleaned.\n- **Sign-in and sync caches are skipped:** iCloud, CloudKit, Apple ID, Wallet, Family, and anything named like a password manager, token, auth, account or login.\n- **The Uninstaller keeps your data unless you ask.** Leftovers are split into *safe to remove* (cache, logs, preferences, window state) and **Your data** (profiles, containers, cookies, web storage), which is never pre-selected.\n- **Recoverable by default.** Apps, large files, launch agents, and browsers' AI models and website data go to the Trash. Only junk and browser cache are deleted permanently, after you click Clean.\n- Apple's own apps are never listed in the Uninstaller.\n- Automated tests (`cargo test`) check that browser profiles, Mail, keychains, cookies, Documents and `..\u002F` path tricks can never be deleted by junk cleaning, and that Browser Cleanup refuses passwords, cookies, Local Storage, extensions' data and the profile itself.\n\n## Build from source\n\n```bash\ncurl --proto '=https' --tlsv1.2 -sSf https:\u002F\u002Fsh.rustup.rs | sh   # one-time Rust install\ngit clone https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep && cd macsweep\n.\u002Fscripts\u002Fsetup-signing.sh  # optional, once: keeps Full Disk Access across rebuilds\n.\u002Fbundle.sh                 # dist\u002FMacSweep.app for this Mac\nUNIVERSAL=1 .\u002Fbundle.sh     # Apple Silicon + Intel in one app\n```\n\n## Roadmap\n\n- [x] Duplicate file finder (v0.2)\n- [x] Menu-bar mini monitor (disk, RAM, CPU) (v0.3)\n- [x] Mac Health: battery, SSD and system health (v0.3)\n- [x] Browser Cleanup: AI models, website data and cache per browser and profile (v0.3)\n- [ ] Firefox and Safari in Browser Cleanup\n- [ ] Scheduled scans and reminders\n- [ ] Homebrew install (`brew install --cask macsweep`)\n- [ ] Notarized builds\n\nIdeas are welcome: [open a feature request](https:\u002F\u002Fgithub.com\u002Fnihal4\u002Fmacsweep\u002Fissues\u002Fnew?template=feature_request.md).\n\n## Contributing\n\nPull requests are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md). The one hard rule: **never widen what can be deleted without a test that proves user data stays safe.**\n\n## How it's built\n\n- [Rust](https:\u002F\u002Fwww.rust-lang.org) with [egui](https:\u002F\u002Fgithub.com\u002Femilk\u002Fegui) (OpenGL), with no web view inside\n- [`jwalk`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fjwalk) + [`rayon`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Frayon) for parallel scanning\n- [`trash`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ftrash) for Finder-compatible Trash, [`icns`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Ficns) for app icons, [`plist`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fplist) for app metadata\n- No bundled text fonts: San Francisco and the Mac's own fallback fonts are memory-mapped from disk; the icon font holds only the icons used\n- The menu bar monitor is a separate tiny native app (AppKit through [`objc2`](https:\u002F\u002Fcrates.io\u002Fcrates\u002Fobjc2)), so MacSweep itself doesn't stay open\n- Browser Cleanup reads Chrome's own indexes with a small read-only LevelDB reader, and website icons from the browser's icon database with the system SQLite\n\nReleases are built by GitHub Actions: push a tag such as `v0.3.0` and a universal `.app` is attached to a new release, with notes taken from [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE) © S. M. Nihal Ahmed. Icons by [Phosphor](https:\u002F\u002Fphosphoricons.com) (MIT).\n\nIf MacSweep saved you some space, please **⭐ star the repo**. It helps other people find it.\n",2,"2026-11-24 04:54:41","CREATED_QUERY"]