Repository navigation
DevSweep 0.2.0
Windows users: the Windows downloads listed below were not built for this release. Get them from DevSweep 0.2.1, which is the same app.
DevSweep 0.2.0 makes deleting safer, reports sizes more accurately, and adds a keep list and a command line.
New
- Command line.
devsweep scananddevsweep cleanuse the same rules, checks and keep list as the window. Options include--older-than,--caches,--dry-run,--yesand--json. - Keep list. Bookmark a project to keep it out for good. Kept folders are refused at delete time, from the window and the command line.
- Export the list as CSV or JSON.
- The last scan is saved and shown again on start.
- More to find. 13 new folder rules, including
__pycache__, Unity, Unreal, Terraform, coverage and Nuxt.output, and 11 new caches, including Hugging Face, Poetry, Composer, Deno, ccache, sccache, pre-commit and Puppeteer. - Shift-click selects a range of rows.
Safer deletes
- "Unused" now means the project itself hasn't changed, judged by its files a few levels down and git's index. A project you edit every day keeps its
node_moduleseven if you installed it months ago. - DevSweep reads command lines to spot npm, pnpm and yarn running inside
node, Composer insidephp, and Gradle or Maven insidejava. Only commands that touch a cache lock it, so a running dev server no longer does. - Build folders are renamed before they are deleted, so a project never sees a half-deleted folder. The next scan finds anything left over.
- Running programs are checked again every few seconds during long deletes.
More accurate sizes
On Linux, a hard-linked file is counted once and files shared with folders outside are left out, so pnpm's node_modules show what deleting really frees.
Downloads
Windows 10 / 11
DevSweep_0.2.0_x64-setup.exe: installer for the current user.DevSweep_0.2.0_x64-portable.zip: just the exe. Unzip and run.
The builds are not code-signed, so SmartScreen may warn the first time. Click "More info", then "Run anyway".
Linux (x86_64)
DevSweep_0.2.0_amd64.deb: Debian, Ubuntu, Mint, Pop!_OS. Install withsudo apt install ./DevSweep_0.2.0_amd64.deb.DevSweep-0.2.0-1.x86_64.rpm: Fedora, RHEL, openSUSE. Install withsudo dnf install ./DevSweep-0.2.0-1.x86_64.rpm.DevSweep_0.2.0_amd64.AppImage: runs without installing. Runchmod +xon it, then start it.
The Linux builds need WebKitGTK 4.1 and run on distributions from 2022 onward.
Known limitations
- On Windows the command line runs from the GUI executable, so
cmdreturns to its prompt before the output finishes. Pipe it (devsweep scan | more) to wait. This path is not yet tested on Windows. - Files are deleted permanently. They don't go to the Recycle Bin or Trash.
What's Changed
- Refresh README with a hero and workflow diagram by @tajbinkhan in #3
- Safer deletes, real sizes, keep list and a command line by @tajbinkhan in #4
- Fix the UI test command on Node 22 by @tajbinkhan in #5
Full Changelog: v0.1.0...v0.2.0