Skip to content

Write text on the GitHub contribution heatmap by autogenerating commits

License

Notifications You must be signed in to change notification settings

matiaslindgren/ghht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Heatmap Text (GHHT)

Pretend the green squares on GitHub heatmaps are pixels and "render" text on them with this useless Python package.

alt

Install

python3 -m pip install --user https://github.com/matiaslindgren/ghht/archive/v0.5.2.zip

Examples

python3 -m ghht -h

Git commits

Create an empty directory (or use an existing git repo) and fill it with some commits:

mkdir commit-sink
python3 -m ghht "hello." 2015 --pad-left 8 --git-repo ./commit-sink

Then push commit-sink to a repository on GitHub.

ASCII output

Run with --ascii to print results to stdout instead of generating commits.

python3 -m ghht 'haha wow! :DDD' 2014 --ascii

Output:

2014

 #  #  ##  #  #  ##       #  #  ##  #  #  #
 #  # #  # #  # #  #      #  # #  # #  #  #
 #### #### #### ####      #  # #  # #  #  #
 #  # #  # #  # #  #      #### #  # ####
 #  # #  # #  # #  #      #  #  ##  #  #  #
2013

           ###  ###  ###
       #   #  # #  # #  #
           #  # #  # #  #
       #   #  # #  # #  #
           ###  ###  ###

About

Write text on the GitHub contribution heatmap by autogenerating commits

Topics

Resources

License

Stars

Watchers

Forks

Languages