Some AI scripts I use daily.
-
chatsh
: like ChatGPT but in the terminal (example chat) (example coding) (example refactor) -
holefill
: I use it on VIM to fill code snippets
For VIM integration, this is my messy vimrc.
This repo in general is kinda gambiarra. Note: currently updating to ts!
Just npm install -g
and run the given command the terminal.
You'll need to add Anthropic/OpenAI/etc. keys to ~/.config
.
Most of this scripts will save a log to ~/.ai
. If you don't want this
behavior, edit the scripts to suit your needs. (TODO: add a proper option.)
Everything here is MIT-licensed.