Preview of watnOpen crates.io

crates.io/crates/watn

watn

A CLI tool that generates and explains complex shell commands using LLMs. Supports bash/fish/zsh shortcuts and a review TUI.

Visit project

Show me a random project

First shared
Sep 11, 2026
HN activity
20

Show HN@busterSep 11, 2026

Show HN: Quickly generate and explain complex shell commands

Hi everyone, as I spent a substantial amount of time in the console, even today, i sometimes need to think of some complex combination of git/find/ffmpeg/xargs and friends and so i've been using https://github.com/kagisearch/ask for some time. Since it appears to be unmaintained i started my own version (yes, thanks to some LLMs work) and i am quite happy with it. It appears to have gained a lot more features than i initially thought but there it is. My personal highlights are: - can install shortcuts for bash/fish/zsh for pressing CTRL-W and having the current prompt replaced with the "answer" $ find all images in this directory becomes $ find . -type f \( -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' -o -iname '*.gif' -o -iname '*.bmp' -o -iname '*.webp' -o -iname '*.svg' -o -iname '*.tiff' \) in 1-2 seconds. - there is also a review TUI that explains the commands (which can become complex) or retries with another model In any case, it's open source, maybe someone else will find it useful as well.

Community

Hacker News discussion

Loading the thread…