AI-powered Git commit messages generated directly from your terminal.
Project description
Gicom
AI-powered Git commit messages generated directly from your terminal.
Stop writing "fixed stuff" or "wip". Let the ghost in the machine write professional, Conventional Commit messages for you.
✨ Features
- Zero Friction: One command (
gicom get-ai) to generate and copy. - Professional Format: Follows Conventional Commits (feat:, fix:, chore:).
- Secure: Your OpenAI API Key is stored locally in
~/.config/gicom/. - Context Aware: Analyzes your actual
git diffto understand what changed.
📦 Installation
To install gicom from PyPI:
pip install gicom
🚀 Setup
The first time you run gicom, it will prompt you for your OpenAI API key.
-
Get your API key from the OpenAI Platform.
If you see aninsufficient_quotaerror, make sure you have added some credit to your account. Even $1 is usually enough, since the model used by gicom is very inexpensive. -
Run the tool:
gicom get-ai
- Paste your key when prompted (input will be hidden for security).
🛠️ Usage
The Workflow
This is designed for speed. It generates the message and copies it to your clipboard automatically.
- Stage your changes:
git add .
- Summon the Ghost:
gicom get-ai
- Paste: Press
Cmd + V(orCtrl + V) into your commit box (VS Code, GitHub Desktop, or Terminal).
The "Interactive" Workflow
If you prefer to commit directly from the terminal with a confirmation step:
gicom commit
🔒 Security
- Your API Key is stored in
~/.config/gicom/config.json. - The file permissions are set to
600(User Read/Write only). - Your key is sent only to OpenAI servers for message generation and is never shared elsewhere.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gicom-0.2.1.tar.gz.
File metadata
- Download URL: gicom-0.2.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fc383d9f83d06873bada15525451c129bd04650fcd5780005d2cf1a416f4938
|
|
| MD5 |
68893de79ba2c087e0a0a48dde61ac32
|
|
| BLAKE2b-256 |
4cbe185892037a37e01ec65ba0e82e1bbc62ab7799bc3f75a5d0aee1831c9f0e
|
File details
Details for the file gicom-0.2.1-py3-none-any.whl.
File metadata
- Download URL: gicom-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b739e8814220ce7a2de8af5d1f5d160ddda0ab33787001970bfc1e8003395455
|
|
| MD5 |
7c915e604af6a51efcbbb789dd08f835
|
|
| BLAKE2b-256 |
36519ba54c0a6b187ad5189feab9980a479ef5894c30f0e641fcde518ec1001c
|