LeetCode Streak Tracker is a powerful Python script that automates the tracking of daily unofficial LeetCode streaks. It's perfect for those who love a little friendly competition, allowing users to compete against their friends to maintain the longest streak. With automatic updates every day, it's never been easier to stay on top of your game.
Are you doing 100 days of code challenge?
Add your LeetCode username to usernames.txt
and make a pull request to see your streaks on the page.
- Track daily non-contest LeetCode streaks for multiple users.
- Add friends to the competition and view their streaks using their username only.
- Leaderboard to display the longest streaks among friends.
- Daily automatic updates.
- Python
- Selenium
- BeautifulSoup
- LXML
- Chrome Browser
- Fork this repository.
- Enable GitHub actions workflow associated with the repository.
- Enable GitHub Pages for this repository to see deployed page.
-
Clone the repository:
git clone https://github.com/AzeemIdrisi/leetcode-streak-tracker.git
-
Install the required dependencies:
pip install selenium beautifulsoup4 lxml selenium-stealth
-
Download the latest version of Google Chrome from the official website if you haven't already.
-
Create a file
usernames.txt
:
- Add each user's username in new line (Do not leave any empty lines at last).
- Example:
AzeemIdrisi
MridulTiwari
k-Sameer_701
-
Run the program:
python main.py
Contributions are welcome! Please open an issue or submit a pull request with your suggestions.
This project is licensed under the GPL License - see the LICENSE file for details.