Skip to main content

Pipe any error → get an instant AI explanation. Just type 'why'.

Project description

errxplain 🔍

Pipe any error. Get an instant, human explanation.

npm run build 2>&1 | errxplain

No more googling cryptic stack traces. errxplain reads your error and tells you exactly what went wrong, why, and how to fix it — in plain English.

Demo

errxplain demo

Installation

pip install errxplain

Usage

Works with any language or tool:

# Python
python app.py 2>&1 | errxplain

# Node / npm
npm run build 2>&1 | errxplain

# Rust
cargo build 2>&1 | errxplain

# Any command
<your-command> 2>&1 | errxplain

Show the original error alongside the explanation:

python app.py 2>&1 | errxplain --verbose

Setup

pip install errxplain
export GROQ_API_KEY=your_key_here  # Free at console.groq.com

Add the export to your ~/.zshrc or ~/.bashrc to make it permanent.

How it works

errxplain reads from stdin, sends the error to an LLM (via Groq — fast and free), and formats the response into a clean, readable breakdown.

Contributing

PRs welcome! Open an issue first to discuss major changes.

License

MIT

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

errxplain-0.1.0.tar.gz (162.7 kB view details)

Uploaded Source

Built Distribution

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

errxplain-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file errxplain-0.1.0.tar.gz.

File metadata

  • Download URL: errxplain-0.1.0.tar.gz
  • Upload date:
  • Size: 162.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for errxplain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25c775a11361bb75ad92badd218feb4844de98e441e65a8ebba6102f225aa0bf
MD5 217238428b683402a25c6247f55647ab
BLAKE2b-256 a7255a81f17fc7b1497285180fdf0f9ac49e1e94b44166865bdc7590ee4c859d

See more details on using hashes here.

File details

Details for the file errxplain-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: errxplain-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for errxplain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 497e90626aba67d0c8fbc0b9b1e6d913128f157a19a53ef62b3cf8d2f97e0dbc
MD5 512f79dc7e473532abd562bf7daad324
BLAKE2b-256 f8ccbd9014bdc908c16e4a8f46b6b715fc07845a1bfd998442057e1402f63892

See more details on using hashes here.

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