This project is designed to provide you with reminders for upcoming CodeChef contests through WhatsApp notifications. By sending a message to the provided WhatsApp number, you can receive information about upcoming contests, their start times, and durations. Additionally, this system will send you reminders for contests scheduled every day at 6 PM.
-
Twilio Account: You'll need a Twilio account to send WhatsApp messages. Sign up for free at Twilio.
-
Node.js: Make sure you have Node.js installed on your machine. You can download it from the official Node.js website.
-
Clone the repository:
git clone https://github.com/apru02/Code-Chef-Contest-Reminder.git
-
Navigate to the project directory:
cd Code-Chef-Contest-Reminder
-
Install dependencies:
npm install
-
Create a
.env
file in the project directory and add your Twilio credentials:TWILIO_ACCOUNT_SID=your_account_sid TWILIO_AUTH_TOKEN=your_auth_token
-
Set up your WhatsApp sandbox by sending a message "join kids-greater" to +14155238886.
-
Run the application:
npm start
-
To receive contest reminders, send any message to the Twilio WhatsApp number.
- Receive reminders about upcoming CodeChef contests through WhatsApp notifications.
- Get information about contest start times and durations.
- Daily reminders at 6 PM to keep you updated about upcoming contests.
- The application fetches the list of upcoming contests from the CodeChef API.
- It filters contests that are scheduled to start before the current time.
- For each qualifying contest, it calculates the start time, duration, and sends a WhatsApp notification.
- A daily schedule is set to fetch and notify about contests at 6 PM.
You can customize this project further to add features like different notification times, multiple platforms for notifications, or even support for other coding platforms.
This project is based on fetching data from the CodeChef API and utilizing the Twilio API for sending WhatsApp notifications.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to contribute to this project and make it even better!