CacheKat 🐈
A TUI to see which dev caches eat your disk — and reclaim space safely, risk-graded. Never touches your data.
Main view (left: cleanable items, select with space, run with c;
right: report-only facts, visible but untouchable — the layout itself
teaches the safety model) and the confirm gate (nothing cleans without
an explicit yes; each row states its plain-words consequence; dry-run d
rehearses with the disk untouched):
| Main view | Confirm gate |
|---|---|
Why
Every developer machine accumulates caches that nobody watches: pip wheels, npm tarballs, playwright browsers (old versions pile up per release), docker build cache, dangling images, stopped containers... A fresh scan answers the only question that matters: who is eating the disk, and what is actually safe to reclaim?
Safety model (the feature)
| Category | Behavior |
|---|---|
| True caches (pip, npm, playwright orphans, docker build cache) | Selectable — each row states its plain-words consequence before anything runs |
| Docker volumes (your data) | Report-only. Never cleaned. No flag unlocks this. |
| Docker stopped containers / retired images | Cleanable one by one. Containers: each row warns that docker rm deletes the container itself (recreate via docker run/compose up; volumes untouched). Images: dangling layers and extra versions of a repo are listed per image, each removed by its own docker rmi without -f — any image a container still references refuses removal on its own. |
| Docker Desktop WSL2 disk (vhdx) — maintenance | Selectable, deletes NOTHING: compacting returns the free space inside the vhdx to Windows. The confirm gate warns (admin rights / every WSL distro stops / minutes). Tool runs the stop + writes a self-elevating script; running the script — with its own UAC consent — is your click, not ours. |
| Anything the probe cannot judge | Honest report-only ("liveness unknown"), never a guess |
- Every scan is read-only; cleaning is an explicit, confirmed selection.
- Dry-run mode (
d): rehearse exactly what would happen — disk untouched. - Probes that fail surface as visible error rows, never swallowed.
Install
pipx install cachekat
Or from source: pipx install git+https://github.com/Aeluris/CacheKat.git
Use
cachekat tui # interactive: scan -> select -> confirm -> clean
cachekat scan # read-only report: who eats the disk
cachekat scan --json # machine-readable
cachekat vhdx # Windows: Docker Desktop disk size + compact command list
# every command accepts --lang auto|en|zh (auto follows the system language)
Docker rows need the docker daemon running — if the TUI shows
docker daemon unreachable, start Docker Desktop and press r to rescan.
How it works
scan (read-only) → risk-grade → select → confirm → clean
Every step funnels through explicit safety gates — probes crash into visible error rows, data lands in report-only, cleaning needs an explicit yes, and dry-run rehearses with the disk untouched:
See CHANGELOG.md for details, CONTRIBUTING.md to help, AGENTS.md for the engineering rulebook.
License
MIT — © 2026 Aeluris
Metadata
Release files for cachekat 0.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cachekat-0.6.5.tar.gz | 46.2 kB | Without provenance | Details for cachekat-0.6.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cachekat-0.6.5-py3-none-any.whl | Python 3 | none | any | Details for cachekat-0.6.5-py3-none-any.whl |
Total release size: 83.1 kB
Release files / cachekat-0.6.5.tar.gz
| Download URL | cachekat-0.6.5.tar.gz |
|---|---|
| Size | 46.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50837240c21d3b6f703d02e9394979dd3798eed88b18ed1d09b3d542f31a6a7c
|
|
BLAKE2b-256 checksum How to use checksums |
e8940a49dc83994a03e0127a6258c251d052c9503bb37dd5b16121b38cc72dd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / cachekat-0.6.5-py3-none-any.whl
| Download URL | cachekat-0.6.5-py3-none-any.whl |
|---|---|
| Size | 36.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f7e97e48e246608419ee16eeaa0d5f82e3ae334bebcb5b191a0f5f6d2c511b5
|
|
BLAKE2b-256 checksum How to use checksums |
ea9862b0a41106f94483b5e339cf96f3b97729ef6adeb02824707f5734070efc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for cachekat 0.6.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.