gitmap

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2025 License: MIT

README

Gitmap

GitMap is a small Go tool designed to scan a specified directory and its subdirectories for Git repositories, generating a GitHub-style contribution heatmap visualization.

gitmap

Features

  • Recursively scans directories for Git repositories
  • Analyzes commit statistics within a specified date range
  • Generates an intuitive contribution heatmap
  • Supports multiple time range options: Year, SixMonth, and Month

Installation

go get github.com/lachlovy/gitmap
Command Line Arguments
  • --scan-dir: Directory to be scanned (defaults to current directory if not specified)
  • --date-range: Time range for statistics, supports Year, SixMonth, and Month (defaults to Year)
  • --config-file: Path to configuration file (not implemented yet)

Examples

# Scan all Git repositories in the current directory and generate a yearly contribution heatmap
gitmap

# Scan a specific directory and generate last six-month contribution heatmap
gitmap --scan-dir=/home/user/projects --date-range=SixMonth

Roadmap

  • Implement configuration file functionality
  • Add more visualization options

License

MIT

Directories

Path Synopsis
cmd
gitmap command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL