kuizer 0.1.1 → 0.1.2
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/README.md +12 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -20,6 +20,9 @@ kuizer walks your project folders and lists `node_modules`, `.next`, Cargo `targ
|
|
|
20
20
|
- `kuizer scan --report` writes a single HTML file with a zoomable treemap of every result, grouped by project, category or rule, and opens it in your browser. The file loads nothing from the network.
|
|
21
21
|
- `kuizer dashboard` writes one HTML page with tabs for an overview with insights, project artifacts, a folder drill-down, global caches, duplicates and the deletion history with charts per week or month. Like the report, it loads nothing from the network.
|
|
22
22
|
- `kuizer cache` lists global caches for npm, pnpm, yarn, bun, deno, cargo, pip, uv, Go, Gradle, Maven, Playwright and others.
|
|
23
|
+
- `kuizer toolchain` lists installed rustup toolchains, nvm, fnm and volta Node versions, pyenv and uv Python versions, SDKMAN candidates and Go SDKs in `~/sdk`, with their size. A tool's default version and any version a project pins (`rust-toolchain.toml`, `.nvmrc`, `.node-version`, `.python-version`, `.sdkmanrc`, `.tool-versions`, the `toolchain` line in `go.mod`, the `volta` key in `package.json`) is marked `review`. `--clean` removes the selected versions for good, not to the trash: rustup and uv versions through `rustup toolchain uninstall` and `uv python uninstall`, the others by deleting the version folder.
|
|
24
|
+
- `kuizer docker` lists dangling images, stopped containers, the build cache and orphaned volumes of Docker and Podman, with the sizes the engine reports. Containers that stopped in the last 24 hours and every volume are marked `review`. `--clean` removes the selected objects through the engine itself (`image rm`, `container rm`, `builder prune`, `volume rm`), never by touching its data folder, and always for good. A stopped daemon is reported as one issue, not an error.
|
|
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.
|
|
23
26
|
- `kuizer duplicates` finds files with identical contents by size and BLAKE3 hash. It never deletes them: you choose which copy to keep.
|
|
24
27
|
|
|
25
28
|
```sh
|
|
@@ -32,6 +35,9 @@ kuizer clean ~/projects --dry-run # show what clean would remove
|
|
|
32
35
|
kuizer clean ~/projects --idle 3mo # remove safe items of projects untouched for three months
|
|
33
36
|
kuizer clean ~/projects --select all # remove safe and review items, after a confirmation
|
|
34
37
|
kuizer cache --clean --select npm # remove the npm cache
|
|
38
|
+
kuizer toolchain ~/projects --clean # remove toolchain versions no project pins
|
|
39
|
+
kuizer docker --clean # remove dangling images, stopped containers and build cache
|
|
40
|
+
kuizer git ~/apps --gc --branches # pack loose objects, delete merged branches
|
|
35
41
|
kuizer restore --last # put the last run back from the trash
|
|
36
42
|
kuizer duplicates ~/Downloads --verify # duplicate files, compared byte by byte
|
|
37
43
|
kuizer --json scan ~/projects # every command prints JSON with --json
|
|
@@ -41,9 +47,13 @@ Configuration lives in `~/.config/kuizer/config.toml`; every key is optional. A
|
|
|
41
47
|
|
|
42
48
|
## Desktop app
|
|
43
49
|
|
|
44
|
-
`kuizer-gui` is a desktop window for the same scan, built on [GPUI](https://gpui.rs), the framework Zed is built on. It shows the dashboard's overview, project artifacts, global caches, duplicates, history and scan issues, and moves the items you select to the trash with the same checks as `kuizer clean`: a plain confirmation when everything is `safe`, and typing the item count when any item is `review`. Each cleanup lands in the history, so `kuizer history` and `kuizer restore` work on it.
|
|
50
|
+
`kuizer-gui` is a desktop window for the same scan, built on [GPUI](https://gpui.rs), the framework Zed is built on. It shows the dashboard's overview, project artifacts, global caches, toolchains, Docker objects, git repositories, duplicates, history and scan issues, and moves the items you select to the trash with the same checks as `kuizer clean`: a plain confirmation when everything is `safe`, and typing the item count when any item is `review`. Each cleanup lands in the history, so `kuizer history` and `kuizer restore` work on it. Right after a cleanup a bar offers Undo (Ctrl+Z) for about ten seconds, and the History section has a Restore button for every run that is still in the trash; both use the same restore as `kuizer restore` and never overwrite a path that is taken again. Right-click an item, or press the Menu key or Shift+F10, to reveal it in the file manager, copy its path, select it, move only that item to the trash, or exclude it from every later scan, which adds it to `scan.exclude` in the config file. Everything works from the keyboard: Ctrl+K (Cmd+K on macOS) opens a command palette with every action, section and recent folder, and `?` lists all shortcuts. In a list, j/k or the arrow keys move a cursor row, Space selects it, Enter or Delete moves the selection (or the cursor item) to the trash, `o` reveals it, `y` copies its path, `/` filters the list by path or name, and 1 to 9 switch sections. Ctrl+B (Cmd+B) collapses the sidebar to a strip of icons; `appearance.sidebar` in the config picks how it opens. The only things it deletes permanently are toolchain versions, Docker or Podman objects and merged git branches: the confirmation says so, they skip the trash and the Undo bar does not offer them. A tool downloads a toolchain version again when it is needed; a removed image or volume is gone; a merged branch's commits stay in the default branch.
|
|
45
51
|
|
|
46
|
-
|
|
52
|
+
The Git repositories section lists every repository under the scanned folders where `git gc` would free at least `git.min_gain`, with the expected gain up front, and the local branches already merged into its default branch. Run git gc packs one repository with one click (`c`, or Shift+C for all of them); it only packs what git would pack on its own, so it asks nothing. Deleting merged branches (`b` or Shift+B) asks first. Repositories in the middle of a rebase, merge or another git command are skipped.
|
|
53
|
+
|
|
54
|
+
The Overview also has a space map (press `m` from any section): every reclaimable item as a tile sized by the space it takes, inside the folders that hold it, with the global caches as a group of their own. Click a folder tile or press Enter to zoom in, and use the breadcrumb, Backspace or Escape to zoom out. The arrow keys move between tiles, Space or Ctrl+click selects an item (the same selection as the lists), and right-click opens the item menu. Hover a tile for its full path, size and category.
|
|
55
|
+
|
|
56
|
+
It opens on a start screen. Type a folder, pick one with the system folder dialog, reopen one of the last eight folders or choose a full scan of your 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, search for duplicate files and stay on one file system. The scan shows its progress and Escape cancels it. New scan in the title bar goes back to the start screen.
|
|
47
57
|
|
|
48
58
|
```sh
|
|
49
59
|
kuizer-gui # open the start screen
|
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.2"
|
|
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.2"
|
|
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.2"
|
|
4
4
|
],
|
|
5
5
|
"bin": {
|
|
6
6
|
"kuizer": "run-kuizer.js"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"zipExt": ".tar.xz"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
"version": "0.1.
|
|
72
|
+
"version": "0.1.2",
|
|
73
73
|
"volta": {
|
|
74
74
|
"node": "18.14.1",
|
|
75
75
|
"npm": "9.5.0"
|