top | item 42462764

Show HN: Wut – a CLI that explains the output of your last command with an LLM

3 points| jshobrook | 1 year ago |github.com

Just type wut and an LLM will explain whatever's in your terminal. You’ll be surprised how useful this is. I use it mainly to understand and debug stack traces, but there are a bunch of other use cases:

- Deciphering error codes

- Fixing incorrect commands

- Summarizing logs

You can connect wut to OpenAI, Anthropic, or a local model via Ollama.

I hope y’all find this as helpful as I do!

3 comments

order

jas39|1 year ago

Very useful tool. The tmux/screen requirement is a design flaw though.

jshobrook|1 year ago

Unfortunately, I don't see a way around it. There's no other way to capture the output buffer.