Home

Awesome

Leetcode Skills Box

<p align="center"> <img src="leetcode-skills-box.png"> <p align="center">Automatically update a pinned gist with your top leetcode skills.</p> <p align="center">📌 Check out more pinned gists at <a href="https://github.com/matchai/awesome-pinned-gists">Awesome Pinned Gists</a></p> </p>

Getting Started

  1. Create a new public gist with your title of choice (e.g 'Top Leetcode Skills') (https://gist.github.com/)
  2. Create a token with the gist scope and make note of the API token (https://github.com/settings/tokens/new)
  3. Fork this repo
  4. Add new secrets in your fork's Settings > Secrets and variables > Actions:
    • GH_TOKEN the API token generated in step 2
    • GIST_ID the ID part of the gist URL (after your username)
    • LEETCODE_USERNAME your leetcode username
  5. Finally, go to your profile and add your gist to your pins by clicking customize your pins

Ignoring difficulties/skills

If you want to exclude certain difficulties or individual skills you can do this by adding a variable (variable tab next to secrets) called IGNORED_SKILLS and enter a list of skills/difficulties to ignore separated by commas.

Hiding difficulty labels

You can do this by adding a variable (variable tab next to secrets) called HIDE_DIFFICULTY and setting it to True.

Information

The Github action runs on a schedule, at 00:00 every day. The action is also triggered when there is a new push to the repo. This can be changed by updating the main.yml file under .github/workflows