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
Selected node
Git Repo
Staged files and cached diff
input
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
GoVisual
Zero-config HTTP request visualizer for Go applications.
FastAPI Radar
Real-time request, SQL query, exception, and trace dashboard for FastAPI apps.
LLMDog
Terminal UI for selecting code context and turning it into LLM-ready Markdown.
PromptPilot
Prompt versioning and A/B testing across AI providers.