Naereen / badges

:pencil: Markdown code for lots of small badges :ribbon: :pushpin: (shields.io, forthebadge.com etc) :sunglasses:. Contributions are welcome! Please add yours!
https://naereen.github.io/badges/
MIT License
4.31k stars 547 forks source link

feat: add github contributor over time graph #33

Closed Yiyiyimu closed 3 years ago

Yiyiyimu commented 3 years ago

Hi community!

We're the maintainers of Apache APISIX. To better present how our community grows, we develop a tool to show contributors growing history on https://github.com/api7/contributor-graph. Since we found it helpful, we think maybe if it could help other communities. It has also already been deployed in Skywalking, DolphinScheduler, Openwhisk, Pingcap-doc and some other OSS repos.

WHAT IT IS

image

Basically, it just shows the contributors growth over time. All of the procedures are running on GCP, and it would automatically update the graph each day, so the link would always present the real-time data, just like starcc. There is some other stuff to play around with if you would like to give it a try~

HOW IT WORKS

We use Github API to get all commits, try to find the “Github way” to filter commits so the result data would be similar to Github, and then get the first commit time of each contributor.

Don't hesitate to tell us if there is a better place to present this graph other than this, or there are some other worries or other features you would like to have~🍻

Naereen commented 3 years ago

Hi there, I'm not against adding these graphs, but please do it yourself and submit a pull request.

Yiyiyimu commented 3 years ago

Hi @Naereen what else do I need to do besides this PR

chicks-net commented 3 years ago

It looks like the starchart one was already added in https://github.com/Naereen/badges/commit/79b6b89a70e64b82d3ad8ffe3817436a342e9342

Yiyiyimu commented 3 years ago

It looks like the starchart one was already added in 79b6b89

Yes I didn't modify that part but make screenshot of both projects side by side to show how it looks like