git-stats is a Node.js command-line tool and library for tracking Git activity locally. It renders commit history as an ANSI contribution calendar similar to the graph displayed on GitHub profiles. Users can select custom date ranges, display global activity, filter commits by author, and compare additions with deletions. Author statistics can also be presented as terminal pie charts. Commit records are stored in a configurable local data file, with a JavaScript configuration file controlling themes and default behavior. A post-commit hook can record future work automatically, while companion importers can add existing repository history. Raw JSON output allows other tools to create HTML pages, images, or custom visualizations.

Features

  • GitHub-style terminal contribution calendars
  • Custom activity date ranges
  • Author contribution filtering
  • Addition and deletion statistics
  • Automatic post-commit recording
  • Raw JSON data export

Project Samples

Project Activity

See All Activity >

Categories

Statistics

License

MIT License

Follow git-stats

git-stats Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of git-stats!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Statistics Software

Registered

6 days ago