Note: The stats above are just examples and not from your GitHub profile.
Create .github/workflows/streak-stats.yml in your profile repository. For private contributions, create a repository secret named STREAK_STATS_TOKEN and replace ${{ secrets.GITHUB_TOKEN }} with ${{ secrets.STREAK_STATS_TOKEN }} in the workflow below.
Copy the Markdown snippet below and add it to your README file where you want the streak stats to appear.
Copy the HTML snippet below and add it to your README file where you want the streak stats to appear.
Use the API URL to fetch your streak stats as a JSON object.