https://github.com/sudiptob2/leet-easy
Get notification when leetcode publishes an easy daily challenge and grab your leetcoins.
https://github.com/sudiptob2/leet-easy
desktop-notification hacktoberfest hacktoberfest2022 leetcode leetcode-daily-challenge leetcode-easy leetcode-notification
Last synced: 25 days ago
JSON representation
Get notification when leetcode publishes an easy daily challenge and grab your leetcoins.
- Host: GitHub
- URL: https://github.com/sudiptob2/leet-easy
- Owner: sudiptob2
- License: gpl-3.0
- Created: 2022-09-22T05:26:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-05T18:15:09.000Z (over 2 years ago)
- Last Synced: 2025-04-29T20:12:44.630Z (25 days ago)
- Topics: desktop-notification, hacktoberfest, hacktoberfest2022, leetcode, leetcode-daily-challenge, leetcode-easy, leetcode-notification
- Language: Python
- Homepage:
- Size: 371 KB
- Stars: 10
- Watchers: 1
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# LeetEasy

Desktop notification for easy daily challenges in [leetcode](https://leetcode.com/).We all know `Leetcode's` daily challenges are awesome :sunglasses: However, sometimes these challenges are quite difficult for people who are just starting out problem-solving :smiling_face_with_tear:
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** :coin: and stay motivated for the day :fire:## Requirements
- python >= 3.8
## Installation
```shell
pip install leeteasy
```
## run
Schedule leeteasy to send notification for easy leetcode problem at 14:30 (24 hours format time)
```shell
python -m leeteasy start 14:30 &
```
To add additional difficulty```shell
python -m leeteasy start 14:30 --difficulty medium &
```
This will schedule leeteasy for **Easy and Medium** problem.
To stop leeteasy
```shell
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.
```shell
# open cronjob editor
crontab -e# add the following line
@reboot python -m leeteasy start 14:30 &```
## ContributingWe are very happy to see you here. Before sending your pull requests, make sure that you read the whole workflow and the naming conventions mentioned in the [contributing guidelines](docs/CONTRIBUTING.md).
If you have any doubts regarding the contributing guidelines, please feel free to [state it clearly in an issue](https://github.com/sudiptob2/leet-easy/issues/new/choose). All the best!