logo
2 points by buster 2 days ago | discuss
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.