github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

Lines of Code in Top Languages Card

Open linuskmr opened this issue 3 years ago • 1 comments

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

linuskmr avatar Jan 13 '23 10:01 linuskmr

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.

ghost avatar Jan 15 '23 02:01 ghost

@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).

rickstaa avatar Apr 24 '23 19:04 rickstaa