anuraghazra / anuraghazra/github-readme-stats

Language detection show languages that I've never used

Offen
#450 15 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement lang-card
Vorherrschende Sprache
JavaScript
Sterne
79.8k
Forks
37.7k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Describe the bug**

I think that the app detect repos that not necessary is representational, that's why it show Lua and C for my username.

**Expected behavior**
I expect to have different language stat, I've done almost none Lua and C.

**Screenshots / Live demo link (paste the github-readme-stats link as markdown image)**
![](https://github-readme-stats.vercel.app/api/top-langs/?username=jcubic&layout=compact)

I've never written any line of Lua code in my life, maybe I have fork with langauge in it.

I expect to have JavaScript, CSS, Scheme, PHP languages maybe TypeScript.

**Additional context**

Maybe the app should sort repos by stars so it show most faved repos which in turn will give most worked on repos.

Here is GraphQL query that show more relevant repositories (at least for me, tested in [GraphQL explorer](https://developer.github.com/v4/explorer/)):
```
query {
user(login: "jcubic") {
# fetch only owner repos & not forks
repositories(ownerAffiliations: OWNER, isFork: false, first: 100, orderBy:{field: STARGAZERS, direction: DESC}) {
nodes {
languages(first: 10, orderBy: {field: SIZE, direction: DESC}) {
edges {
size
node {
color
name
}
}
}
}
}
}
}
```

Right now it show my first repo. Maybe they show up at random, that would be worst case.

Just FYI `lua` came from ToME game, repo that I've just copied from internet so it don't get lost, it was hard to find, I've not written even one line of it. Maybe you should also count number of commits in repo. ToME have exactly 3 commits.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.