With goGreen, you can make your profile look like you've been hard at work... even if you haven't. NodeJs script to make commits to the past (or the future) to go green on GitHub.
goGreen helps you create commits on your GitHub profile for any date in the past. Whether you want to fill up your contribution graph or even make cool patterns and artwork.
Follow these steps to bring your contribution graph to life:
- Clone this repository
git clone https://github.com/fenrir2608/goGreen.git
cd goGreen
- Set up your project Initialize a new Node.js project:
npm init -y
- Install the required npm modules You'll need a few modules to get everything running smoothly. Install them all with:
npm install moment simple-git random
- Create your commit script
- Create a JavaScript file to manage your commits.
- Create a JSON file to store all the commit timestamp data.
So, you've got the basics down. What's next?
- Custom Patterns: Experiment with different patterns on your contribution graph. Maybe spell out your name or create some cool designs.
- Density Control: Play around with the number of commits per day to adjust the shades of green.
- Input Strings: Convert input strings to X-Y mapped contributions.
moment
- Handles date and time manipulation.simple-git
- For easy Git commands.random
- To generate random numbers for the commits.
Huge thanks to Akshay Saini for the original video behind this project.