git-glance
v1.0.1
Published
Beautiful git repository summaries, statistics, and changelogs
Maintainers
Readme
git-glance
Beautiful git repository summaries, statistics, and changelogs
Installation
npm install -g git-glanceOr use directly:
npx git-glanceUsage
Run git-glance in any git repository:
Summary (default)
git-glance
# or
git-glance summaryShows:
- Repository info (branch, status, remote)
- Commit statistics
- Top contributors with progress bars
- Recent commits
Statistics
git-glance stats
git-glance stats --limit 100 # Analyze last 100 commits onlyShows detailed commit statistics:
- Total commits
- All contributors with commit counts
- Project age
- Commits per day
Changelog
git-glance changelog
git-glance log # Alias
git-glance log --since "1 week ago" # Since specific date
git-glance log --count 50 # Last 50 commits
git-glance log --markdown # Output as markdownGenerates a formatted changelog grouped by date.
Examples
Repository Summary
═══ 📊 my-project ═══
Branch: main
Status: ✓ Clean
Remote: [email protected]:user/my-project.git
═══ 📈 Statistics ═══
Total Commits: 142
Contributors: 3
First Commit: Jan 15, 2024
Last Commit: Feb 3, 2024
Commits/Day: 7.5
═══ 👥 Top Contributors ═══
███████████████░░░░░ John Doe (95 commits, 67%)
████████░░░░░░░░░░░░ Jane Smith (35 commits, 25%)
██░░░░░░░░░░░░░░░░░░ Bob Wilson (12 commits, 8%)Markdown Changelog
git-glance log --since "last week" --markdown > CHANGELOG.mdLicense
MIT © Deepankar Rawat
