mappum/gitbanner

take into account other commits

Opened this issue · 2 comments

An excellent enhancement would be to have an option to take into account existing commits on your github account when creating the repo. I'm not sure how hard that information is to fetch. It would be changed if new commits showed up with an older date on them, such as if a repo was posted for the first time, but you could just regenerate it. And that's no worse than the current situation where already-visible commits can make it harder to read.

A low-effort way to solve this would be to just raise the number of commits per pixel, which should skew down the real commits. I left the default pretty low because it is already pretty slow, but I could add a command line flag to raise it for people with a lot of activity.