Skip to content

nikolaydubina/calendarheatmap

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
web
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Go Report Card Go Reference codecov Tests Awesome

Self-contained, plain Go implementation of calendar heatmap inspired by GitHub contribution activity available via CLI and calendarheatmap.io

$ go install github.com/nikolaydubina/calendarheatmap@latest 
$ echo '{
    "2020-05-16": 8,
    "2020-05-17": 13,
    "2020-05-18": 5,
    "2020-05-19": 8,
    "2020-05-20": 5
}' | calendarheatmap > chart.png

Basic

basic

Colorscales

col1 col2 col2

UTF-8 col1

SVG

svg

Without month separator nosep

Without labels nolab

Without labels, without separator nosep_nolab