4 ms·
My only use case of ChatGPT: random CLI app I don't know how to use > explain in plain english what I want to achieve > ChatGPT outputs the command I need Ok,
by haunter 2y ago
My only use case of ChatGPT:
random CLI app I don't know how to use > explain in plain english what I want to achieve > ChatGPT outputs the command I need
Ok, not random but I use it for FFmpeg all the time. Example from yesterday when I needed to convert a TrueHD audio file into stereo FLAC: https://i.imgur.com/5ib99qh.png https://i.imgur.com/5ib99qh.png
100% works and it's perfect
- theshrike79 2y agoI'm still waiting for someone to create a SLM (small language model) specifically focused on just being an interactive man-page. "I want to find all mp4 files, convert them to AV1 and move them to this directory" -> SLM generates script and maybe even runs it automatically Claude Code -style. All locally with no internet needed.
- balnaphone 2y agoThis exists, just use https://github.com/sigoden/aichat https://github.com/sigoden/aichat with local ollama and a model like qwen2.5-coder:7b or better (e.g. gemma3:12b). Add this to ~/.bashrc : # bind Alt-e on the command line to replace text with command _aichat_bash() { if [[ -n "$READLINE_LINE" ]]; then READLINE_LINE=$(aichat -e "$READLINE_LINE") READLINE_POINT=${#READLINE_LINE} fi } bind -x '"\ee": _aichat_bash' In the example you gave i get: find . -type f -name "*.mp4" -exec ffmpeg -i {} -c:v libaom-av1 -crf 30 -b:v 0 -c:a copy ~/Videos/{}.mkv \; But if you don't like that you can press Ctrl-Shift-_ (bash has emacs keybindings) to undo and try something else. You can also put a # mark in front and hit enter, then up arrow then Alt-e so you know what created the command.
- zahlman 2y ago>random CLI app I don't know how to use > explain in plain english what I want to achieve > ChatGPT outputs the command I need I think there was a recent Show HN with a wrapper for this process.