Back to all projects
No integration · Builder

ClearSpace: Local AI Disk Cleaner

Most system cleaners rely on static rules or cloud analysis. ClearSpace is a portfolio project, built with AI pair-programming, to test whether a local, privacy-first model can help run system-level desktop tasks safely. A local qwen2.5 3B model, run through Ollama, interprets what you ask for, so your folder paths and software inventory stay on your machine. The model does not decide what is safe to delete. Rule-based risk scoring does, files go to the Recycle Bin by default, and an audit log records every action.

macOS Universal Binary

ClearSpace for Mac

One unified installer built and tested for both Apple Silicon (M1, M2, M3, M4) and Intel Mac architectures. Includes ad-hoc signature integrity for Hardened Runtime compatibility.

  • Native Universal build (.dmg & .zip)
  • Local Ollama Llama 3B integration
  • Zero-risk targeted app process termination
Windows Standalone Installer

ClearSpace for Windows

Standalone executable setup designed for Windows 10 and 11. Scans Program Files, AppData, and Registry keys for residual orphaned files after uninstallation.

  • Winapp2 community cleaning rules built-in
  • Safe PowerShell Stop-Process isolation
  • Recycle Bin recovery guarantee
ClearSpace Application Screenshot

Engineering Architecture & AI Pair Programming

Built from scratch to prove that agentic AI can help architect enterprise-grade desktop software with native system integrations and privacy-first local AI.

100% Local LLM Privacy

Instead of sending sensitive directory structures and installed app inventories to cloud APIs, ClearSpace integrates directly with local Llama 3B models via Ollama. All parsing and residual categorization happens completely offline.

Hardened Process Safeguards

Features a multi-layered safety blocklist and precision process extraction. When cleaning application remnants, it executes case-insensitive executable matching without touching parent company folders or operating system services.

Modern Glassmorphism UI

Built with React, TypeScript, and Tailwind CSS over an Electron IPC bridge. Includes real-time disk reclamation analytics, interactive risk scoring, and dynamic platform adaptation for both macOS and Windows.

ClearSpace IPC Engine — scanForResiduals()
// 1. Enrich search terms with macOS Bundle IDs & display names
const terms = intent.searchTerms.filter(Boolean).filter((t) => !isDangerousTerm(t));
// 2. Scan ~/Library/Application Support & Caches with Hardened Runtime protection
await scanDir("~/Library/Application Support", terms, (item) => {
if (item.riskLevel === 'safe') emit(item);
});
// 3. Zero-risk process termination without matching parent directory names
await execFileAsync('/usr/bin/pkill', ['-i', appName]); // Case-insensitive binary match