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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Start Free
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

2026-07-23