Skip to content

Top languages sorted by repositories or commits #2545

@MR-Addict

Description

@MR-Addict

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

It seems that default top languages is sorted by repositories that contains corresponding language.

But that's not always the case. Top languages sorted by commits could be more precise.

Describe the solution you'd like

Add an options to API like this:

https://github-readme-stats.vercel.app/api/top-langs?method=repos;
#or
https://github-readme-stats.vercel.app/api/top-langs?method=commits;

Describe alternatives you've considered

No response

Additional context

A similar profile summary project given these two options:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions