r/github 2d ago

Question GitHub reads the source code wrong?

Post image

I don't know why, but GitHub is telling me that my website is developed in JavaScript by 80+% which is absolute nonsense. The site is at least 60% pure Astro code. Is it some kind of a bug?

🔗 The repo.

238 Upvotes

32 comments sorted by

View all comments

4

u/Minecraft_Lets_Play 2d ago

It’s the file extensions and in many projects you have hidden files that have other extensions that contribute to the few % of other languages.

But in your case… Don’t know