2 ms·
I'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,
by theshrike79 2y ago
I'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.