AI Commit Message Generator avatar

AI Commit Message Generator

Pricing

from $30.00 / 1,000 commit generateds

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

from $30.00 / 1,000 commit generateds

Rating

0.0

(0)

Developer

Ray Pablo

Ray Pablo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 months ago

Last modified

Categories

Security

Limited permissions

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
diffstring✅Git diff or patch content
stylestring❌conventional, detailed, or one-line
includeScopeboolean❌Auto-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