Thanks for helping. sweepkit's value comes from being boring and trustworthy, so the bar for new cleaning targets is high.
A new target needs all of these:
- A real, measurable benefit. It must free disk space that stays freed long enough to matter. "Speeds up your PC" is not a benefit unless it can be measured and reproduced.
- A documented or well-established location. Link to the vendor's documentation or the tool's own clean command in the pull request.
- Safe defaults. Pick a
MinAgethat leaves files in active use alone. Anything that costs speed (browser, shader and developer caches) must be opt-in (Default: false) and explain the cost inCaveat. - Both languages. Every
Name,DescriptionandCaveatneeds English and Turkish text. - Tests when the target has any logic of its own (
Match,Select).
If a tool has its own clean command, prefer running it (Command) over
deleting its files yourself.
You need Go 1.26 or newer. The desktop app also needs
Wails v2 and, on Linux,
libgtk-3-dev and libwebkit2gtk-4.1-dev.
go test ./internal/... ./cmd/... # tests
go run ./cmd/sweepkit scan --all # try the CLI; scan changes nothing
wails dev # desktop app with live reload
wails build -tags webkit2_41 # desktop app build on LinuxThe front end is plain HTML, CSS and JavaScript in frontend/dist; there is
no build step. The icon is drawn by go run scripts/genicon/main.go.
- Update
CHANGELOG.md. - Tag and push:
git tag v0.2.0 && git push origin v0.2.0.
The release workflow builds everything, attests it and publishes the release.