Skip to content

v0.2.0 - Git Infographics Visualization

Choose a tag to compare

@0xrinegade 0xrinegade released this 05 Jan 11:50
· 43 commits to master since this release
07f0c8c

🎨 Git Infographics Visualization System

Transform your git commit history into beautiful, actionable visualizations!

✨ New Features

7 Visualization Types

  • πŸ“… Commit Heatmap - Calendar view of daily commit activity
  • πŸ‘₯ Top Contributors - Bar chart of top 15 contributors by commit count
  • πŸ“ˆ Activity Timeline - Monthly commit trends over time
  • πŸ• Hourly Heatmap - 24-hour activity pattern analysis
  • πŸ“Š Weekday Distribution - Commit breakdown by day of week (Mon-Sun)
  • πŸ“ Message Quality - Histogram of commit message lengths
  • πŸ’» Code Contribution - Lines added/deleted by top contributors

CLI Command

# Analyze current directory
vibedev git-infographics

# Scan all repos in $HOME
vibedev git-infographics --scan-all

# Analyze specific repo
vibedev git-infographics -r /path/to/repo

# Custom output directory
vibedev git-infographics -o /output/dir

# Open in browser
vibedev git-infographics --open

TUI Integration

  • New Tab #5: "Git Infographics"
  • Press 5 to view generated infographics status
  • Shows file list with sizes and descriptions
  • Displays usage commands

πŸš€ Technical Details

  • New Module: src/git_infographics.rs (620 lines)
  • Chart Library: plotters - generates 1200x800 PNG files
  • Data Source: Parses git log --numstat for comprehensive statistics
  • Performance: Handles datasets from 18 to 147,928+ commits
  • Multi-repo: Aggregates statistics across multiple repositories

🧹 Improvements

  • Auto-discovery of git repositories with --scan-all
  • Browser integration for quick viewing
  • Graceful handling of edge cases (empty repos, single author)
  • Removed personal info from documentation
  • Clean, sanitized codebase

πŸ“Š Tested With

  • Small dataset: 18 commits, 1 author
  • Large dataset: 147,928 commits, 3,408 authors, 97 repositories

πŸ“Έ Output Examples

All visualizations are exported as PNG files:

  • commit_heatmap.png (38 KB)
  • top_contributors.png (76 KB)
  • activity_timeline.png (180 KB)
  • hourly_activity.png (48 KB)
  • weekday_distribution.png (36 KB)
  • message_quality.png (51 KB)
  • code_contribution.png (63 KB)

πŸ”§ Installation

cargo build --release
./target/release/vibedev git-infographics --help

Full Changelog: v0.1.0...v0.2.0

πŸ€– Generated with Claude Code