Ain't got time to solve the daily challenge ? Use this instead!
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
The 🤖 bot requires Node.js to run.
-
Clone the repo
git clone https://github.com//KevzPeter/LeetCode-Daily-Challenge-Bot.git
-
Install NPM packages
npm install
-
Add your LeetCode credentials as environment variables using the following Keys:
- LEETCODE_USERNAME
- LEETCODE_PASSWORD
OR
Add your LeetCode credentials within credentials.json file
{ "USERNAME": "enter your username here", "PASSWORD": "enter your password here" }
-
Restart your IDE/Terminal for your environment variables to get loaded successfully. (Not required for option 2 in step 3)
Run the following command and sit back and relax 🍸
npm run bot
If you want to switch languages, add the following flag:
npm run bot --lang=Java
Accepted languages [C++, Java, Python3] (default = C++)
- Provide option to choose programming language (Currently supports C++ or whatever's available in the first tab in the editorial)
- Bypass Recaptcha
- Fix MacOS bug
See the open issues for a full list of proposed features (and known issues).
Any contributions you make are greatly appreciated.
Don't forget to give the project a ⭐ STAR ⭐! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request