Giter Site home page Giter Site logo

code-chef-contest-reminder's Introduction

CodeChef Contest Reminder with WhatsApp Notifications

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.

Getting Started

Prerequisites

  1. Twilio Account: You'll need a Twilio account to send WhatsApp messages. Sign up for free at Twilio.

  2. Node.js: Make sure you have Node.js installed on your machine. You can download it from the official Node.js website.

Installation

  1. Clone the repository:

    git clone https://github.com/apru02/Code-Chef-Contest-Reminder.git
  2. Navigate to the project directory:

    cd Code-Chef-Contest-Reminder
  3. Install dependencies:

    npm install
  4. 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

Usage

  1. Set up your WhatsApp sandbox by sending a message "join kids-greater" to +14155238886.

  2. Run the application:

    npm start
  3. To receive contest reminders, send any message to the Twilio WhatsApp number.

Features

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

How It Works

  1. The application fetches the list of upcoming contests from the CodeChef API.
  2. It filters contests that are scheduled to start before the current time.
  3. For each qualifying contest, it calculates the start time, duration, and sends a WhatsApp notification.
  4. A daily schedule is set to fetch and notify about contests at 6 PM.

Customization

You can customize this project further to add features like different notification times, multiple platforms for notifications, or even support for other coding platforms.

Acknowledgements

This project is based on fetching data from the CodeChef API and utilizing the Twilio API for sending WhatsApp notifications.

License

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!

code-chef-contest-reminder's People

Contributors

apru02 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.