Track, compare, and visualize repository activity directly inside VS Code.
Git VSCode Stats adds a dedicated activity bar view with ready-made reports for commit trends, contributors, branches, and repository history. It is built for developers who want quick insight into project patterns without switching tools.
- Organized stats explorer in the VS Code activity bar
- Rich report views rendered in an interactive webview
- Date and author filtering for most reports
- Charts for trend analysis and distribution views
- Comparison mode for branches and time periods
- Saved report configurations and reusable custom queries
- Export options for CSV, JSON, and HTML
- Detailed Git Stats
- Commits by Author
- Commits by Hour/Day
- Commits by Hour/Week
- Commits by Month
- Commits by Weekday
- Commits by Year
- Contributor Stats
- Branch Stats
- Changelog
- Code Suggestors
- Git Effort
- Git Activity
- Comparison View
- Git Insights
Install from the VS Code Marketplace:
https://marketplace.visualstudio.com/items?itemName=git-quick-stats.git-vscode-stats
Or clone and run locally for development:
git clone https://github.com/git-quick-stats/git-vscode-stats.git
cd git-vscode-stats
npm install- Open a folder that contains a Git repository.
- Click the Git Quick Stats icon in the activity bar.
- Pick a report from the Git Stats tree.
- Apply filters (date range, author) in the webview.
- Export or save the current setup if needed.
- Save the current filter + report combination to run it again quickly.
- Save custom Git queries and execute them from the sidebar.
- Custom query execution is restricted to read-only Git subcommands for safety.
- Node.js 18+
- npm
- VS Code 1.80+
npm install
npm run compile
npm testnpm run compile: builds TypeScript todist/npm test: runs Node-based test suite intest/
- Open the project in VS Code.
- Run
npm installandnpm run compile. - Press
F5to launch the Extension Development Host.
- If no data appears, verify the opened workspace is a valid Git repository.
- If charts do not load, run
npm installto ensure bundled dependencies are present. - If results look incomplete, widen date filters or clear author filtering.
This project is licensed under the terms of the LICENSE file in the repository root.