Skip to main content

Track why you installed every tool on your machine.

Project description

whydatApp

whydatApp (why?)

Track why you installed every tool on your machine.

why? watches for installs (brew install, npm i -g, pip install, cargo install, git clone, …) via a tiny shell hook, and asks five quick questions: name, what it does, project, why, and what to do with it (document, add to setup script, experimental, remove later, ignore). Local-only SQLite. Local web UI for search, sort, and sharing. Privacy-focused — nothing leaves your machine.

Install

Not yet on PyPI. The current path is install-from-source. PyPI publication is on the roadmap.

git clone https://github.com/Nostoi/whydatapp.git
cd whydatapp
uv tool install --from . 'why-cli[web]'   # or: pipx install '.[web]'
why init                                   # interactive setup; edits your shell rc

Restart your shell, then try brew install ripgrep (or any tracked manager).

Full install instructions, including building from a wheel: docs/guide/install.md.

Quick reference

Command What it does
why init Interactive first-run setup
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: docs/guide/usage.md.

Documentation

  • Install — Requirements, install paths (source / wheel / future PyPI), what why init does, uninstall.
  • Usage — Every CLI subcommand with examples.
  • Web UI — Walkthrough of the local web interface.
  • Configuration~/.why/*.toml files, 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.1 only.
  • 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 brew resolving deps).

Status

1.0 MVP. Sync, auth, AI enrichment, source scraping, and one-click remote install are on the roadmap. See docs/guide/development.md for the priority order.

License

TBD.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

why_cli-1.0.4.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

why_cli-1.0.4-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file why_cli-1.0.4.tar.gz.

File metadata

  • Download URL: why_cli-1.0.4.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for why_cli-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a2e8ac34ffb5294902beafe29bf81612211d560104b4c50dc450fda400f6e9bf
MD5 f0fc5d64aaa71cf0d710aba90b318cd0
BLAKE2b-256 dc5f8c562730546e37fdf365c561d8261111981214d7890ef1fa619005f06f27

See more details on using hashes here.

Provenance

The following attestation bundles were made for why_cli-1.0.4.tar.gz:

Publisher: release.yml on Nostoi/whydatapp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file why_cli-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: why_cli-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for why_cli-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cebbacec01431f6ee0d86b8cd54da70e1f859701163ef77601c7bc5ebbbc6534
MD5 c7b767715e5e473ce164240ce9d503e5
BLAKE2b-256 84fe97327dcd70eb96f8a6bf29aef9099e505adf98df0beac7a658f6bd324d5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for why_cli-1.0.4-py3-none-any.whl:

Publisher: release.yml on Nostoi/whydatapp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page