Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Pudding124/stackoverflow-stats-box

Update a pinned gist to show your latest stackoverflow personal state
https://github.com/Pudding124/stackoverflow-stats-box

Last synced: 6 days ago
JSON representation

Update a pinned gist to show your latest stackoverflow personal state

Awesome Lists containing this project

README

        


screenshot

📌 Stack Overflow Stats Box





Show your stack overflow stats

> This project is inspired by many projects collected in [awesome-pinned-gists](https://github.com/matchai/awesome-pinned-gists)

## Overview

Show your stack overflow personal data, include top tag, badges and stats.

### Prep work

1. Create a new public GitHub Gist (https://gist.github.com/)
2. Create a token with the `gist` scope and copy it. (https://github.com/settings/tokens/new)

### Project setup

1. Fork this repo
2. Go to the fork repo's **Actions** tab to enable workflow in fork repo
3. Go to the fork repo's **Settings > Secrets**
4. Add the following environment variables:

- **GT_TOKEN:** The personal access token generated above.
- **GIST_ID:** The ID portion from your gist url:
ex: https://gist.github.com/Pudding124/**af7077999686aeac5df7963906bbba93**
- **USERID:** your stackoverflow user id, you can find it from your personal stackoverflow page
ex: https://stackoverflow.com/users/**8601026**/mars

5. [Pin your gist](https://docs.github.com/en/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile)
6. Wait for it to update (the github aciton cron job will run every 6 hours), or you can manually push the repo to trigger the action.