Muslim-Prayer-Reminder

Muslim Prayer Reminder - Chrome Extension

Platform Status

đź”— Get It Here : Muslim Prayer Reminder - Chrome Web Store

A lightweight and intelligent Chrome Extension that provides accurate daily prayer times, real-time updates, and smart notifications to help you stay consistent with your prayers.


Features


Tech Stack


How It Works

  1. User sets location and preferences
  2. Extension fetches:

    • Today’s prayer times
    • Yesterday’s Isha
    • Tomorrow’s Fajr
  3. A timeline engine determines:

    • Current prayer
    • Next prayer
  4. Background script:

    • Schedules alarms for each prayer
    • Handles notifications and snooze logic
  5. System auto-recovers:

    • On browser restart
    • If data becomes stale
    • If API fails

Installation (Development)

  1. Clone the repository:

    git clone https://github.com/KhanRameen/Prayer-Reminder-Chrome-Extension
    cd Prayer-Reminder-Chrome-Extension
    
  2. Install dependencies:

    npm install
    
  3. Build the extension:

    npm run build
    
  4. Load into Chrome:

    • Go to chrome://extensions/
    • Enable Developer Mode
    • Click Load unpacked
    • Select the dist folder

Project Structure

src/
│
├── background/        # Background service worker
├── components/        # React UI screen components
├── popup/             # Extension popup UI


Core Concepts

Prayer Timeline Engine

Builds a continuous timeline including:

Ensures correct behavior across:


Alarm System


Self-Healing Data Flow

The extension:


Error Handling

Acknowledgements