BotBot LeetCode Daily Challenge Notifier is a simple automated bot designed to fetch daily coding challenges from LeetCode and send notifications with the challenge details. Currently, it supports notifications via Telegram.
Features
Fetches the daily coding challenge from LeetCode.
Formats messages appropriately for different platforms (now is only for Telegram).
Sends formatted challenge details directly as a personal message.
Getting Started
Prerequisites
Go 1.18 or later.
An active LeetCode API endpoint that provides daily challenges.
A Telegram bot token and chat ID for sending messages through Telegram.
About the LeetCode URL: I used the alfa-leetcode-api for getting the well-structured LeetCode's data. Special thanks to alfaarghya for contributing helpful APIs.
Usage
Run the application to start fetching and sending the daily LeetCode challenge:
go run main.go
The application is set up with a cron job that triggers at 10:00 AM daily to perform these tasks automatically by AWS Lambda & AWS EventBridge.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.