Skip to content

Free, open-source macOS cleaner. CleanMyMac alternative with zero telemetry. Native SwiftUI, scheduled auto-cleaning, Xcode/Homebrew/system cache cleanup. MIT licensed.

cli: add Hugging Face download caches to clean ai, note the new dev entries

momenbasel72d2d56889f7
diff --git a/cli/README.md b/cli/README.md
index 7473c6a..dc514a0 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -107,7 +107,7 @@ Without `--force`, a noninteractive cleanup does not delete anything.
## What gets scanned
-Developer cleanup covers precise cache locations for Homebrew, npm, Yarn, pnpm, pip, Cargo, Go, CocoaPods, Maven, Gradle, Poetry, uv, Bun, Deno, mise, Flutter/Dart, NuGet, Swift Package Manager, editor caches, and supported Docker/OrbStack cache paths. It does not invoke a broad Docker prune operation.
+Developer cleanup covers precise cache locations for Homebrew, npm, Yarn, pnpm, pip, Cargo, Go, CocoaPods, Maven, Gradle, Poetry, uv, Bun, Deno, mise, Flutter/Dart, NuGet, Swift Package Manager, Puppeteer and Playwright browser downloads, node-gyp headers, Electron download caches, editor caches, and supported Docker/OrbStack cache paths. It does not invoke a broad Docker prune operation.
Project cleanup finds artifacts such as `node_modules`, `.next`, `.nuxt`, `.turbo`, `.svelte-kit`, `target`, `.build`, `DerivedData`, `Pods`, `.venv`, `__pycache__`, and test/tool caches. Source directories are not artifact targets. Review virtual environments and dependencies before removing them; recreating them may require downloads.
diff --git a/cli/Sources/puremac/Core/Catalog.swift b/cli/Sources/puremac/Core/Catalog.swift
index dba3bc6..bb4d8b7 100644
--- a/cli/Sources/puremac/Core/Catalog.swift
+++ b/cli/Sources/puremac/Core/Catalog.swift
@@ -72,6 +72,7 @@ enum Catalog {
Target(tool: "Ollama (logs/cache)", paths: [h(".ollama/logs"), h("Library/Caches/ollama"), h("Library/Caches/com.electron.ollama")]),
Target(tool: "LM Studio (logs)", paths: [h(".lmstudio/server-logs")]),
Target(tool: "Cursor (cache)", paths: [h("Library/Application Support/Cursor/Cache"), h("Library/Application Support/Cursor/CachedData"), h("Library/Application Support/Cursor/logs")]),
+ Target(tool: "Hugging Face (~/.cache/huggingface downloads, re-fetched on demand)", paths: [h(".cache/huggingface/hub"), h(".cache/huggingface/datasets"), h(".cache/huggingface/xet")], selectedByDefault: false),
]
}