Skip to content

Git-Swift is a Rust-based tool that automates the process of generating commit messages using the Groq API, committing changes

License

Notifications You must be signed in to change notification settings

its-me-ojas/git-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git-Swift

Git-Swift is a solution powering developers to don't worry at all about version control as our advanced AI solution is the one handling all that work.

Features

  • Automatically detects repository changes
  • Generates multiple commit message options using AI
  • Follows conventional commit message format
  • Interactive selection of preferred message
  • Handles commit and push operations

Prerequisites

  • Rust (latest stable)
  • Git
  • Groq API key

Installation

  1. Clone the repository:
git clone https://github.com/its-me-ojas/git-swift.git
cd git-swift
  1. Start the server:
cd server
docker compose up -d
  1. Build and install the CLI:
cd ../git-swift
cargo install --path .

Usage

  1. Make changes to your repository
  2. Run:
git-swift push
  1. Select preferred commit message
  2. Changes will be committed and pushed

Environment Variables

Create a .env file in the server directory:

GROQ_API_KEY=your_api_key_here
PORT=5000

Authors

About

Git-Swift is a Rust-based tool that automates the process of generating commit messages using the Groq API, committing changes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages