Skip to content

Daniel-wambua/hackGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,031 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 hackGraph

With hackGraph, you can make your GitHub profile look like you've been hard at work... even if you haven't. This Node.js script lets you create commits in the past (or the future) to fill your GitHub contribution graph with custom patterns, artwork, or just a lot of green!

About

hackGraph helps you generate commits on your GitHub profile for any date. Whether you want to fill up your contribution graph or create cool designs, hackGraph makes it easy.

Getting Started

Follow these steps to bring your contribution graph to life:

  1. Clone this repository
git clone https://github.com/fenrir2608/hackGraph.git
cd hackGraph
  1. Set up your project Initialize a new Node.js project:
npm init -y
  1. Install the required npm modules Install all dependencies:
npm install moment simple-git random
  1. Create your commit script
  • Create a JavaScript file to manage your commits.
  • Create a JSON file to store all the commit timestamp data.

Room for Improvement

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.

npm Modules Used

  • moment - Handles date and time manipulation.
  • simple-git - For easy Git commands.
  • random - To generate random numbers for the commits.

Credits

Huge thanks to Akshay Saini and homyorke for the original inspiration behind this project.

About

Make your GitHub graph look like you’re working—even when you’re not!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors