Like on a GitHub/GitLab profile

bin fix names 7 months ago
examples Refactor: methods now take a conf parameter instead of using the double splat operator 6 months ago
lib Change variable name color => level 6 months ago
.gitignore add gem support 7 months ago
Gemfile Add support for custom image formats 6 months ago
Gemfile.lock Add support for custom image formats 6 months ago
README.markdown Add warning 6 months ago
StreakPng.gemspec Add support for custom image formats 6 months ago
README.markdown

StreakPng

It's not stable yet!

As a RubyGem

gem "StreakPng", :git => "https://github.com/TanguyAndreani/StreakPng.git"

Go check the demo!

Convert from CSV

gem install specific_install
gem specific_install https://github.com/TanguyAndreani/StreakPng.git

streak_from_csv -- output.png <<EOF
sport,20 pushups,2020.08.12
sport,20 min running,2020.08.12
code,my super project,go,2020.08.01
EOF

open output.png

Or go read streak_from_csv to see how you can generate charts with your own data.

If you're just going to use the executable, just know that you can put whatever in your csvs as long as the last field is the date.

Contributing

Regenerating examples

bundle exec ruby -Ilib examples/generate.rb