Skip to content

amarjeet2673/local-ai-commit-msg-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Local AI-Powered Commit Message Generator

A Visual Studio Code extension that uses local AI models (via Ollama) to generate meaningful, conventional commit messages from Git diffs.
Works completely offline, ensures security, and improves developer productivity by up to 90%.


🚀 Features

  • ✅ Generate short, clear commit messages from staged diffs
  • ✅ Fully local (no internet required) using Ollama + models like CodeLLaMA, Phi-2, or StarCoder
  • ✅ Interactive UI using VS Code WebView
  • ✅ Commit message customization: type, ticket ID, formatting
  • ✅ Validates:
    • Ollama is installed
    • Ollama is running
    • Git has staged changes
    • Ticket ID format (e.g., JIRA-1234)
  • ✅ Enforces Conventional Commit style

📥 Installation

1. Clone and Install Extension

git clone https://github.com/dhruvpapade/local-ai-commit-msg-generator
cd local-ai-commit-msg-generator
npm install

About

The 'Local AI-Powered Commit Message Generator' is a Visual Studio Code extension designed to automatically generate concise and meaningful Git commit messages using local AI models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 67.0%
  • CSS 18.6%
  • HTML 14.4%