Skip to content
arif.sh
← All projects
Project system

GIQ

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

GIQ / CLI
giq statusgiq commit

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.

System map

  1. 1

    Git Repo

    Staged files and cached diff

  2. 2

    GIQ CLI

    Cobra commands and passthrough

  3. 3

    Config

    OpenAI or Azure OpenAI

  4. 4

    AI Provider

    Generate commit options

  5. 5

    Bubble Tea UI

    Pick or write message

  6. 6

    Git Commit

    Executes system git

Git Repo

Staged files and cached diff

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

GoVisualZero-config HTTP request visualizer for Go applications.→
FastAPI RadarReal-time request, SQL query, exception, and trace dashboard for FastAPI apps.→
LLMDogTerminal UI for selecting code context and turning it into LLM-ready Markdown.→
PromptPilotPrompt versioning and A/B testing across AI providers.→