Track why you installed every tool on your machine.
Project description
whydatApp (why?)
Ever install something, then months later wonder why it's on your machine?
why? catches every package manager install (brew, npm, pip, cargo, apt, …) right as it happens via a lightweight shell hook, then prompts you to jot down what the tool is for, which project needed it, whether it's worth keeping, and what to do with it later. Everything stays in a local SQLite database — nothing is sent anywhere. Browse, search, filter, and export your install history through a built-in web UI, or right from the terminal.
What you can answer with why?:
- What do I have installed? — Full inventory across all package managers in one place
- Why did I install this? — Context captured at install time, while you remember
- Which project needed it? — Auto-inferred from your working directory
- Is this still useful? — Mark tools as experimental, for removal, or permanent docs
- What's taking up space? — See resolved install paths and identify candidates to uninstall
- Did I ever install X? — Search by name, command, or description — find it instantly
- What should I clean up? — Review queue surfaces incomplete entries and stale experimental installs
- How do I set up this project elsewhere? — Export your setup dependencies to Markdown or JSON
- Which managers do I use most? — Dashboard shows install trends by manager, project, and month
Install
From PyPI (recommended):
uv tool install 'why-cli[web]' # or: pipx install 'why-cli[web]'
why init # interactive setup; edits your shell rc
From source (for development or pre-release):
git clone https://github.com/Nostoi/whydatapp.git
cd whydatapp
uv tool install --editable '.[web]'
why init
Restart your shell, then try brew install ripgrep (or any tracked manager).
Full install instructions, including building from a wheel: Install guide.
Quick reference
| Command | What it does |
|---|---|
why init |
Interactive first-run setup |
why |
Show help and the available subcommands |
why log -- <cmd> |
Manually log an install |
why review |
Drain the skipped/incomplete review queue |
why list |
Print installs as a table |
why export |
Export to Markdown or JSON |
why serve |
Open the local web UI at 127.0.0.1:7873 |
why uninstall |
Remove the hook (and optionally the data) |
Detailed usage with examples: Usage guide.
Documentation
- Install — Requirements, install paths (PyPI / source / wheel), what
why initdoes, uninstall. - Usage — Every CLI subcommand with examples.
- Web UI — Walkthrough of the local web interface.
- Configuration —
~/.why/*.tomlfiles, env vars, ignore rules. - Troubleshooting — Hook not firing, prompt missed, address-in-use, restoring data, filing bugs.
- Development — Clone, set up, run tests, build the wheel, project layout, contribute.
- Design spec — Architecture, data model, decisions, post-MVP roadmap.
Privacy
- All data lives in
~/.why/data.db. No network calls. - The web UI binds to
127.0.0.1only. - All static assets vendored locally — no CDN, no Google Fonts, no analytics.
- The shell hook ignores any install triggered by another tracked installer (no false positives from
brewresolving deps).
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file why_cli-1.3.3.tar.gz.
File metadata
- Download URL: why_cli-1.3.3.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f79cdd0ef5fa2abbc29c62da9d5ba09f7532053930a4639e302bbe26e144ca5
|
|
| MD5 |
cf812b332fa694d1058f2adcd593a370
|
|
| BLAKE2b-256 |
1d681041268bb7b7a2236b63adb33e328d77152cc8da54a4f6015d9c92490909
|
Provenance
The following attestation bundles were made for why_cli-1.3.3.tar.gz:
Publisher:
release.yml on Nostoi/whydatapp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
why_cli-1.3.3.tar.gz -
Subject digest:
2f79cdd0ef5fa2abbc29c62da9d5ba09f7532053930a4639e302bbe26e144ca5 - Sigstore transparency entry: 1412167225
- Sigstore integration time:
-
Permalink:
Nostoi/whydatapp@767f5d4cb42c01970a239403a82d3868059cdbf9 -
Branch / Tag:
refs/tags/v1.3.3 - Owner: https://github.com/Nostoi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@767f5d4cb42c01970a239403a82d3868059cdbf9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file why_cli-1.3.3-py3-none-any.whl.
File metadata
- Download URL: why_cli-1.3.3-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e799d8abb5ad020cec2762008531b0ab4b894c5ac692a14f8170b785cc8f0af
|
|
| MD5 |
ff7acbbea64156e6ee63b894c65a78fe
|
|
| BLAKE2b-256 |
a5c9a14ccc357235c8fcab6e8a00f5eed332cdbdb0dedfc31d938746daa357d2
|
Provenance
The following attestation bundles were made for why_cli-1.3.3-py3-none-any.whl:
Publisher:
release.yml on Nostoi/whydatapp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
why_cli-1.3.3-py3-none-any.whl -
Subject digest:
4e799d8abb5ad020cec2762008531b0ab4b894c5ac692a14f8170b785cc8f0af - Sigstore transparency entry: 1412167344
- Sigstore integration time:
-
Permalink:
Nostoi/whydatapp@767f5d4cb42c01970a239403a82d3868059cdbf9 -
Branch / Tag:
refs/tags/v1.3.3 - Owner: https://github.com/Nostoi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@767f5d4cb42c01970a239403a82d3868059cdbf9 -
Trigger Event:
push
-
Statement type: