Update a pinned gist to show your LeetCode stats.
📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists
- Create a new public GitHub Gist (https://gist.github.com/)
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new) - Find the username from your LeetCode profile
https://leetcode.com/{username}
- Fork this repository
- Go to your fork's
Settings
>Secrets
>Add a new secret
for each environment secret:GIST_ID
: 32 bits ID from your gist URLhttps://gist.github.com/{github_username}/
762ebda9730630395aabdee06ce58fd1
GH_TOKEN
: The GitHub token generated aboveLEETCODE_USERNAME
: Your LeetCode Username