Skip to content

About

:octocat: Draw on your GitHub contribution graph ░▒▓█

Topics

Resources

Stars

1.5k stars

Watchers

16 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Spray

An utility to generate sprays for your GitHub commit graph history

Installation

npm i -g github-spray

Requirement

  • git should be installed

Usage

github-spray -t hello --push --origin https://github.com/XXX/yyy.git
github-spray --help

Custom pattern

To use a custom pattern, create a javascript file like follow.
The numbers (1 to 9) will determine the darkness of the green.

module.exports = [
    '  999',
    ' 9   9',
    '9 9 9 9',
    '9     9',
    '9 999 9',
    ' 9   9',
    '  999'
];
github-spray -f path/to/pattern.js ...

Custom start date

github-spray --startdate YYYY-MM-DD ...

The date will be rounded to the nearest sunday.
By default the start date is the nearest sunday of the current date - 53 weeks.

About

:octocat: Draw on your GitHub contribution graph ░▒▓█

Topics

Resources

Stars

1.5k stars

Watchers

16 watching

Forks

Releases

Packages

Used by

Contributors

Languages