1
0
mirror of https://github.com/nikolaydubina/calendarheatmap.git synced 2025-02-15 09:12:50 +02:00
calendarheatmap/README.md

47 lines
1.4 KiB
Markdown
Raw Normal View History

2020-07-02 03:23:17 +08:00
[![Go Report Card](https://goreportcard.com/badge/github.com/nikolaydubina/calendarheatmap)](https://goreportcard.com/report/github.com/nikolaydubina/calendarheatmap)
2020-12-21 16:44:52 +08:00
[![Go Reference](https://pkg.go.dev/badge/github.com/nikolaydubina/calendarheatmap/charts.svg)](https://pkg.go.dev/github.com/nikolaydubina/calendarheatmap/charts)
2020-07-03 15:27:49 +08:00
[![codecov](https://codecov.io/gh/nikolaydubina/calendarheatmap/branch/master/graph/badge.svg)](https://codecov.io/gh/nikolaydubina/calendarheatmap)
2020-07-04 12:11:30 +08:00
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
2020-07-03 10:56:33 +08:00
2020-07-02 03:04:05 +08:00
Self-contained, plain Go implementation of calendar heatmap inspired by Github contribution activity.
2020-07-02 03:02:51 +08:00
```
$ go build
$ echo '{
"2020-05-16": 8,
"2020-05-17": 13,
"2020-05-18": 5,
"2020-05-19": 8,
"2020-05-20": 5
}' | ./calendarheatmap > chart.png
```
2020-07-03 15:16:42 +08:00
Basic
2021-02-27 15:38:13 +00:00
![basic](docs/basic.png)
2020-07-03 15:16:42 +08:00
2020-07-02 02:48:34 +08:00
Colorscales
2021-02-27 15:38:13 +00:00
![col1](docs/colorscale-1.png)
![col2](docs/colorscale-2.png)
![col2](docs/colorscale-3.png)
2020-07-02 02:48:34 +08:00
2020-09-29 20:06:10 +08:00
UTF-8
2021-02-27 15:38:13 +00:00
![col1](docs/korean.png)
2020-09-29 20:06:10 +08:00
2020-12-07 19:55:29 +08:00
SVG
2021-02-27 15:38:13 +00:00
![svg](docs/korean.svg)
2020-12-07 19:55:29 +08:00
2020-07-02 02:50:20 +08:00
Without month separator
2021-02-27 15:38:13 +00:00
![nosep](docs/noseparator.png)
2020-07-02 02:48:34 +08:00
2020-07-02 20:07:08 +08:00
Without labels
2021-02-27 15:38:13 +00:00
![nolab](docs/nolabels.png)
2020-07-02 20:07:08 +08:00
Without labels, without separator
2021-02-27 15:38:13 +00:00
![nosep_nolab](docs/noseparator_nolabels.png)
2021-02-16 21:43:57 +08:00
## GitHub stars over time
[![GitHub stars over time](https://starchart.cc/nikolaydubina/calendarheatmap.svg)](https://starchart.cc/nikolaydubina/calendarheatmap)