Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.6 KB

README.md

File metadata and controls

50 lines (43 loc) · 1.6 KB

LeetEasy



Desktop notification for easy daily challenges in leetcode.

We all know Leetcode's daily challenges are awesome 😎 However, sometimes these challenges are quite difficult for people who are just starting out problem-solving 🥲
This tool will send desktop notification when an Easy daily problem is published. This way you won't miss any opportunity to grab some easy Leetcoins 🪙 and stay motivated for the day 🔥

Requirements

  • python >= 3.8

Installation

pip install leeteasy

run

Schedule leeteasy to send notification for easy leetcode problem at 14:30 (24 hours format time)

python -m leeteasy start 14:30 &

To add additional difficulty

python -m leeteasy start 14:30 --difficulty medium &

This will schedule leeteasy for Easy and Medium problem.

To stop leeteasy

python -m leeteasy stop

NOTE: By default leeteasy checks for scheduled task in every 1 hour/3600 seconds. So there might be 1-hour delay from the actual scheduled time while getting the notification. However, this can be controlled using --sleep_duration option.

Linux cronjob guide

Set a cronjob to automatically start leeteasy at system boot.

# open cronjob editor
crontab -e

# add the following line
@reboot python -m leeteasy start 14:30 &

Contribution guideline

If you like this project and want to improve by adding features, fixing bugs or anything, please follow the contributing guidelines.