A kitty terminal extension that turns plain language into commands using Ollama.
- Clone the repository to
~/.config/kitty/gattino
git clone https://github.com/szappala/gattino.git ~/.config/kitty/gattino
- Add the following line to
~/.config/kitty/kitty.conf
(note, replacecmd
withctrl
if you are not on a mac)
map cmd+shift+g kitten gattino/gattino.py
Press cmd+shift+g
(or the command that you have mapped to gattino) on your kitty terminal to open the gattino prompt.
The configuration is located in ~/.config/kitty/gattino/gattino.config.json
and the following options are available:
model
: The ollama model to use for command translation (default: "codellama")ollama_path
: Path to the ollama executable (default: "/usr/local/bin/ollama")
Contributions are welcome! See CONTRIBUTING.md for details on how to get started.