Skip to content

01shrvan/gitwise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitWise

An AI-powered terminal tool that analyzes your git repositories and provides intelligent insights about your commit patterns and coding habits.

Features

  • Repository Analysis: Get detailed insights about your commit patterns
  • Commit Message Helper: Generate better commit messages with AI assistance
  • Productivity Insights: Learn about your most productive coding times

Installation

Prerequisites

  • Bun runtime
  • Git installed and accessible in your PATH
  • Gemini API key (get one from Google AI Studio)

Setup

  1. Clone this repository:
git clone https://github.com/01shrvan/gitwise.git
cd gitwise
  1. Install dependencies:
bun install
  1. Create a .env file with your API key:
GOOGLE_GENERATIVE_AI_API_KEY=your_api_key_here
  1. Link the command globally (optional):
bun link

Usage

Navigate to any git repository and run GitWise commands:

Analyze Repository

gitwise analyze

This will analyze your git history and provide insights about:

  • Commit patterns and frequency
  • Your most productive days and hours
  • Commit message quality
  • Suggestions for better git practices

Get Commit Message Help

gitwise commit-help "fix the login bug"

This will return an improved commit message following git best practices.

Options

  • analyze --days <number> - Specify the number of days of history to analyze (default: 30)

License

MIT

About

ai that reads your git history & sharpens your commits.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages