Leetcoder
Automate your Leetcode problem-solving experience with Leetcoder. This powerful tool can automatically solve Leetcode questions, handle login seamlessly, scrape and organize your accepted solutions, and even resume solving questions from where you left off.
Install / Use
/learn @chanpreet3000/LeetcoderREADME
NOTE
- Works on new dynamic layout only.
- Only works on Windows. Do raise a PR if you can solve this problem for mac-os.
- Use Responsibly
- Last checked and working on 09-07-2024.
- Currently, No Data is being sent to anything external to your system.
Leetcoder
Leetcoder is a tool designed to automate your Leetcode experience, making problem-solving and scraping more efficient than ever. Whether you're a competitive programmer or a coding enthusiast, this bot can help you bump up the resume stats.
Automatically login, solve and scrape Leetcode questions seamlessly. With its advanced automated capabilities, Leetcoder can solve up to 200 problems in just 60 minutes.
Features
-
Automated Problem-Solving
Leetcoder automates the process of solving Leetcode questions.
-
Seamless Login
Leetcoder handles user authentication.
-
Solution Scraping
Leetcoder can scrape and organize your accepted solutions, making it easy to track your progress and maintain a personal archive of your coding accomplishments.
-
Resume Solving from Where You Left Off
Leetcoder remembers the last problem it solved, so it can resume solving questions right from where you left off.
Usage Disclaimer
Leetcoder should be used responsibly and solely for educational purposes. This bot is not intended to be used for unethical purposes, such as solving or faking solved problems on Leetcode for the purpose of gaining unfair advantages. Always follow Leetcode's terms of service and community guidelines when using this tool.
Getting Started
-
Clone the Leetcoder repository.
git clone https://github.com/chanpreet3000/Leetcoder -
Open Leetcoder in a code editor.
-
Inside the Editor's terminal run
yarn install. -
Make a file
.envinside of root's directory. -
Inside
.envfile copy and paste the text as it is.; Please change this for your convenience, will be only used to create google profile. USER_EMAIL=your_email_here ; Open Chrome, type chrome://version/ in url, replace the below string with `Executable Path` GOOGLE_CHROME_EXECUTABLE_PATH=C:/Program Files/Google/Chrome/Application/chrome.exe -
To start the bot run
node index.jsin the terminal. -
Directories for all the data stored
- Scraped Data
./UserData/your_email/LeetcoderData/ScrapedSolutions - Solver Data
./UserData/your_email/LeetcoderData/SolvedProblems.jsonconsists of array of solved problem names, so that the bot can resume where you left - Chrome Data:
./UserData/your_email/ProfileDatacontains all the chrome data to make sure you don't get logged out
- Scraped Data
Compatibility
Leetcoder is designed for use on Windows operating systems. It utilizes specific functionalities that are not compatible with macOS. As such, it is not supported on macOS.
Please ensure you are using a Windows environment when using Leetcoder for the best experience.
Contributing
If you'd like to contribute to the development of Leetcoder, we welcome your ideas, suggestions, and code contributions. Feel free to open issues and pull requests on our GitHub repository.
License
This project is licensed under the MIT License.
Related Skills
imsg
339.5kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
oracle
339.5kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
lobster
339.5kLobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (s
