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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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