Show HN

Shell command generator

by @buster

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.

Discover more builders

Builderlust is an endless, joyful scroll of real projects people are shipping right now. Get the app to keep finding your next spark of inspiration.

📱 Coming soon to iOS & AndroidOpen in the app