Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1008 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 1008 Bytes

Gattino 🐱

A kitty terminal extension that translates human language commands into bash commands using ollama.

Demo

Requirements

Installation

  1. Clone the repository to ~/.config/kitty/gattino
git clone https://github.com/szappala/gattino.git ~/.config/kitty/gattino
  1. Add the following line to ~/.config/kitty/kitty.conf (note, replace cmd with ctrl if you are not on a mac)
map cmd+shift+g kitten gattino/gattino.py

Usage

Press cmd+shift+g (or the command that you have mapped to gattino) on your kitty terminal to open the gattino prompt.

Configuration

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")