LordDashMe / github-contribution-stats

Dynamically generated Github Contribution Stats. :chart_with_upwards_trend: :calendar:
https://github.com/LordDashMe/github-contribution-stats
MIT License
552 stars 27 forks source link

Contribution stats from Gitlab #10

Closed DieterHolvoet closed 2 years ago

DieterHolvoet commented 3 years ago

Congrats on this repo, I like the idea and the widget looks nice! I was wondering if you would consider adding the possibility to generate widgets for contribution sources other than Github, such as Gitlab. It would be cool to have widgets per Gitlab instance, e.g. gitlab.com and git.drupalcode.org (for Drupal contributions).

LordDashMe commented 3 years ago

Hello! @DieterHolvoet. Actually this is a great idea, yes right now we only support source data that came from Github. I will check other sources (ex. gitlab.com) if they have an open API to use :-). Thank you!

DieterHolvoet commented 3 years ago

Sure, Gitlab has an API: https://docs.gitlab.com/ee/api/

LordDashMe commented 3 years ago

Sure, Gitlab has an API: https://docs.gitlab.com/ee/api/

I see! that's great and they also supports GraphQL. Actually if you are free you can also contribute this feature :-), the project is open for any code changes :-)

akashshyamdev commented 3 years ago

Hey there! I'd like to take this up, but I'm not really aware of how this is done. I know Javascript, HTML, CSS and NodeJS. Could you point me out to some docs?