Skip to content

SConsul/auto_leetcode_stats

Repository files navigation

Automatic Leetcode Progress Tracker

The README.md is built using mustache, to automatically track your progress in Leetcode

Installation Instructions

  1. run $ npm init
  2. run $ npm i mustache
  3. run $ npm i puppeteer
  4. Enable workflows in your repository on GitHub (repo > Actions > Workflows)
  5. Format your README template by editting main.mustache
  6. In the leetcode folder, save your submissions as <SNo>_<easy/med/hard>_<hyphen-separated-problem-name>.*
  7. Push your changes (remeber to Pull first to update your local repository with the README auto-genenerated at the last Push)
  8. Run steps 6 and 7 as you solve more questions!

Preview of the Leetcode Statistics Tracker

Problems Solved: 5

Easy Medium Hard
1/529 3/1112 1/443

# Title Difficulty
1 Demo Prob Easy
5 Demo Prob II Medium
42 Demo Prob V Medium
100 Demo Prob III Hard
123 Demo Prob IV Medium



Check out this awesome tutorial on self-updating README files.

Check out this gist on how to create custom badges using shields.io.