Skip to content

Store, organize, and visualize all of your LeetCode solutions

Notifications You must be signed in to change notification settings

AdityaRao127/leetcode-stats-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

How to Use

  1. Fork this repository.
  2. Go to LeetCode and log in to your account
  3. Open Developer Tools (F12 or right-click -> Inspect)
  4. Go to the Application tab and refresh the page
  5. In the Cookies section, find:
    • LEETCODE_SESSION
    • csrftoken
  6. In your repository's Settings → Secrets and Variables → Actions, add:
    • LEETCODE_SESSION (from cookies)
    • LEETCODE_CSRF_TOKEN (from cookies)
  7. In Settings → Actions → General, enable 'Read and write permissions'
  8. The workflow runs daily at 15:00 UTC to update your stats. Go to the actions tab and ensure the workflows are not disabled
  9. If you want to run it manually to see your stats and solutions organized quickly, then go to the Actions section and run the #1 successfully twice. Then you can run #2 and #3 subsequently, and it will work.

⚠️If you receive this error: Error: TypeError: response.data.data.submissionList.submissions is not iterable, re-enter your CSRF token and session (perform steps 2-6 again)

If everything runs as expected, you will see something like this

Credits

This project uses LeetCode Sync to fetch solutions, runtime, and memory usage data from LeetCode.

About

Store, organize, and visualize all of your LeetCode solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published