Skip to content

A high-performance CLI tool written in Rust that leverages Gemini AI to provide instant, intelligent code reviews for Git branch differences.

Notifications You must be signed in to change notification settings

besingamkb/rusty-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rusty-diff

AI-powered Git diff code reviewer using Groq (Llama 3.3 70B).

Installation

cargo install --path .

Usage

Run interactively (no arguments required):

rusty-diff

The CLI will prompt for:

  1. Repository path (default: current directory)
  2. Target branch (e.g., main)
  3. Source branch (e.g., feature/my-feature)

Options

-o, --output <FILE>    Save review to a file
-h, --help             Print help

Example

rusty-diff --output review.md

API Key

Get a free API key at console.groq.com

On first run, you'll be prompted to enter your Groq API key. It will be saved to:

  • macOS: ~/Library/Application Support/rusty-diff/config
  • Linux: ~/.config/rusty-diff/config
  • Windows: %APPDATA%\rusty-diff\config

You can also set it via environment variable:

export GROQ_API_KEY=your_api_key

Supported Projects

Automatically detects and includes project context for:

  • PHP (composer.json)
  • Node.js (package.json)
  • Go (go.mod)
  • Rust (Cargo.toml)
  • Python (requirements.txt, pyproject.toml, setup.py)

License

MIT

About

A high-performance CLI tool written in Rust that leverages Gemini AI to provide instant, intelligent code reviews for Git branch differences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages