Vole: Pure-Go macOS Disk Cleaner That Rechecks Everything Before It Deletes
A pure-Go GUI that renders its own UI on the GPU without a browser engine is a concrete alternative for developers weighing Electron or Tauri against native-language frameworks on the desktop. The deletion pipeline's dev/inode checks and TOCTOU guards show what a cleanup tool must do to earn trust on a live system.
Vole is an open-source macOS disk cleaner built from scratch in pure Go with the mygo framework's native UI mode, which draws the interface on the GPU without a webview or cgo. The packaged app is 22 MB, bundles two command-line tools from the Mole project, and offers treemap disk analysis, nine cleanup categories, app uninstallation, system status monitoring, and a menu bar panel.
Its cleanup engine ports Mole's community-verified rules but hardens them: scanning is read-only, deletion only happens for user-checked items, and each delete re-runs a scan, validates the path is inside the home directory and not behind a symlink, checks dev and inode still match, and skips if the app is running. Auto-rebuilt caches are deleted permanently; user content goes to the trash via renameatx_np with RENAME_EXCL to avoid overwrites. When uv, go, or npm are present, Vole calls their native cleanup commands. App uninstallation reads Info.plist and searches ~/Library by bundle id, defaulting to not touching personal data and asking running apps to quit first.
The author developed Vole with Claude Code despite not having a Go background, having AI read Mole's source to produce research documents while he made scope and safety decisions. The project is GPL-3.0, supports Apple Silicon Macs on macOS 12+, and is not yet notarized.
Reusing Mole's cleanup rules as subprocesses rather than reimplementing them from scratch keeps the deletion logic community-verified while the GUI handles user confirmation; Vole compiles Mole's binaries and talks to them over JSON.
The four pre-delete checks (re-scan, path validation, dev/inode comparison, app-running check) are a concrete response to TOCTOU races that most cleanup tools ignore, and that level of caution is appropriate for software touching user data.
A pure-Go immediate-mode GUI framework like mygo can produce a 22 MB app with no browser engine, a clear size advantage over webview-based alternatives, though it comes with a smaller ecosystem and fewer ready-made widgets.
The author's AI-assisted workflow, where Claude Code reads Mole's source to produce research docs and the human makes all scope and safety decisions, reflects a growing pattern: AI handles reimplementation and mechanical work while the developer owns direction and verification.
Is there a difference from BuhoCleaner?
Haven't used it. Mine is focused on lightweight design; the entire installer is only 18M.