AI-powered Git activity tracker and project lifecycle manager
- π Discovers Projects: Scan your system for Git repositories with interactive selection
- π€ Auto-commits Changes: Automatically commits your work before generating reports
- π Tracks Project Status: Monitor activity, inactivity, and project health
- π Generates Reports: Daily markdown reports with AI-powered insights
- π― Lifecycle Management: Track projects from initialization to completion
- οΏ½ Monitors Uncommitted Work: See what's staged, unstaged, and untracked
- π³ Supports Nested Repos: Finds Git repositories within Git repositories
- οΏ½ AI Suggestions: Get intelligent next steps using GitHub Copilot, OpenAI, Anthropic, or Ollama
- π Organized Reports: All reports saved in
~/Gittracker/folder
- Interactive Scanning:
gittrack scanfinds all Git repos in a directory - Multi-select UI: Choose which projects to track with an intuitive interface
- Nested Repository Support: Discovers repos within repos
- Smart Filtering: Shows which projects are already tracked
- Helpful Instructions: Clear guidance on navigation and selectioning** - Analyzes working directory changes, staged files, and modifications in progress
- π€ AI-Powered Suggestions - Uses LLMs (GitHub Copilot, OpenAI, Anthropic, Ollama) to generate intelligent next-step recommendations based on commits AND uncommitted work
- π Daily Reports - Generates markdown reports summarizing your development activity, including work-in-progress
- π### π Project Status Tracking
- Activity Indicators: π’ Active / π‘ Low Activity / π΄ Inactive
- Last Updated: Shows when the last commit was made ("just now", "2 hours ago", etc.)
- Total Commits: Lifetime commit count per project
- Days Inactive: Automatic calculation of inactivity
- Complete History: Shows ALL commits since
.gitinitialization
- Project Status Section: See health at a glance
- Recent Changes: All commits with dates and descriptions
- Uncommitted Work: Track staged, unstaged, and untracked files
- AI Suggestions: Intelligent next steps for each project
- Trend Analysis: 4-week commit activity visualization
- Saved Location: All reports in
~/Gittracker/folder
# Clone the repository
git clone <repository-url>
cd gittrack
# Install dependencies
npm install
# Build the project
npm run buildRun in your project directory:
cd /path/to/your/project
gittrack initThis will:
- Initialize a Git repository (if not already initialized)
- Create an initial commit
- Add the project to Gittrack's tracking list
Run the setup wizard:
npm run dev -- setupChoose your preferred AI provider and model.
Make changes to your files as usual. No need to manually commit!
# Scan for Git repositories interactively
gittrack scan ~/Projects
# Scan with custom depth
gittrack scan ~/Code -d 3
# Scan home directory (default)
gittrack scan
# Instructions shown:
# π Use ββ arrows to navigate, Space to select, Enter to confirm, Ctrl+C to cancel# Sync all tracked projects and generate report
gittrack sync
# View the report
cat ~/Gittracker/2026-02-06.mdWhat happens during sync:
- π Auto-commits uncommitted changes in each repo
- π Analyzes all commits since repo initialization
- π Detects uncommitted work (staged, unstaged, untracked)
- π‘ Generates AI-powered suggestions
- π Creates markdown report in
~/Gittracker/tion
Configuration is stored in ~/.gittrack/config.yaml:
scan_paths: []
use_tracked_projects: true
report_dir: /home/user/gittrack-reports
llm:
provider: github # or openai, anthropic, ollama, grok
model: gpt-4oGittrack automatically uses OpenClaw's Copilot credentials if available. To set up:
- Install and configure OpenClaw
- Run
openclaw onboardand choose GitHub Copilot - Gittrack will automatically use the same credentials!
No additional setup needed - just make sure OpenClaw's token is fresh.
gittrack scan [path] # Scan for Git repos and select which to track
npm run dev -- add <path> # Add a project to track
npm run dev -- remove <path> # Remove a project
npm run dev -- list # List all tracked projects
npm run dev -- init # Initialize current directorynpm run dev -- sync # Scan repos and generate report
npm run dev -- report # Show path to latest report
npm run dev -- doctor # Check configuration healthnpm run dev -- setup # Run setup wizard
npm run dev -- config # Show current configurationReports are generated as markdown files in your configured report directory:
# gittrack Report β 2026-02-05
**Summary:** 3 active repos Β· 12 commits in period
---
## /home/user/my-project
**Activity:** 5 commits in period
**Recent commits:**
- feat: Add user authentication (2 hours ago)
- fix: Resolve login bug (3 hours ago)
...
**Next steps (AI)**
1. Implement password reset functionality
2. Add unit tests for authentication flow
3. Set up CI/CD pipeline
...- Repository Scanning - Gittrack scans your configured Git repositories for recent activity
- Commit Analysis - Analyzes commit messages, authors, and timestamps
- Uncommitted Changes Detection - Scans working directory for staged and unstaged modifications
- AI Processing - Sends repository context (commits + uncommitted work) to your chosen LLM provider
- Report Generation - Creates a markdown report with AI-generated suggestions
- Daily Tracking - Maintains history and tracks progress over time
# Run in development mode
npm run dev -- <command>
# Build for production
npm run build
# Run tests (if available)
npm testIf using GitHub Copilot:
- Ensure OpenClaw is installed and configured
- Run
openclaw onboardto refresh your Copilot token - Verify you have an active Copilot subscription
- Check that your projects have recent commits
- Verify LLM provider credentials are valid
- Run
npm run dev -- doctorto diagnose issues
GitHub Copilot tokens expire periodically. Refresh by running:
cd /path/to/openclaw
openclaw onboard[Add your license here]
Contributions welcome! Please open an issue or submit a pull request.
- Built with TypeScript and Node.js
- Integrates with OpenClaw for GitHub Copilot support
- Uses various LLM providers for AI-powered suggestions