Skip to content

utsanjan/Github-Contribution-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 GitHub Contribution Bot

Buy Me A Coffee‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

Does your GitHub Graph looks like a noob with a few number of Commits and Push? Do you want to have your contribution graph with lots of commit like pro, then this project is at your rescue. Manipulate your GitHub Contribution graph just like above.

📝 Introduction

The project uses Moment, a JavaScript date library for parsing, validating, manipulating, and formatting dates. It allows you to make a commit on past date done by subtracting the years from given date and make commits over a period of regular days. Also you can do alot with this code.

🛠️ Installation

Clone and fork the repository to make the changes in your local system.

git clone https://github.com/utsanjan/Github-Contribution-Bot
cd Github-Contribution-Bot

Now this command creates a directory named node_modules and installs all the required packages in it.

npm install

Finally, run the project to see what the moment package does.

node index.js

Voilà!! You can see the commit date in terminal.

💻 Commits

subtract(year, "y");

year here represents the year to start the commits. Greater the value of year, more dense the graph along main axis. Example - subtract(2,'y')

add(days, "d");

Difference of commits between timestamps. Less the value of days, more dense the contributon graph will be. Example - add(4,'d')

📞 Contact me

For Queries: My Instagram Profile
Check Out My YouTube Channel