buster/watn
watn
CLI tool for converting natural questions into executable commands
1star
buster/watn
watn
CLI tool that converts natural language questions into executable shell commands, with features like a Ctrl-W shortcut to replace current prompt text.
Visit project- First shared
- Sep 1, 2026
- HN activity
- 10
Show HN@busterSep 1, 2026
Show HN: Watn – type a question in your shell, get a command back
When trying to figure out some complex shell command (What's the actual incantation of the git command, find or ffmpeg for my usecase?), i used to use https://github.com/kagisearch/ask for some time, which seems to be unmaintained. Also it tied to openrouter and some predefined model list. So i set out to build a better version. In the end, the new implementation added some new (maybe unique) features, like pressing CTRL-W in a shell prompt and having the text being replaced by some proper command to be executed with enter. Here is a quick glimpse of what it looks like the terminal: $ find the top 5 largest files ever committed in this git repository (-> hit CTRL-W <-) $ git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectsize) %(rest)' | sed -n 's/^blob //p' | sort -rn | head -n 5 I'm curious to hear feedback and maybe someone else does find it useful as well.
Community