Skip to content

strangertomycode/leetcode-sync-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-sync-tool

A Python tool that automatically uploads accepted LeetCode solutions to a GitHub repository, organized by problem number and title, with a self-updating README indexed by difficulty and topic.

Stack

Python · PyGithub · LeetCode GraphQL API · Streamlit · python-dotenv

Setup

  1. Clone the repo
  2. Create a virtual environment and run install the requirements
  3. Copy .env.example to .env and fill in your credentials
  4. Run python src/sync.py

Note

Requires a GitHub Personal Access Token (repo scope) and a LeetCode session cookie. See .env.example for required variables.

About

Automates syncing accepted LeetCode solutions to a structured GitHub repository with auto-generated README indexing by difficulty and topic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages