AI Commit Message Generator avatar

AI Commit Message Generator

Pricing

Pay per event

Go to Apify Store
AI Commit Message Generator

AI Commit Message Generator

Generate meaningful, conventional commit messages from git diffs. Paste a git diff or patch and get a well-formatted commit message that follows conventional commits standards. Supports standard, detailed, and one-line styles.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Ray Pablo

Ray Pablo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

AI Commit Message Generator 📝

An Apify Actor that generates meaningful, conventional commit messages from git diffs using AI.

Features

  • AI-Powered: Uses OpenRouter LLMs to write natural, descriptive commit messages
  • Multiple Styles: Conventional Commits, detailed multi-paragraph, or one-line
  • Smart Detection: Auto-detects commit type (feat, fix, refactor, etc.) and scope from the diff
  • Truncation: Handles large diffs gracefully
  • Fallback: Template-based fallback when LLM is unavailable

Input

FieldTypeRequiredDescription
diffstringGit diff or patch content
stylestringconventional, detailed, or one-line
includeScopebooleanAuto-detect scope from changed files

Output

The Actor pushes a dataset entry with:

  • commit_message — Generated commit message
  • style — Style used
  • stats — Diff statistics (files changed, lines added/removed, detected type)

Example Use Cases

  • CI/CD pipelines that auto-generate commit messages for PRs
  • Developers who want well-formatted commits without the mental overhead
  • AI agents that need to summarize code changes