anuraghazra / github-readme-stats

:zap: Dynamically generated stats for your github readmes
https://github-readme-stats.vercel.app
MIT License
69.47k stars 23k forks source link

Lines of Code in Top Languages Card #2401

Open linuskmr opened 1 year ago

linuskmr commented 1 year ago

Is your feature request related to a problem? Please describe.

Showing the (relative) percentage of used languages is great, but I also want to show off the absolute number of lines I have written in a particular language.

For example, only because someone mostly uses Python doesn't have to imply that they are confident writing it, because they maybe just wrote 150 lines of it.

Describe the solution you'd like

In the Top Languages Card after the percentage number, I would like to have the absolute lines of code displayed. A sketch can be found below.

language-card-with-sloc

Describe alternatives you've considered

No response

Additional context

No response

ghost commented 1 year ago

I fully support this idea, just think that it should only be a number rather than a number and SLOC. Also resizing the compact layout for the top lang's card would be necessary, it's way too cluttered.

rickstaa commented 1 year ago

@linuskmr your feature is a nice addition. It, however, is infeasible with the current GraphQL limitations (see https://github.com/anuraghazra/github-readme-stats/issues/1692). It could, however, be implemented when the GitHub action version is released (see https://github.com/anuraghazra/github-readme-stats/issues/2179).