Skip to content

Automated daily LeetCode submission tracker and streak calculator. (Currently being blocked by Cloudflare)

License

Notifications You must be signed in to change notification settings

AzeemIdrisi/LeetCode-Streak-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Features

  • 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.

Screenshot

Requirements

  • Python
  • Selenium
  • BeautifulSoup
  • LXML
  • Chrome Browser

Installation

GitHub Actions

  1. Fork this repository.
  2. Enable GitHub actions workflow associated with the repository.
  3. Enable GitHub Pages for this repository to see deployed page.

Local

  1. Clone the repository:

    git clone https://github.com/AzeemIdrisi/leetcode-streak-tracker.git
  2. Install the required dependencies:

    pip install selenium beautifulsoup4 lxml selenium-stealth
  3. Download the latest version of Google Chrome from the official website if you haven't already.

  4. 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
  1. Run the program:

    python main.py

Contributing

Contributions are welcome! Please open an issue or submit a pull request with your suggestions.

License

This project is licensed under the GPL License - see the LICENSE file for details.

About

Automated daily LeetCode submission tracker and streak calculator. (Currently being blocked by Cloudflare)

Topics

Resources

License

Stars

Watchers

Forks