Projects

Project system

GIQ

AI-enhanced Git workflow assistant that keeps normal Git semantics intact.

What it does

GIQ wraps Git commands, reads staged diffs, asks OpenAI or Azure OpenAI for commit message suggestions, and lets the developer choose through a terminal UI.

GitHub repository

Open the source repo for installation, package code, tests, and release details.

System map

1
input
Git Repo
Staged files and cached diff
2
service
GIQ CLI
Cobra commands and passthrough
3
storage
Config
OpenAI or Azure OpenAI
4
service
AI Provider
Generate commit options
5
decision
Bubble Tea UI
Pick or write message
6
output
Git Commit
Executes system git

Codebase read

  • Unknown commands pass through to the system git binary, so the wrapper does not trap users in a custom workflow.
  • Commit generation uses staged file names plus cached diff content to keep the model focused.
  • The TUI presents multiple suggestions while preserving a custom-message fallback.

Key snippet

diff, _ := a.GetDiff()
files, _ := a.GetStagedFiles()

suggestions, err := ai.GenerateCommitMessages(
    a.Config,
    promptFrom(files, diff),
)

Tech used

GoCobrago-gitBubble TeaOpenAIAzure OpenAIViper

Source paths inspected

internal/app/app.gointernal/ai/ai.gointernal/cmd/commit.gointernal/config

More project systems