gitbuddy

Crates.iogitbuddy
lib.rsgitbuddy
version
sourcesrc
created_at2024-06-18 12:59:31.359522
updated_at2025-02-11 03:00:52.05718
descriptionAn AI-driven tool designed to simplify your Git commit process.
homepage
repositoryhttps://github.com/fujianbang/gitbuddy
max_upload_size
id1275457
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Jianbang (fujianbang)

documentation

README

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

To update if you already have installed, run:

cargo install --force 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
Ollama ollama 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.
Commit count: 88

cargo fmt