Skip to main content

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 diff to 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.

  1. Get your API key from the OpenAI Platform.
    If you see an insufficient_quota error, make sure you have added some credit to your account. Even $1 is usually enough, since the model used by gicom is very inexpensive.

  2. Run the tool:

gicom get-ai
  1. 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.

  1. Stage your changes:
git add .
  1. Summon the Ghost:
gicom get-ai
  1. Paste: Press Cmd + V (or Ctrl + 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gicom-0.2.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gicom-0.2.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for gicom-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9fc383d9f83d06873bada15525451c129bd04650fcd5780005d2cf1a416f4938
MD5 68893de79ba2c087e0a0a48dde61ac32
BLAKE2b-256 4cbe185892037a37e01ec65ba0e82e1bbc62ab7799bc3f75a5d0aee1831c9f0e

See more details on using hashes here.

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

Hashes for gicom-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b739e8814220ce7a2de8af5d1f5d160ddda0ab33787001970bfc1e8003395455
MD5 7c915e604af6a51efcbbb789dd08f835
BLAKE2b-256 36519ba54c0a6b187ad5189feab9980a479ef5894c30f0e641fcde518ec1001c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page