The README.md is built using mustache, to automatically track your progress in Leetcode
- run
$ npm init - run
$ npm i mustache - run
$ npm i puppeteer - Enable workflows in your repository on GitHub (repo > Actions > Workflows)
- Format your README template by editting
main.mustache - In the
leetcodefolder, save your submissions as<SNo>_<easy/med/hard>_<hyphen-separated-problem-name>.* - Push your changes (remeber to Pull first to update your local repository with the README auto-genenerated at the last Push)
- Run steps 6 and 7 as you solve more questions!
Problems Solved: 5
| Easy | Medium | Hard |
|---|---|---|
| 1/529 | 3/1112 | 1/443 |
| # | Title | Difficulty |
|---|---|---|
| 1 | Demo Prob | |
| 5 | Demo Prob II | |
| 42 | Demo Prob V | |
| 100 | Demo Prob III | |
| 123 | Demo Prob IV |
Check out this awesome tutorial on self-updating README files.
Check out this gist on how to create custom badges using shields.io.