Skip to content

ROMANT21/commit-suggestions

Repository files navigation

📌 Commit Suggestions

Commit Suggestions is a tool that will recommend commit messages based on changes to your codebase!

If you're anything like me, you forget to make good commit messages which is always a pain when you inevitably go back through the git log! Well, not anymore!

Demo

🚀 Features

  • AI-powered commit message generation based on code changes
  • 🛠 Parses Git Diff output feed into prompt generator
  • 🔥 Saves time by eliminating the need to manually craft messages

📥 Installation

Prerequisites

export OPENAI_API_KEY="your-secret-key"

Setup

# Clone the repository
git clone https://github.com/ROMANT21/commit-suggestions
cd commit-suggestions

# Install dependencies and create python virtual environment (venv)
uv sync

# Activate venv (for linux)
source .venv/bin/activate

# Run the program
commit-suggestions

🤝 Contributing

Want to improve Commit Suggestions? Contributions are welcome!

  1. Fork this repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m "Add feature X")
  4. Push to your fork (git push origin feature-branch)
  5. Submit a Pull Request

🐛 Issues & Feedback

Found a bug? Have a suggestion? Open an (issue)[https://github.com/ROMANT21/commit-suggestions/issues].

📜 License

This project is licensed under the MIT License. See LICENSE for details.

⭐ Show Your Support

If you find Commit Suggestions helpful, please star ⭐ this repository and share it with others!

About

For those who can't commit right!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages