lauripiispanen / most-active-github-users-counter

CLI tool that queries the GitHub GraphQL API for users and ranks them according to number of contributions
https://commits.top/
MIT License
1.27k stars 195 forks source link

Profile Badge! #115

Open mustafaozhan opened 3 years ago

mustafaozhan commented 3 years ago

It is great repo! I think you definitely need to create profile badges, so that people can use in their personal profile README.md files !

koutsie commented 3 years ago

Sounds like an usable idea?

rubiin commented 3 years ago

looks cool

jishanshaikh4 commented 3 years ago

@mustafaozhan @koutsie @rubiin

There you go! Change your rank accordingly:

rubiin commented 3 years ago

cool

rubiin commented 3 years ago

can you also share how to setup that badge

jishanshaikh4 commented 3 years ago

@rubiin Markdown:

<a href="https://commits.top/india_public.html" target="_blank">
<img src="https://img.shields.io/static/v1?label=commits.top_rank&message=11&color=brightgreen" />
</a>
fbiego commented 3 years ago

I made this

![commits.top ranking](https://iot.fbiego.com/api/v1/commits?user=fbiego&country=kenya)

commits.top ranking

mustafaozhan commented 3 years ago

@fbiego it is great! Is there any documentation or something in order to theme it? Like this one?

fbiego commented 3 years ago

@mustafaozhan currently, there are no styling options. you only have to specify your country and github username

fbiego commented 3 years ago

@mustafaozhan I've added some color styling options, check it here commits-top-badge

mustafaozhan commented 3 years ago

@fbiego that's great 🎉 thanks a lot!

ashkulz commented 2 years ago

@fbiego that looks amazing! I'm thinking of using the approach taken by @jishanshaikh4 (depending on static badges by shields.io) in my fork which is updated more frequently :+1:

ashkulz commented 2 years ago

I've implemented badges in my fork -- see https://committers.top#badges

ashkulz commented 2 years ago

@lauripiispanen do you have any feedback on the approach I've taken for the badges?

mustafaozhan commented 2 years ago

@fbiego's solution doesn't seem to work anymore, would it be possible to add it into main repo something similar ?

ashkulz commented 2 years ago

@mustafaozhan you can use the profile badges I have on my fork as I'm not sure when @lauripiispanen will have the time to work on this.

fbiego commented 2 years ago

@mustafaozhan I have resolved the issue

fbiego commented 2 years ago

@ashkulz is there a way you can integrate this into your fork? commits-top-badge

ashkulz commented 2 years ago

@fbiego I'm not sure what you mean. Can we move the discussion to my fork, please? :slightly_smiling_face:

MarienMupenda commented 2 years ago

This is already implemeted but i've noticed that the bage link doesn't appear when you visit from you laptop, mobile only.

ashkulz commented 2 years ago

@MarienMupenda which badge implementation are you referring to?