Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Exclude Repository from "Most Commit Language" Calculation #198

Open
ChunhThanhDe opened this issue Sep 27, 2024 · 1 comment

Comments

@ChunhThanhDe
Copy link

Feature Request: Exclude Repository from "Most Commit Language" Calculation

Describe the enhancement

I would like to request a feature that allows the exclusion of specific repositories from the calculation of the "Most Commit Language" in the GitHub Profile Summary Cards.

Currently, the API endpoint:

http://github-profile-summary-cards.vercel.app/api/cards/most-commit-language?username={username}&theme={theme_name}&exclude_repo={exclude_repo}

does not support an exclude_repo parameter. This feature would be useful for users who want to exclude specific repositories (e.g., documentation-heavy or template repositories) that may skew the results of the most-used programming languages.

Expected Behavior:

  • Add an exclude_repo parameter to the API that allows users to exclude certain repositories from being considered in the "Most Commit Language" calculations.
  • Example:
    http://github-profile-summary-cards.vercel.app/api/cards/most-commit-language?username=user123&theme=default&exclude_repo=repo1,repo2
    

This would ensure that the "Most Commit Language" card more accurately reflects the coding activities by excluding repositories that don't align with the user's main coding languages.

Thank you for considering this enhancement.

@griffi-gh
Copy link

griffi-gh commented Nov 16, 2024

Would like this feature too. Currently the card includes my commits to my nixos configuration and dotfiles which I don't really like, but i don't want to exclude the Nix language altogether since i still want it to count my contributions to other repos :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants