[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-707":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":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":41,"readmeContent":42,"aiSummary":43,"trendingCount":16,"starSnapshotCount":16,"syncStatus":44,"lastSyncTime":45,"discoverSource":46},707,"Mole","tw93\u002FMole","tw93","🐹 Clean, uninstall, analyze, optimize, and monitor your Mac from the terminal.","https:\u002F\u002Fx.com\u002FHiTw93\u002Fstatus\u002F2048546667071431063",null,"Shell",55605,1924,131,12,0,144,864,4695,733,44.85,"MIT License",false,"main",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"analyzer","appcleaner","clean","cleaner","cleaner-cli","cleaner-script","command-line","daisydisk","istat","mac","macos","optimize","sensei","shell","uninstall","2026-06-12 02:00:17","\u003Cdiv align=\"center\">\n  \u003Ch1>Mole\u003C\u002Fh1>\n  \u003Cp>\u003Cem>Deep clean and optimize your Mac.\u003C\u002Fem>\u003C\u002Fp>\n\u003C\u002Fdiv>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftw93\u002Fmole\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Ftw93\u002Fmole?style=flat-square\" alt=\"Stars\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftw93\u002Fmole\u002Freleases\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Ftag\u002Ftw93\u002Fmole?label=version&style=flat-square\" alt=\"Version\">\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg?style=flat-square\" alt=\"License\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftw93\u002Fmole\u002Fcommits\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcommit-activity\u002Fm\u002Ftw93\u002Fmole?style=flat-square\" alt=\"Commits\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002FHiTw93\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ffollow-Tw93-red?style=flat-square&logo=Twitter\" alt=\"Twitter\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Ft.me\u002F+GclQS9ZnxyI2ODQ1\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fchat-Telegram-blueviolet?style=flat-square&logo=Telegram\" alt=\"Telegram\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fgw.alipayobjects.com\u002Fzos\u002Fk\u002Fro\u002FZzF8e8.png\" alt=\"Mole - 95.50GB freed\" width=\"1000\" \u002F>\n\u003C\u002Fp>\n\n## Features\n\n- **All-in-one toolkit**: Combines CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus in a **single binary**\n- **Deep cleaning**: Removes caches, logs, browser leftovers, and orphaned app data to **reclaim gigabytes of space**\n- **Smart uninstaller**: Removes apps plus launch agents, preferences, and **hidden remnants**\n- **Disk insights**: Visualizes usage, finds large files, **rebuilds caches**, and refreshes system services\n- **Live monitoring**: Shows real-time CPU, GPU, memory, disk, and network stats\n\n## Quick Start\n\n**Install via Homebrew**\n\n```bash\nbrew install mole\n```\n\n**Or via script**\n\n```bash\n# Optional args: -s latest for main branch code, -s 1.17.0 for specific version\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Ftw93\u002Fmole\u002Fmain\u002Finstall.sh | bash\n```\n\n> Note: Mole is built for macOS. An experimental Windows version is available in the [windows branch](https:\u002F\u002Fgithub.com\u002Ftw93\u002FMole\u002Ftree\u002Fwindows) for early adopters.\n\n**Run**\n\n```bash\nmo                           # Interactive menu\nmo clean                     # Deep cleanup + already-uninstalled app leftovers\nmo uninstall                 # Remove installed apps + their leftovers\nmo optimize                  # Refresh caches & services\nmo analyze                   # Visual disk explorer (or 'mo analyse')\nmo status                    # Live system health dashboard\nmo check                     # Run system diagnostics (alias: mo doctor)\nmo purge                     # Clean project build artifacts\nmo installer                 # Find and remove installer files\n\nmo touchid                   # Configure Touch ID for sudo\nmo completion                # Set up shell tab completion\nmo update                    # Update Mole\nmo update --nightly          # Update to latest unreleased main build, script install only\nmo remove                    # Remove Mole from system\nmo --help                    # Show help\nmo --version                 # Show installed version\n```\n\n**Preview safely**\n\n```bash\nmo clean --dry-run\nmo uninstall --dry-run\nmo purge --dry-run\n\n# Also works with: optimize, installer, remove, completion, touchid enable\nmo clean --dry-run --debug   # Preview + detailed logs\nmo optimize --whitelist      # Manage protected optimization rules\nmo clean --whitelist         # Manage protected caches\nmo purge --paths             # Configure project scan directories\nmo analyze \u002FVolumes          # Analyze external drives only\n```\n\n## Security & Safety Design\n\nMole is a local system maintenance tool, and some commands can perform destructive local operations.\n\nMole uses safety-first defaults: path validation, protected-directory rules, conservative cleanup boundaries, and explicit confirmation for higher-risk actions. When risk or uncertainty is high, Mole skips, refuses, or requires stronger confirmation rather than broadening deletion scope.\n\n`mo analyze` is safer for ad hoc cleanup because it moves files to Trash through Finder instead of deleting them directly.\n\nReview [SECURITY.md](SECURITY.md) and [SECURITY_AUDIT.md](SECURITY_AUDIT.md) for reporting guidance, safety boundaries, and current limitations.\n\n## Tips\n\n- Video tutorial: Watch the [Mole tutorial video](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=UEe9-w4CcQ0), thanks to PAPAYA 電腦教室.\n- Safety and logs: `clean`, `uninstall`, `purge`, `installer`, and `remove` are destructive. Review with `--dry-run` first, and add `--debug` when needed. File operations are logged to `~\u002FLibrary\u002FLogs\u002Fmole\u002Foperations.log`. Disable with `MO_NO_OPLOG=1`. Review [SECURITY.md](SECURITY.md) and [SECURITY_AUDIT.md](SECURITY_AUDIT.md).\n- App leftovers: use `mo clean` when the app is already uninstalled, and `mo uninstall` when the app is still installed.\n- Navigation: Mole supports arrow keys and Vim bindings `h\u002Fj\u002Fk\u002Fl`.\n\n## Features in Detail\n\n### Deep System Cleanup\n\n```bash\n$ mo clean\n\nScanning cache directories...\n\n  ✓ User app cache                                           45.2GB\n  ✓ Browser cache (Chrome, Safari, Firefox)                  10.5GB\n  ✓ Developer tools (Xcode, Node.js, npm)                    23.3GB\n  ✓ System logs and temp files                                3.8GB\n  ✓ App-specific cache (Spotify, Dropbox, Slack)              8.4GB\n  ✓ Trash                                                    12.3GB\n\n====================================================================\nSpace freed: 95.5GB | Free space now: 223.5GB\n====================================================================\n```\n\nNote: In `mo clean` -> Developer tools, Mole removes unused CoreSimulator `Volumes\u002FCryptex` entries and skips `IN_USE` items.\n\n### Smart App Uninstaller\n\n```bash\n$ mo uninstall\n\nSelect Apps to Remove\n═══════════════════════════\n▶ ☑ Photoshop 2024            (4.2G) | Old\n  ☐ IntelliJ IDEA             (2.8G) | Recent\n  ☐ Premiere Pro              (3.4G) | Recent\n\nUninstalling: Photoshop 2024\n\n  ✓ Removed application\n  ✓ Cleaned 52 related files across 12 locations\n    - Application Support, Caches, Preferences\n    - Logs, WebKit storage, Cookies\n    - Extensions, Plugins, Launch daemons\n\nNote: On macOS 15 and later, Local Network permission entries can outlive app removal. Mole warns when an uninstalled app declares Local Network usage, but it does not auto-reset `\u002FVolumes\u002FData\u002FLibrary\u002FPreferences\u002Fcom.apple.networkextension*.plist` because that reset is global and requires Recovery mode.\n\n====================================================================\nSpace freed: 12.8GB\n====================================================================\n```\n\n### System Optimization\n\n```bash\n$ mo optimize\n\nSystem: 5\u002F32 GB RAM | 333\u002F460 GB Disk (72%) | Uptime 6d\n\n  ✓ Rebuild system databases and clear caches\n  ✓ Reset network services\n  ✓ Refresh Finder and Dock\n  ✓ Clean diagnostic and crash logs\n  ✓ Remove swap files and restart dynamic pager\n  ✓ Rebuild launch services and spotlight index\n\n====================================================================\nSystem optimization completed\n====================================================================\n\nUse `mo optimize --whitelist` to exclude specific optimizations.\n```\n\n### Disk Space Analyzer\n\n> Note: By default, Mole skips external drives under `\u002FVolumes` for faster startup. To inspect them, run `mo analyze \u002FVolumes` or a specific mount path.\n\n```bash\n$ mo analyze\n\nAnalyze Disk  ~\u002FDocuments  |  Total: 156.8GB\n\n ▶  1. ███████████████████  48.2%  |  📁 Library                     75.4GB  >6mo\n    2. ██████████░░░░░░░░░  22.1%  |  📁 Downloads                   34.6GB\n    3. ████░░░░░░░░░░░░░░░  14.3%  |  📁 Movies                      22.4GB\n    4. ███░░░░░░░░░░░░░░░░  10.8%  |  📁 Documents                   16.9GB\n    5. ██░░░░░░░░░░░░░░░░░   5.2%  |  📄 backup_2023.zip              8.2GB\n\n  ↑↓←→ Navigate  |  O Open  |  F Show  |  ⌫ Delete  |  L Large files  |  Q Quit\n```\n\n### Live System Status\n\nReal-time dashboard with health score, hardware info, and performance metrics.\n\n```bash\n$ mo status\n\nMole Status  Health ● 92  MacBook Pro · M4 Pro · 32GB · macOS 14.5\n\n⚙ CPU                                    ▦ Memory\nTotal   ████████████░░░░░░░  45.2%       Used    ███████████░░░░░░░  58.4%\nLoad    0.82 \u002F 1.05 \u002F 1.23 (8 cores)     Total   14.2 \u002F 24.0 GB\nCore 1  ███████████████░░░░  78.3%       Free    ████████░░░░░░░░░░  41.6%\nCore 2  ████████████░░░░░░░  62.1%       Avail   9.8 GB\n\n▤ Disk                                   ⚡ Power\nUsed    █████████████░░░░░░  67.2%       Level   ██████████████████  100%\nFree    156.3 GB                         Status  Charged\nRead    ▮▯▯▯▯  2.1 MB\u002Fs                  Health  Normal · 423 cycles\nWrite   ▮▮▮▯▯  18.3 MB\u002Fs                 Temp    58°C · 1200 RPM\n\n⇅ Network                                ▶ Processes\nDown    ▁▁█▂▁▁▁▁▁▁▁▁▇▆▅▂  0.54 MB\u002Fs      Code       ▮▮▮▮▯  42.1%\nUp      ▄▄▄▃▃▃▄▆▆▇█▁▁▁▁▁  0.02 MB\u002Fs      Chrome     ▮▮▮▯▯  28.3%\nProxy   HTTP · 192.168.1.100             Terminal   ▮▯▯▯▯  12.5%\n```\n\nHealth score is based on CPU, memory, disk, temperature, and I\u002FO load, with color-coded ranges.\n\nShortcuts: In `mo status`, press `k` to toggle the cat and save the preference, and `q` to quit.\n\nWhen enabled, `mo status` shows a read-only alert banner for processes that stay above the configured CPU threshold for a sustained window. Use `--proc-cpu-threshold`, `--proc-cpu-window`, or `--proc-cpu-alerts=false` to tune or disable it.\n\n#### Machine-Readable Output\n\nBoth `mo analyze` and `mo status` support a `--json` flag for scripting and automation.\n\n`mo status` also auto-detects when its output is piped (not a terminal) and switches to JSON automatically.\n\n```bash\n# Disk analysis as JSON\n$ mo analyze --json ~\u002FDocuments\n{\n  \"path\": \"\u002FUsers\u002Fyou\u002FDocuments\",\n  \"overview\": false,\n  \"entries\": [\n    { \"name\": \"Library\", \"path\": \"...\", \"size\": 80939438080, \"is_dir\": true },\n    ...\n  ],\n  \"large_files\": [\n    { \"name\": \"backup.zip\", \"path\": \"...\", \"size\": 8796093022 }\n  ],\n  \"total_size\": 168393441280,\n  \"total_files\": 42187\n}\n\n# System status as JSON\n$ mo status --json\n{\n  \"host\": \"MacBook-Pro\",\n  \"health_score\": 92,\n  \"cpu\": { \"usage\": 45.2, \"logical_cpu\": 8, ... },\n  \"memory\": { \"total\": 25769803776, \"used\": 15049334784, \"used_percent\": 58.4 },\n  \"disks\": [ ... ],\n  \"uptime\": \"3d 12h 45m\",\n  ...\n}\n\n# Auto-detected JSON when piped\n$ mo status | jq '.health_score'\n92\n```\n\n### Project Artifact Purge\n\nClean old build artifacts such as `node_modules`, `target`, `.build`, `build`, and `dist` to free up disk space.\n\n```bash\nmo purge\n\nSelect Categories to Clean - 18.5GB (8 selected)\n\n➤ ● my-react-app       3.2GB | node_modules\n  ● old-project        2.8GB | node_modules\n  ● rust-app           4.1GB | target\n  ● next-blog          1.9GB | node_modules\n  ○ current-work       856MB | node_modules  | Recent\n  ● django-api         2.3GB | venv\n  ● vue-dashboard      1.7GB | node_modules\n  ● backend-service    2.5GB | node_modules\n```\n\n> Note: We recommend installing `fd` on macOS.\n> `brew install fd`\n\n> Safety: This permanently deletes selected artifacts. Review carefully before confirming. Projects newer than 7 days are marked and unselected by default.\n\n\u003Cdetails>\n\u003Csummary>\u003Cstrong>Custom Scan Paths\u003C\u002Fstrong>\u003C\u002Fsummary>\n\nRun `mo purge --paths` to configure scan directories, or edit `~\u002F.config\u002Fmole\u002Fpurge_paths` directly:\n\n```shell\n~\u002FDocuments\u002FMyProjects\n~\u002FWork\u002FClientA\n~\u002FWork\u002FClientB\n```\n\nWhen custom paths are configured, Mole scans only those directories. Otherwise, it uses defaults like `~\u002FProjects`, `~\u002FGitHub`, and `~\u002Fdev`.\n\n\u003C\u002Fdetails>\n\n### Installer Cleanup\n\nFind and remove large installer files across Downloads, Desktop, Homebrew caches, iCloud, and Mail. Each file is labeled by source.\n\n```bash\nmo installer\n\nSelect Installers to Remove - 3.8GB (5 selected)\n\n➤ ● Photoshop_2024.dmg     1.2GB | Downloads\n  ● IntelliJ_IDEA.dmg       850.6MB | Downloads\n  ● Illustrator_Setup.pkg   920.4MB | Downloads\n  ● PyCharm_Pro.dmg         640.5MB | Homebrew\n  ● Acrobat_Reader.dmg      220.4MB | Downloads\n  ○ AppCode_Legacy.zip      410.6MB | Downloads\n```\n\n## Quick Launchers\n\nLaunch Mole commands from Raycast or Alfred:\n\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Ftw93\u002FMole\u002Fmain\u002Fscripts\u002Fsetup-quick-launchers.sh | bash\n```\n\nAdds 5 commands: `Mole Clean`, `Mole Uninstall`, `Mole Optimize`, `Mole Analyze`, `Mole Status`.\n\n### Raycast Setup\n\nAfter running the script, complete these steps in Raycast:\n\n1. Open Raycast Settings (⌘ + ,)\n2. Go to **Extensions** → **Script Commands**\n3. Click **\"Add Script Directory\"** (or **\"+\"**)\n4. Add path: `~\u002FLibrary\u002FApplication Support\u002FRaycast\u002Fscript-commands`\n5. Search in Raycast for: **\"Reload Script Directories\"** and run it\n6. Done! Search for `Mole Clean` or `clean`, `Mole Optimize`, or `Mole Status` to use the commands\n\n> **Note**: The script creates the commands, but Raycast still requires a one-time manual script directory setup.\n\n### Terminal Detection\n\nMole auto-detects your terminal app. iTerm2 has known compatibility issues. We highly recommend [Kaku](https:\u002F\u002Fgithub.com\u002Ftw93\u002FKaku). Other good options are Alacritty, kitty, WezTerm, Ghostty, and Warp. To override, set `MO_LAUNCHER_APP=\u003Cname>`.\n\n## Community Love\n\nThanks to everyone who helped build Mole. Go follow them. ❤️\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Ftw93\u002FMole\u002Fgraphs\u002Fcontributors\">\n  \u003Cimg src=\".\u002FCONTRIBUTORS.svg?v=2\" width=\"1000\" \u002F>\n\u003C\u002Fa>\n\n\u003Cbr\u002F>\u003Cbr\u002F>\nReal feedback from users who shared Mole on X.\n\n\u003Cimg src=\"https:\u002F\u002Fgw.alipayobjects.com\u002Fzos\u002Fk\u002Fdl\u002Flovemole.jpeg\" alt=\"Community feedback on Mole\" width=\"1000\" \u002F>\n\n## Support\n\n- If Mole helped you, [share it](https:\u002F\u002Ftwitter.com\u002Fintent\u002Ftweet?url=https:\u002F\u002Fgithub.com\u002Ftw93\u002FMole&text=Mole%20-%20Deep%20clean%20and%20optimize%20your%20Mac.) with friends or give it a star.\n- Got ideas or bugs? Open an issue or PR, feel free to contribute your best AI model.\n- I have two cats, TangYuan and Coke. If you think Mole delights your life, you can feed them \u003Ca href=\"https:\u002F\u002Fcats.tw93.fun?name=Mole\" target=\"_blank\">canned food 🥩\u003C\u002Fa>.\n\n\u003Ca href=\"https:\u002F\u002Fcats.tw93.fun?name=Mole\">\u003Cimg src=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002Ftw93\u002Fsponsors@main\u002Fassets\u002Fsponsors.svg\" width=\"1000\" loading=\"lazy\" \u002F>\u003C\u002Fa>\n\n## License\n\nMIT License. Feel free to use Mole and contribute.\n","Mole 是一个用于深度清理和优化 Mac 的工具。它集成了 CleanMyMac、AppCleaner、DaisyDisk 和 iStat Menus 的功能于单一程序中，能够通过移除缓存、日志文件、浏览器残留物及已卸载应用的遗留数据来释放大量磁盘空间。此外，Mole 还具备智能卸载器功能，可以彻底删除应用程序及其相关联的服务和偏好设置，并提供实时系统监控和磁盘使用情况分析。适用于需要定期清理系统垃圾、提高 Mac 性能或希望了解设备运行状态的用户。",2,"2026-06-11 02:38:48","top_all"]