taichi / gontributions

GitHub Contribution Graph Hack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Contribution Graph Hack

Usage

Build

Download from build.io.

or

go get github.com/taichi/gontributions
go install github.com/taichi/gontributions

Make your ASCII ART

requirements are

  • 8 lines
    • last line must be blank
  • 50 characters
  • use ' ','-','*','@','#'. right one is more dark green.

Execute gontributions command

if you don't specify source file, gontributions uses source.txt

Push generated repository to GitHub

Options

key description default value
name author and commiter name read from your global config
email author and commiter email read from your global config
repo new repository destination path ./repo
base number of commits for graph 10
msg commit message happy hacking !!

Options example

gontributions -name=anonymous -mail=anonymous@example.com yamashiro.txt

Examples

source.txt

#     # #   #     #   #    ####  ### #####   ##* 
 #   #  #   ##   ##   #   #*   #  #  #*   # #* #*
  # #  ###  #*# # #  ###  #*      #  #*   ##*   #
   #   #@#  #* #  #  #@#   ####*  #  ##### #*   #
   #  ##### #*    # #####      #  #  #* #  #*   #
   #  #   # #*    # #   # #*   #  #  #*  #  #* #*
   # ##   ###*    ###   ## ####  ### #*   #  ##* 

rendered graph

see also

About

GitHub Contribution Graph Hack

License:MIT License


Languages

Language:Go 100.0%