Skip to content

A tool allowing you to display or build your merged contributions from different services. Currently supported: Github, Gitlab.

License

Notifications You must be signed in to change notification settings

mpellouin/contributions

Repository files navigation

Contributions

A tool allowing you to display or build your merged contributions from different services. Currently supported: Github, Gitlab.

/assets/README_image.jpg

Authors

API Reference

Get your contribution data

  GET /contributions?github_id=${github_id}&gitlab_id=${gitlab_id}
Parameter Type Description
github_id string Required. Your github username.
gitlab_id string Required. Your gitlab username.

Get Heatmap from contribution data (returns URL)

  GET /contributions/heatmap?github_id=${github_id}&gitlab_id=${gitlab_id}
Parameter Type Description
github_id string Required. Your github username.
gitlab_id string Required. Your gitlab username.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

GITHUB_TOKEN: a PAT allowing you to query the Github graphql API. (know more)

PLOTLY_USER: Your plotly username.

PLOTLY_API_KEY: Your own plotly api key. (get it here)

Run Locally

Clone the project

  git clone [email protected]:chunk-so/contributions.git

Go to the project directory

  cd contributions

Install dependencies

  yarn install

Start the server

  yarn start

Known issues

Plotly free plan includes 100 plot generation. Therefore if you use the github action and have a free plan on plotly, the action will stop working the 100th day.

License

MIT

About

A tool allowing you to display or build your merged contributions from different services. Currently supported: Github, Gitlab.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published