A tool allowing you to display or build your merged contributions from different services. Currently supported: Github, Gitlab.
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 /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. |
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)
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
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.