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.
Python · PyGithub · LeetCode GraphQL API · Streamlit · python-dotenv
- Clone the repo
- Create a virtual environment and run install the requirements
- Copy
.env.exampleto.envand fill in your credentials - Run
python src/sync.py
Requires a GitHub Personal Access Token (repo scope) and a LeetCode session cookie. See .env.example for required variables.