windowsweep
com.aoneahsan.windowsweep
Windows cleanup that names every path before it touches one. A read-only scan, a dry run that writes nothing of yours, protected folders no flag can reach, and personal files recycled only when you pick them. A command line run with npx, and a desktop app on the same engine.
At a glance
- Category
- other
- Status
- Live
- Started
- Sep 2026
- Last updated
- 35 minutes ago
Identifier
com.aoneahsan.windowsweepPreview
Take a look before you go
The still below is painted first, then the running site loads behind it โ so the dialog is never an empty rectangle waiting on a network round trip. Where a site allows framing the live app takes over; where it refuses, the still stays and says so. Nothing is requested until you press.
About
What this actually is
The usual bargain with a cleanup tool is that you approve a deletion you have not seen.
windowsweep turns that around. It reclaims the disk space that quietly disappears on a Windows machine: package and build caches, browser and app caches, Windows temp and update leftovers, and half-finished downloads. It names every path before it touches one.
Three commands, in order. The first two write nothing of yours.
windowsweep --scan is read-only. It measures every declared target and removes nothing, so you see sizes section by section before you have agreed to anything. A dry run comes next: every deletion helper short-circuits and every destructive external command is skipped. You see the paths a real run would remove and an estimate of the space it would free. It writes two files of its own, a log and a report, and none of yours. Only then does a real run remove anything.
There is a list of things it will not do, and it is not a list of adjectives.
Documents, Pictures, Music, Videos, Desktop and the other profile folders are refused unconditionally, with OneDrive, Dropbox, Google Drive and iCloud Drive beside them. Credentials and agent state such as .ssh, .gnupg, .aws and .kube are refused. Browser profiles are refused twice: once because the path is protected, and again because the folder name is not on the allowlist of cache folders the tool knows how to clear. No flag, profile or configuration file reaches any of them.
Every deletion also asserts that the path lies strictly inside the root its own section declared, so one section cannot reach into another by accident. The walker reads the reparse-point attribute before it descends, so a junction or symlink is removed as a link and its target is never entered.
The engine is thirty-three numbered sections, 0 to 32, and the numbers are a public contract: a section can be retired as a no-op that says so, but it is never renumbered.
It asks one question on the first run: are you a developer on this machine? A cleaner that clears every cache it finds makes the next install download all of it again. So, for a developer, caches used recently are kept, and the newest version of every versioned tool is never removed.
Personal files are a separate decision. A scanner offers large or old files in Downloads and folders you add, starts with nothing selected, and sends only the files you pick to the Recycle Bin, where Windows keeps the undo. Emptying the Recycle Bin and clearing event logs have no undo, and both need a deep-run flag.
The command line sends nothing over the network during cleanup, and its self-test fails the build if HTTP or socket code appears in the source. The desktop app runs the same PowerShell script and reimplements no cleanup logic. It adds a picture of what is about to happen: every reclaimable target as one tile, sized by bytes, with per-section progress as the targets go. The window and the website send usage analytics, and the site says so plainly; the command line does not.
windowsweep runs on Windows 10 (1809 and later) and Windows 11 with PowerShell 5.1, and it is MIT-licensed.
The package is small and has no dependencies: about 201 kB packed and 676 kB unpacked across 61 files. Node 14 or newer is needed only for the npx launcher; the engine itself runs on the Windows PowerShell 5.1 that ships with Windows, or on PowerShell 7.
Its documentation also says when to choose something else. windowsweep is not a set-and-forget cleaner that runs on its own, and it offers no undo for caches, because caches regenerate. It is not a security scanner, and it is not a registry cleaner: it removes registry entries only for programs that are already gone, and only the rows you pick. On Linux and macOS, its siblings linux-cleanup and macleanup do the same job.
The installer for the desktop app is not signed with a paid code-signing certificate, so SmartScreen warns on first run. Every release publishes a SHA-256 checksum and a minisign signature that the app's own updater checks, and the site states that neither of those is a code-signing certificate.
Built with
- PowerShell 5.1
- Node.js
- npm / npx
- Windows
- Tauri
- Rust
- React
- TypeScript
- Supabase
Key features
What it does, and what that costs to build
Each of these is a capability the stack genuinely provides. None of them is an outcome nobody measured โ there is no "cut onboarding by 40%" on this page, because no one measured onboarding.
- Read-only scan that measures every declared target
- Dry run that writes nothing of yours
- Thirty-three numbered sections with stable numbers
- Profile, cloud-sync, credential and browser-profile folders refused unconditionally
- Containment check: a path must lie inside its own section's root
- Junctions and symlinks removed as links, never followed
- Personal files recycled only when picked, starting from none selected
- Desktop app on the same engine, with a tile map of every target
Screenshots
5 slots, none of them filled in yet
These are designed frames, not pictures. Each one records what belongs in the slot and at what width; the capture itself is taken from the running app. Drawing a fake screenshot here would put an image on the site that no build has ever produced.
Timeline
Still being worked on
Sep 2026
Work started
The earliest month on record for windowsweep.
Nov 2026
Last change
Status is completed โ 35 minutes ago. Ongoing, so this row moves whenever something lands.
Questions
Common questions
The questions that actually arrive, answered in the first sentence.
- Can windowsweep delete my documents?
- No. Profile folders, cloud-sync folders, credentials and browser profiles are on the protected list, and no flag lifts the deletion gate's protected lists, declared roots or containment check.
- Does the scan or the dry run delete anything?
- No. --scan only measures, and a dry run writes nothing of yours; it writes its own log and report.
- Can I undo a cleanup?
- Partly. Files you pick go to the Recycle Bin, where Windows keeps the undo; caches are removed permanently but rebuild when their tool runs, and emptying the Recycle Bin or clearing event logs has no undo.
- Do I need administrator rights?
- Only for some sections. Without elevation those sections skip, and the rest run normally.
- Does it run on Linux or macOS?
- No. npm refuses to install windowsweep off Windows; linux-cleanup and macleanup are the tools for those systems.
- Is it a registry cleaner?
- No. It removes registry entries only for programs that are already uninstalled, and only the rows you pick; a removed key is exported to a .reg file first so it can be restored.
Keep looking
More tools and experiments
- NA
Native Update
com.aoneahsan.nativeupdate
Over-the-air updates for Capacitor apps โ bundle signing, staged rollout, and automatic rollback when a bundle fails to boot twice.
- ST
Strata Storage
com.aoneahsan.stratastorage
One storage API across localStorage, IndexedDB, cookies, the URL, native Keychain and Keystore, SQLite and the filesystem. Zero dependencies.
- CA
Capacitor Auth Manager
com.aoneahsan.capacitorauthmanager
Framework-agnostic TypeScript authentication library unifying 15 OAuth, passwordless, credential, and biometric sign-in flows behind one provider-less API.
