DEV Community

Cover image for Building a 4MB Alternative to Bloated Disk Cleaners with Tauri v2 and Rust
Ashutosh Samanta
Ashutosh Samanta

Posted on

Building a 4MB Alternative to Bloated Disk Cleaners with Tauri v2 and Rust

Your PC isn't slow. Your developer environment is just lying to you.

I looked at my hard drive recently and realized I had nearly 40GB of dormant .gradle caches, forgotten node_modules, and orphaned Adobe Media caches taking up space.

When looking at standard PC cleanup tools to reclaim that space, I noticed a frustrating trend: they were either completely destructive (blindly wiping generic temp folders) or they were bloated 150MB+ Electron apps that ate up massive amounts of RAM just to clear text paths.

I wanted to see how minimal, fast, and safe I could make a desktop utility. So... I built my own.

Meet ZeroBin — a brutally efficient, insanely fast PC cleaner and cold-storage archiver that takes up exactly 3 Megabytes on your hard drive.

The Stack: Maximum Performance, Zero Bloat

To avoid the typical Electron bloat, I opted for a modern desktop stack:
🦀 Rust Backend: For a multi-threaded, non-blocking I/O scanning engine. Traversing millions of blocking file operations is an I/O heavy task; doing this asynchronously in Rust ensures the UI thread never chokes or freezes.
🚀Tauri v2: Instead of bundling an entire Chromium runtime (like Electron), Tauri links directly into the operating system's native webview. This is the secret to hitting that 3MB binary size.
⚛️React + Vite + TailwindCSS: For building a snappy, responsive, glassmorphic user experience. Utility tools don't have to look like Windows 95 apps!
📦7-Zip LZMA SDK Native Sidecar:Sometimes, you aren't ready to permanently delete a 10GB project folder, but you still need your disk space. I bundled native 7-Zip sidecars so users can "deep freeze" old directories into highly compressed .7z archives instead of wiping them.


The Core Features

🧠 Semantic Knowledge Base
ZeroBin doesn’t blindly delete random data. It reads modular, granular .json rule dictionaries that specifically hunt down junk from development stacks, creative apps, and gaming clients, while completely leaving your system-critical OS files alone.
🧊 Cold Storage Archival
If you have an old project that you might need someday, ZeroBin compresses it instantly with ultra-efficient LZMA2 compression to clear your primary drive workspace without risking permanent data loss.

🤖 The Secret Weapon: Co-Authoring with an AI Agent
An incredibly interesting part of this project was the development process itself. I solo-developed this entire application while pair-programming with Google DeepMind’s new autonomous agentic AI, Antigravity.

Instead of just treating AI as a glorified autocomplete tool, I used the agent as an architectural collaborator right inside my IDE. It proved to be a massive force multiplier:

What the Agent Handled Flawlessly: It knocked out the repetitive boilerplate for Tauri v2 async command handshakes, optimized parallel Rust file traversal layouts, and spent hours helping me debug tricky WiX and NSIS native installer generation scripts.

Where the Human Touch was Needed: Directing the high-level application flow, fine-tuning the Tailwind glassmorphic styling, and designing how the JSON knowledge schema interacts with custom user overrides.

Solo-developing a native desktop application from scratch has never felt this fast.

Open Source & Contributions Welcome!
ZeroBin is completely free, safe by design, and fully open source.

The app is only as smart as its cleaning rules. Because the Semantic Knowledge Base relies on open JSON schemas, anyone can contribute a rule. If there's a development tool or creative app cache you want ZeroBin to hunt down, opening a PR to add a dictionary rule takes less than two minutes!

💻 Try the Release / Live Download: zerobin.lovable.app

🔗 Check out the Repository & Star on GitHub: github.com/imashu-del/ZeroBin

I'd love to hear your thoughts on the architecture, the Tauri stack, or how you handle file cleanup in your own setups! What's currently eating up the most space on your machine? Let me know below!

Top comments (0)