Skip to content

Amir-hash19/AI-commit-generator

Repository files navigation

AI Commit Generator

A backend service that generates high-quality Git commit messages using an LLM (Groq API), following the Conventional Commits standard. The system is designed as a production-style API with authentication, database persistence, testing, and containerized deployment.


Features

  • AI-powered commit message generation using Groq LLM
  • Conventional Commits format enforcement
  • Multiple commit message suggestions per request
  • JWT-based authentication for secure API access
  • PostgreSQL database integration
  • Fully containerized with Docker
  • Automated tests for API and core logic

Example

Request → Response

Request

{
  "description": "fixed a bug in login where token was not expiring"
}

Response

{
  "id": 12,
  "status": "done",
  "result": {
    "messages": [
      "fix(login): token expiration bug fixed",
      "fix(auth): login token not expiring",
      "fix(security): login token expiration issue"
    ]
  },
  "created_at": "2026-06-23T13:00:06.122313Z"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors