opensource-place / frontend

The platform includes open-source projects. You can list all published open-source projects and also add your project on Github to the platform and your projects make open source!
https://opensource.place
MIT License
26 stars 20 forks source link

Percent can be used while showing project languages #105

Open mertcb opened 3 years ago

mertcb commented 3 years ago

I guess the line count is used here.

Ekran Resmi 2021-02-22 13 10 18

It might be percent 🤔

fport commented 3 years ago

Data it uses: https://api.github.com/repos/opensource-place/frontend/languages

mertcb commented 3 years ago

That's normal, but we can calculate, for example { "JavaScript": 45473, "HTML": 3118, "CSS": 2973 }

total is 51.564, CSS percent is (2973/51564)*100 = 6%