#git-commit #commit-message #git-workflow #git-tool #ai-powered #productivity #intelligent

app gitbuddy

An AI-driven tool designed to simplify your Git commit process

6 releases

0.1.5 Aug 6, 2024
0.1.4 Jul 23, 2024
0.1.1 Jun 20, 2024

#79 in Machine learning

Download history 222/week @ 2024-07-23 36/week @ 2024-07-30 130/week @ 2024-08-06 3/week @ 2024-08-13 6/week @ 2024-09-10 1/week @ 2024-09-17 5/week @ 2024-09-24 4/week @ 2024-10-01

421 downloads per month

Apache-2.0

25KB
560 lines

GitBuddy

Rust CI

GitBuddy is an AI-driven tool designed to simplify your Git commit process. With GitBuddy, you can generate meaningful commit messages, streamline your workflow, and enhance your productivity.

[!WARNING] This project is currently in development.

Features

  • AI-Powered Commit Messages: Generate intelligent and context-aware commit messages based on your code changes.
  • Customizable Models: Support for using different AI models, not only GPT-3.5.
  • Multiple Vendor Flexibility: Compatible with various AI service providers.
  • Proxy Support: Easily configure proxy settings for network-restricted environments.
  • Customizable Prompts: Tailor the AI's suggestions to fit your project's specific needs.
  • Seamless Integration: Works seamlessly with your existing Git workflow.
  • Improved Productivity: Spend less time thinking about commit messages and more time coding.

Installation

To get started with GitBuddy, follow these simple steps:

cargo install gitbuddy

Configuration

To use GitBuddy, simply run the following command in your terminal:

Using default model

gitbuddy config --api-key <your-api-key> deepseek

Using custom model

gitbuddy config --api-key <your-api-key> --model gpt-4o openai

Usage

Using GitBuddy is straightforward. After making your changes, run the following command to generate a commit message:

gitbuddy ai

Support models

Vendor Model(s) Support
DeepSeek deepseek-chat yes
OpenAI gpt-3.5-turbo no
ByteDance Doubao-lite-4k
Doubao-pro-4k
no
Baidu ERNIE 4.0 no
Alibaba qwen-turbo no
Moonshot AI moonshot-v1-8k no

Roadmap

  • Enhance the User Interface.
  • Using configuration file instead of environment variables.
  • Support for more AI models.
  • Add statistics and analytics for GitBuddy usage of kinds of Models.
  • Support http proxy.
  • Custom prompts.
  • Install for using GitBuddy by Git Hooks (without gitbuddy ai).
  • Submit a single request to receive multiple options for users to select from.

Dependencies

~12–25MB
~341K SLoC