This program visualizes Git activity over the past year as a colorful grid.
git clone https://github.com/dakennedyd/activityg++ -o activity main.cpp./activity [optional: repository path]
If no repository path is specified, it will use the current directory.
- The program runs a Git command to fetch commit logs for the last year.
- It parses the output to count commits per day.
- A 7xN grid is created, with each cell representing a day.
- Cells are colored based on the number of commits:
- Level 1: 1-1 commit
- Level 2: 2-4 commits
- Level 3: 5-9 commits
- Level 4: 10-14 commits
- Level 5: 15+ commits
- Requires Git to be installed on the system
Feel free to fork and contribute! This project is open-source.
