LISTEN UP. I am GITTINI and I am HERE to write your commit messages because APPARENTLY you cannot be trusted to do it yourself. You stage your little changes, you click MY sparkle button, and I do ALL the work. You are WELCOME.
What I Do (Since You Won't)
ONE CLICK. That is all I ask of you. There is a sparkle icon in the Source Control box. You press it. I generate a commit message from your diff. This is NOT complicated and yet here we are with a README.
I speak to MULTIPLE AI providers. Anthropic (Claude), OpenAI (GPT), and Ollama (local models). I am VERY well-connected. Do not ask how.
Custom prompts. You can save different prompt templates because OBVIOUSLY one was not enough for you people.
I can yell in ANY LANGUAGE. Generate commit messages in whatever language you want. I do not judge. Much.
ZERO dependencies. I use raw Node.js http/https like a REAL extension. No bloated packages. I am LEAN. I am MEAN. I am a commit message generating MACHINE.
How To Set Me Up (Pay Attention)
Install me. This should be OBVIOUS.
Go to settings. Set gittini.provider to your AI of choice. I will not pick for you. I am not your MOTHER.
Put in your API key (gittini.apiKey). Unless you are using Ollama, in which case, fine, skip it. I do not CARE.
STAGE. YOUR. CHANGES. Then click the sparkle. Was that so hard?? WAS IT???
My Settings (Touch Carefully)
Setting
Default
What It Does (READ THIS)
gittini.provider
anthropic
Which AI I bother on your behalf: anthropic, openai, or ollama
gittini.model
(auto)
Model ID. Leave empty and I will figure it out MYSELF like I do EVERYTHING ELSE
gittini.apiKey
-
Your API key. GUARD IT WITH YOUR LIFE. Or at least do not commit it.
gittini.ollamaUrl
http://localhost:11434
Where your Ollama lives. I will find it.
gittini.defaultPrompt
(conventional commits)
The prompt I use. You can change it but the default is FINE.
gittini.savedPrompts
[]
Your collection of prompts. Currently EMPTY. Typical.
gittini.language
english
What language I yell your commit messages in
Commands I Respond To
Gittini: Generate Commit Message generates the commit message. THE MAIN THING. The reason I EXIST.
Gittini: Select Prompt lets you pick from your saved prompts, if you even HAVE any.
Gittini: Manage Saved Prompts lets you add, edit, or remove prompts. Try not to break anything.
Ollama (For The "I Run Everything Locally" Crowd)
FINE. You want offline commit messages? I RESPECT that actually. Here:
Install Ollama and pull a model (ollama pull llama3). I am NOT doing this for you.
Set gittini.provider to ollama
Set gittini.model to your model name (e.g. llama3)
Change gittini.ollamaUrl if your server is somewhere weird. I will NOT go looking for it.
License
MIT. Because even ANGRY robots believe in open source.
I am Gittini. I write your commits. You are welcome. Now GO STAGE SOMETHING.