kuizer 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +67 -45
- package/npm-shrinkwrap.json +2 -2
- package/package.json +7 -6
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The release workflow puts the section that matches the tagged version on the GitHub release.
|
|
4
|
+
|
|
5
|
+
## [0.1.3] - 2026-11-07
|
|
6
|
+
|
|
7
|
+
- GUI: settings in the sidebar footer and behind Ctrl+, with a light theme, a motion switch and sidebar options; one toolbar per section; Shift+1 to Shift+9 switch sections; Escape stops a scan and keeps the results found so far; tooltips anchor to their trigger.
|
|
8
|
+
- Documentation at kuizer.app/docs.
|
|
9
|
+
- Deletion is always permanent. Trash mode, the `delete.mode` key, `--permanent`, the TUI `t` toggle and the GUI undo bar are gone; `delete.confirm` now defaults to `true`. `kuizer restore` still brings back runs that older versions moved to the trash.
|
|
10
|
+
- A folder your user cannot remove, such as a `node_modules` installed with `sudo`, is refused before anything is touched, with the owner and how to remove it instead of a raw permission error.
|
|
11
|
+
|
|
12
|
+
## [0.1.2] - 2026-10-24
|
|
13
|
+
|
|
14
|
+
- Toolchain versions, Docker and Podman objects, and git repositories with their `git gc` gain and merged branches, in the CLI and the GUI.
|
|
15
|
+
- GUI: command palette and full keyboard control, right-click menu, undo after a trash run, space map with zoom, dashboard charts, custom window decorations on macOS and Linux, zoom with Ctrl and the scroll wheel, tooltips, scan progress, shift-select, a new palette and icon, and reopening with the previous scan.
|
|
16
|
+
- Faster scan with streaming results in the GUI; Docker queries run side by side.
|
|
17
|
+
- Ctrl+Q quits the GUI and the TUI.
|
|
18
|
+
- Releases publish to crates.io.
|
|
19
|
+
|
|
20
|
+
## [0.1.1] - 2026-10-17
|
|
21
|
+
|
|
22
|
+
- `--idle` for `scan` and `clean`.
|
|
23
|
+
- Detection rules for twelve more ecosystems.
|
|
24
|
+
- GUI start screen with folder choice and scan options.
|
|
25
|
+
- Releases built with cargo-dist: shell installers, an npm package and prebuilt binaries for Linux and macOS.
|
|
26
|
+
- CI builds and tests on macOS.
|
|
27
|
+
|
|
28
|
+
## [0.1.0] - 2026-10-16
|
|
29
|
+
|
|
30
|
+
First release: `scan`, `clean`, `cache`, `duplicates`, `history` and `restore`, the HTML report and dashboard, a terminal UI and a desktop app, with deletion to the trash and the safety checks.
|
package/README.md
CHANGED
|
@@ -1,29 +1,45 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="packaging/icons/512x512.png" width="88" alt="kuizer logo" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
<h1 align="center">kuizer</h1>
|
|
2
6
|
|
|
3
|
-
A
|
|
7
|
+
A disk cleanup tool for developers, written in Rust. It finds `node_modules`, Cargo `target` directories, build output, tool caches and duplicate files under your projects, and deletes the ones you select.
|
|
8
|
+
|
|
9
|
+
Website and documentation: [kuizer.app](https://kuizer.app), [kuizer.app/docs](https://kuizer.app/docs).
|
|
4
10
|
|
|
5
11
|
<p align="center">
|
|
12
|
+
<img src="https://shieldcn.dev/github/remcostoeten/kuizer/release.svg?font=jetbrains-mono" alt="release" />
|
|
13
|
+
<img src="https://shieldcn.dev/github/remcostoeten/kuizer/ci.svg?font=jetbrains-mono" alt="CI" />
|
|
14
|
+
<img src="https://shieldcn.dev/github/remcostoeten/kuizer/license.svg?font=jetbrains-mono" alt="license" />
|
|
15
|
+
<img src="https://shieldcn.dev/crates/kuizer.svg?font=jetbrains-mono" alt="crates.io" />
|
|
6
16
|
<img src="https://shieldcn.dev/badge/core-Rust-black.svg?font=jetbrains-mono&logo=rust" alt="core: Rust" />
|
|
7
|
-
<img src="https://shieldcn.dev/badge/UI-ratatui-black.svg?font=jetbrains-mono" alt="UI: ratatui" />
|
|
8
17
|
<img src="https://shieldcn.dev/badge/deletes%20to-trash-black.svg?font=jetbrains-mono" alt="deletes to: trash" />
|
|
9
18
|
<img src="https://shieldcn.dev/badge/platform-Linux%20%7C%20macOS-black.svg?font=jetbrains-mono" alt="platform: Linux and macOS" />
|
|
10
19
|
</p>
|
|
11
20
|
|
|
12
|
-
|
|
21
|
+
<p align="center">
|
|
22
|
+
<img src="docs/gui/overview.png" width="100%" alt="The kuizer desktop app after scanning ~/projects: totals for project artifacts, caches and duplicates, with the largest projects and caches listed" />
|
|
23
|
+
</p>
|
|
24
|
+
<p align="center">
|
|
25
|
+
<sub>The desktop app on Linux. The same scan runs in the terminal as <code>kuizer</code>.</sub>
|
|
26
|
+
</p>
|
|
27
|
+
|
|
28
|
+
kuizer walks your project folders and lists `node_modules`, `.next`, Cargo `target` directories and other generated folders with their sizes. Built-in rules cover JavaScript and its frameworks, Rust, Python, .NET, Maven, Gradle, Swift, CocoaPods, Dart and Flutter, Elixir, Zig, Haskell, CMake, Terraform and Unity; `kuizer rules` lists them. A scan on its own never deletes anything.
|
|
29
|
+
|
|
30
|
+
It ships as a terminal tool with an interactive list, and as a desktop app built on [GPUI](https://gpui.rs). Both run the same scan, the same checks and the same deletion, and share one config file and one history.
|
|
13
31
|
|
|
14
32
|
- **Each artifact is checked against its project.** A `dist` folder counts only next to a `package.json`, and a `target` folder only next to a `Cargo.toml` with Cargo's cache tag inside. Every result is marked `safe` or `review`.
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
- Every deletion is logged
|
|
20
|
-
- `kuizer scan --report` writes
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- `kuizer git` finds git repositories with many loose objects and local branches already merged into the default branch. It shows what `git gc` would free before it runs, then packs (`--gc`) or deletes the merged branches (`--branches`) after one confirmation. Neither goes through the trash; every deleted branch is printed with the `git branch NAME COMMIT` line that brings it back. Repositories in the middle of a rebase, merge or another git command are skipped.
|
|
26
|
-
- `kuizer duplicates` finds files with identical contents by size and BLAKE3 hash. It never deletes them: you choose which copy to keep.
|
|
33
|
+
- **Deletion goes to the trash and is checked twice.** Right before removal, kuizer confirms the item is the directory it scanned, not a symlink or mount point, inside a scanned root, and not your home or a system directory.
|
|
34
|
+
- **Profiles and secrets are never entered.** Chrome, Brave, Firefox, Edge and Electron apps such as Discord, Slack and VS Code, plus `~/.ssh`, `~/.gnupg`, the keyrings and global tool installs are skipped. Anything else in a hidden home folder is `review`, never `safe`.
|
|
35
|
+
- **Beyond project folders** it lists global caches (npm, pnpm, yarn, bun, cargo, pip, uv, Go, Gradle, Maven, Playwright and more), installed toolchain versions (rustup, nvm, fnm, volta, pyenv, uv, SDKMAN, Go), Docker and Podman leftovers, git repositories that `git gc` would shrink, and duplicate files by size and BLAKE3 hash.
|
|
36
|
+
- **Idle projects only, if you want.** `--idle 60d` keeps the dependencies of what you work on today; a project's activity is its newest source file or last commit, so a stray `npm install` does not count.
|
|
37
|
+
- **Every deletion is logged.** `kuizer history` lists past runs with ids like `s4`, and `kuizer restore s4` puts a run back from the trash without overwriting anything.
|
|
38
|
+
- **Reports stay on your machine.** `kuizer scan --report` writes one HTML file with a zoomable treemap, and `kuizer dashboard` one page with charts and drill-downs. Neither loads anything from the network.
|
|
39
|
+
|
|
40
|
+
Configuration lives in `~/.config/kuizer/config.toml`; every key is optional and [docs/config.example.toml](docs/config.example.toml) lists them all. A folder containing a `.kuizerignore` file is skipped with everything under it. kuizer was called sweep until October 2026 and still reads `.sweepignore` markers and `~/.sweep-history.json`. The design and module boundaries are in [docs/design.md](docs/design.md).
|
|
41
|
+
|
|
42
|
+
## Command line
|
|
27
43
|
|
|
28
44
|
```sh
|
|
29
45
|
kuizer # interactive list of the current directory
|
|
@@ -43,75 +59,81 @@ kuizer duplicates ~/Downloads --verify # duplicate files, compared byte by b
|
|
|
43
59
|
kuizer --json scan ~/projects # every command prints JSON with --json
|
|
44
60
|
```
|
|
45
61
|
|
|
46
|
-
|
|
62
|
+
Deletion is permanent: nothing goes to the trash. Every command shows what it will remove and asks first. A tool downloads a toolchain version again when needed, and a merged branch's commits stay in the default branch.
|
|
47
63
|
|
|
48
64
|
## Desktop app
|
|
49
65
|
|
|
50
|
-
`kuizer-gui`
|
|
66
|
+
`kuizer-gui` opens on a start screen. Type a folder, pick one with the system dialog, reopen one of the last eight, or scan your whole home folder. The same screen sets the scan options: which kinds of artifacts to list, the smallest item size, how deep to walk, and whether to measure global caches, toolchains and Docker, look for duplicates and stay on one file system. The scan streams results in as it runs, and Escape stops it and keeps what it found.
|
|
51
67
|
|
|
52
|
-
The
|
|
68
|
+
The sidebar lists the sections: Overview, Project artifacts, Global caches, Toolchains, Docker, Git repositories, Duplicates, History and Issues. Shift+1 to Shift+9 jump between them, and `m` opens the space map: the scanned folders and the global caches as tiles sized by what they hold. Enter or a click opens a folder and shows each item inside as its own tile; Backspace goes back.
|
|
69
|
+
|
|
70
|
+
<p align="center">
|
|
71
|
+
<img src="docs/gui/artifacts.png" width="100%" alt="The project artifacts list with several rows selected and the inline confirmation showing the item count and total size before they are deleted" />
|
|
72
|
+
</p>
|
|
53
73
|
|
|
54
|
-
|
|
74
|
+
In a list, `j`/`k` or the arrow keys move the cursor, Space selects a row, Shift-click selects a range, and `/` filters by path or name. Enter, Delete or `d` deletes the selection for good after an inline confirmation that shows the item count, total size and how many items are marked `review`. Right-click a row, or press the Menu key or Shift+F10, to reveal it in the file manager, copy its path, delete only that item, or exclude it from every later scan.
|
|
55
75
|
|
|
56
|
-
|
|
76
|
+
Ctrl+K (Cmd+K on macOS) opens a command palette with every action, section and recent folder, and `?` lists all shortcuts. Settings sit in the sidebar footer and behind Ctrl+, (Cmd+,): a dark or light theme, motion on or off, how the sidebar opens and whether the section keys show. They write to the same config file the CLI reads. Ctrl+B collapses the sidebar to a strip of icons. Tab and Shift+Tab move a focus ring through every button, toggle and sidebar item, Enter or Space presses it and Esc goes back to the list.
|
|
77
|
+
|
|
78
|
+
<p align="center">
|
|
79
|
+
<img src="docs/gui/light.png" width="100%" alt="The desktop app in the light theme with the settings panel open over the overview" />
|
|
80
|
+
</p>
|
|
57
81
|
|
|
58
82
|
```sh
|
|
59
83
|
kuizer-gui # open the start screen
|
|
60
|
-
|
|
84
|
+
kuizer-gui ~/projects # skip the start screen and scan this folder
|
|
61
85
|
```
|
|
62
86
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-

|
|
87
|
+
## Install
|
|
66
88
|
|
|
67
|
-
|
|
89
|
+
Prebuilt binaries for Linux and macOS, on x86_64 and ARM, are attached to every [GitHub release](https://github.com/remcostoeten/kuizer/releases), as plain archives with a SHA-256 checksum next to the installers below. The `kuizer-gui` archive includes a `.desktop` entry and an icon for Linux menus.
|
|
68
90
|
|
|
69
|
-
|
|
91
|
+
### Installer script
|
|
70
92
|
|
|
71
|
-
|
|
93
|
+
Downloads the right binary, checks it and puts it in `~/.cargo/bin`.
|
|
72
94
|
|
|
73
|
-
```
|
|
95
|
+
```bash
|
|
74
96
|
curl -LsSf https://github.com/remcostoeten/kuizer/releases/latest/download/kuizer-installer.sh | sh
|
|
97
|
+
curl -LsSf https://github.com/remcostoeten/kuizer/releases/latest/download/kuizer-gui-installer.sh | sh
|
|
75
98
|
```
|
|
76
99
|
|
|
77
|
-
|
|
100
|
+
### npm
|
|
78
101
|
|
|
79
|
-
```
|
|
80
|
-
npx kuizer # run without installing
|
|
102
|
+
```bash
|
|
103
|
+
npx kuizer # run the CLI without installing
|
|
81
104
|
npm install -g kuizer # or keep it installed
|
|
82
105
|
```
|
|
83
106
|
|
|
84
|
-
|
|
107
|
+
### cargo
|
|
85
108
|
|
|
86
|
-
```
|
|
87
|
-
|
|
109
|
+
```bash
|
|
110
|
+
cargo binstall kuizer # the prebuilt binary through cargo-binstall
|
|
111
|
+
cargo install kuizer # or build from crates.io
|
|
88
112
|
```
|
|
89
113
|
|
|
90
|
-
Each release also has plain archives with a SHA-256 checksum. The `kuizer-gui` archive includes a `.desktop` entry and an icon for Linux menus.
|
|
91
|
-
|
|
92
114
|
### From source
|
|
93
115
|
|
|
94
|
-
```
|
|
116
|
+
```bash
|
|
95
117
|
git clone https://github.com/remcostoeten/kuizer
|
|
96
118
|
cargo install --path kuizer
|
|
97
119
|
cargo install --path kuizer/crates/kuizer-gui
|
|
98
120
|
```
|
|
99
121
|
|
|
122
|
+
On Linux the desktop app needs the X11, Wayland, Vulkan and font development packages to build. On Arch: `libxkbcommon-x11 wayland vulkan-icd-loader fontconfig freetype2`. On Debian and Ubuntu: `libxkbcommon-x11-dev libwayland-dev libx11-xcb-dev libxcb1-dev libfontconfig-dev libfreetype-dev libvulkan-dev libasound2-dev`.
|
|
123
|
+
|
|
100
124
|
## Development
|
|
101
125
|
|
|
102
126
|
Requires Rust 1.88 or newer (edition 2024).
|
|
103
127
|
|
|
104
128
|
```sh
|
|
105
|
-
cargo test
|
|
106
|
-
cargo
|
|
107
|
-
cargo
|
|
108
|
-
cargo
|
|
109
|
-
cargo
|
|
110
|
-
dist plan # list what a release builds, see dist-workspace.toml
|
|
111
|
-
cargo run --release --example synth -- /tmp/kuizer-bench 200 100 # build a synthetic tree to scan
|
|
129
|
+
cargo test --workspace --all-targets -j 2 -- --test-threads=2 # unit and filesystem tests, in temp dirs only
|
|
130
|
+
cargo clippy --workspace --all-targets -- -D warnings # lint, as CI runs it
|
|
131
|
+
cargo fmt --all --check # formatting, as CI runs it
|
|
132
|
+
cargo deny check # advisories, licenses and duplicate crates
|
|
133
|
+
cargo run --release --example synth -- /tmp/kuizer-bench 200 100 # build a synthetic tree to scan
|
|
112
134
|
```
|
|
113
135
|
|
|
114
|
-
To release, bump `version` under `[workspace.package]` in `Cargo.toml`, commit, and push a matching tag such as `v0.1.
|
|
136
|
+
`./dev` is a keyboard menu for building, running and testing. To release, bump `version` under `[workspace.package]` in `Cargo.toml`, commit, and push a matching tag such as `v0.1.3`; the release workflow builds both binaries, packages them and publishes the GitHub release with the matching section of [CHANGELOG.md](CHANGELOG.md) as its notes. Contribution notes are in [CONTRIBUTING.md](.github/CONTRIBUTING.md) and the security policy in [SECURITY.md](.github/SECURITY.md).
|
|
115
137
|
|
|
116
138
|
<br/>
|
|
117
139
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"name": "kuizer",
|
|
22
|
-
"version": "0.1.
|
|
22
|
+
"version": "0.1.3"
|
|
23
23
|
},
|
|
24
24
|
"node_modules/detect-libc": {
|
|
25
25
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"requires": true,
|
|
51
|
-
"version": "0.1.
|
|
51
|
+
"version": "0.1.3"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/remcostoeten/kuizer/releases/download/v0.1.
|
|
3
|
+
"https://github.com/remcostoeten/kuizer/releases/download/v0.1.3"
|
|
4
4
|
],
|
|
5
5
|
"bin": {
|
|
6
6
|
"kuizer": "run-kuizer.js"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"detect-libc": "^2.1.2"
|
|
10
10
|
},
|
|
11
|
-
"description": "Keyboard-driven disk cleanup for developers:
|
|
11
|
+
"description": "Keyboard-driven disk cleanup for developers: finds node_modules, build output, tool caches and duplicate files, trashes only what you select",
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"prettier": "^3.9.6"
|
|
14
14
|
},
|
|
@@ -20,15 +20,16 @@
|
|
|
20
20
|
"major": 2,
|
|
21
21
|
"series": 35
|
|
22
22
|
},
|
|
23
|
-
"homepage": "https://
|
|
23
|
+
"homepage": "https://kuizer.app",
|
|
24
24
|
"keywords": [
|
|
25
25
|
"command-line-utilities",
|
|
26
26
|
"filesystem",
|
|
27
|
+
"development-tools",
|
|
27
28
|
"cleanup",
|
|
28
|
-
"disk",
|
|
29
|
+
"disk-usage",
|
|
29
30
|
"node-modules",
|
|
30
31
|
"cache",
|
|
31
|
-
"
|
|
32
|
+
"duplicates"
|
|
32
33
|
],
|
|
33
34
|
"license": "MIT",
|
|
34
35
|
"name": "kuizer",
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
"zipExt": ".tar.xz"
|
|
70
71
|
}
|
|
71
72
|
},
|
|
72
|
-
"version": "0.1.
|
|
73
|
+
"version": "0.1.3",
|
|
73
74
|
"volta": {
|
|
74
75
|
"node": "18.14.1",
|
|
75
76
|
"npm": "9.5.0"
|