Skip to content

Louismousine/github-graffiti

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Graffiti Creator

Forked from https://github.com/mavrk/github-graffiti

Hoping to resolve the issues highlighted in the issues section. (Make templates serializable, add copy-paste). Additions from original repository: added a toolbox to select colors to allow for faster drawing. :) One was previously required to click up to 4 times per square to add a color.

Added consideration for the maximum amount of contributions done in a period so that the coloring will stay true to that of the template. :)

What do you need?

  1. Java runtime environment (https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html)
  2. A bash terminal (https://gitforwindows.org/ will work like a charm for Windows users)

How to get started?

Step-1 Clone this repository git clone https://github.com/louismousine/github-graffiti

Step-2 Open the GUI editor

cd github-graffiti
cd dist
java -jar Selectable_Grid.jar

Click on any cell to color it, click again to cycle through colors Sample Design

Step-3 Once done with making your design, right clicking anywhere inside the designer window. Enter the date (when you want this pattern to be displayed). A dates.txt file will be generated.

If dates.txt isn't generated for you. Run the jar file using a terminal and copy the content generated in the terminal to a new file dates.txt

Step-4 Create a new repository (or use an old one). Let us call this 'myrepo'

Step-5 git clone https://github.com/myuser/myrepo

Step-6 If the repository is not initialised git init

Step-7 To make sure that your commits are reflected in the contributions chart add the email address

git config --local user.email [email protected]

NOTE : This email should be assosciated to the same github account you created the repo in.

Step-8 Copy dates.txt and paint.sh into myrepo where 'myrepo' is your repository.

cd /your_path/github-graffiti/dist
cp dates.txt /your_path/myrepo
cd /your_path/github-graffiti
cp paint.sh /your_path/myrepo

Step-9 Run the script bash paint.sh dates.txt

About

Fun little Java applet to draw github contributions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 93.1%
  • Shell 6.9%