piotrl / github-profile-card

Simple and easy to use widget with your GitHub profile — No dependencies
https://piotrl.github.io/github-profile-card
MIT License
96 stars 10 forks source link

Do not show top languages #25

Closed Giorgi closed 4 years ago

Giorgi commented 4 years ago

Looks like most of the time for getting the data is spent on getting language details so can we have an option to skip language details and don't show it?

piotrl commented 4 years ago

Looks like good idea to optionally disable this functionality.

Would you like to jump into this maybe? Here's section of code that'd need to be disabled:

New configuration would need to be handled:

And here is small app to test:

Dev process:

Giorgi commented 4 years ago

When I run yarn dev I get:

'WEBPACK_ENV' is not recognized as an internal or external command, operable program or batch file.

Any suggestions ?

piotrl commented 4 years ago

are you using windows cmd?

Maybe you can try git-bash that imitates linux-like CLI? https://gitforwindows.org/

Giorgi commented 4 years ago

Same error with git-bash

Giorgi commented 4 years ago

Solved it with cross-env

piotrl commented 4 years ago

Super cool, thanks @Giorgi for contribution! This is so awesome, you're first contributor of this project :D

I released version 3.1.0 with some fixes. See it here: https://github.com/piotrl/github-profile-card/releases

Giorgi commented 4 years ago

You are welcome. Thanks for the new release!