0.06
Low commit activity in last 3 years
No release in over a year
Uses GithubStats to grab Github contributions scores and converts that into an SVG
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.9.7

Runtime

~> 1.0.0
~> 4.0.1
~> 0.4.2
 Project Readme

GithubChart

Gem Version GitHub Workflow Status MIT Licensed

Generates an SVG of your Github contributions:

Example image

Other user example

Usage

Run githubchart path/to/svg to generate an SVG. To override the default username (pulled from your local shell or .gitconfig), use githubchart -u username path/to/svg

GithubChart also allows you to provide input from a file instead of pulling data from Github. You can pass JSON to GithubChart by using githubchart -i /path/to/file /path/to/svg, or use '-' to use STDIN. See spec/examples/input.json for example data.

If you don't provide a file path, the resulting SVG will be printed to stdout.

To modify the color scheme used, you can provide -c SCHEME. For example, githubchart -c halloween uses GitHub's halloween colors. Use -s to list the available schemes.

Hosted SVG

A hosted service for loading these SVGs was made by 2016rshah: http://ghchart.rshah.org/ (source code)

Installation

gem install githubchart

License

githubchart is released under the MIT License. See the bundled LICENSE file for details.