GitInk analyzes your Git diffs and generates structured, professional PR titles and markdown descriptions in seconds using Google Gemini AI.
Works with any git repository · Zero config required
A step-by-step simulation of GitInk automatically populating PR content via GitHub Actions.
There aren't any open pull requests.
Analyze any Git diff state locally. No internet, no GitHub connection — just your diffs and the AI.
Only a Gemini API key is needed for local dry-runs. Your GITHUB_TOKEN stays untouched and your repository credentials are never exposed.
Verify AI-generated summaries before staging, committing, or pushing. Catch irrelevant noise in diffs before they enter your PR history.
GitInk reads diff metadata directly from stdin, making it compatible with pre-commit hooks, shell scripts, and CI pipelines.
Analyzing diff...Files changed: src/auth/middleware.ts (+45 -12)⟶ Gemini API response received✓ PR Title: fix: resolve session token expiry race condition✓ Description: ## Summary Fixes a race condition in the session refresh logic that caused intermittent 401 errors. ## Key Changes - Added mutex lock to token refresh handler - Synchronized expiry checks across workers
Four interconnected stages form a closed-loop automation — from diff to deployed PR description.
Drop a YAML file into your repo and add one secret. Every pull request gets an AI-generated description from that moment on.
GitInk works seamlessly in both contexts — choose what fits your workflow.
GitInk adapts to your team's voice. Select a tone and watch the same code change described differently.
Three core developer problems. One elegant solution.
Keep your focus where it belongs — in your IDE. GitInk handles documentation automatically upon git commit or branch push, so you never break your flow.
No more analyzing lockfiles, images, or minified assets. GitInk's intelligent exclusions focus purely on logic changes, making AI analysis faster and more accurate.
Ensure repository compliance automatically. GitInk formats PR titles following standard commit conventions — feat:, fix:, chore:, docs: — keeping your history clean.
.gitink.jsonClick a preset below to see how your .gitink.json changes — each template is ready to drop into your repo.
Place .gitink.json in your repository root. GitInk reads it automatically — no flags needed.
Select a preset to preview its configuration:
Common questions from developers evaluating GitInk.
No. GitInk communicates directly with the official Google Gemini API which enforces strict enterprise privacy terms — your code is never used for model training. Diff payloads are transmitted over TLS and are not stored beyond the request lifecycle.
Yes. You can define your own sections, markdown layout, or tone guidelines by overriding the prompt value in .gitink.json. For example: "Summarize in bullet points under ## Changes. Always include a ## Testing section."
GitInk cleanses non-code files (lock files, images, minified assets) and truncates excessive diff logs automatically using the maxDiffLength config. Only the relevant file context is sent to Gemini AI, avoiding rate limits and keeping costs minimal.
Yes. When used as a GitHub Action, GitInk uses the GITHUB_TOKEN that GitHub automatically provides to actions — no additional setup is needed. For CLI dry-runs, no GitHub credentials are required at all.
GitInk requires Node.js >= 20 when installed globally (npm install -g gitink). When used via npx or as a GitHub Action, the bundled standalone version has zero external dependencies.