This Chrome extension provides Islamic Salat times using the Aladhan API (https://github.com/islamic-network/api.aladhan.com). It displays the prayer times directly in the browser and sends notifications to remind users when it's time to pray.
After cloning the project, install the necessary dependencies, including TypeScript and Chrome types:
npm install
To compile the TypeScript files, use:
npx tsc
With the provided TypeScript configuration, only src/content.ts
and src/background.ts
will be compiled into the /dist
directory, as they are the only files needed to run this extension. You can modify the compiler options in the tsconfig.json
file if required.
To run the extension locally:
- Enable Developer mode in your browser.
- Click on the Load unpacked button and select the project folder.
- The extension will be added to your browser and ready to use.
This project only supports prayer times for Tunis , Tunisia.
- Support for multiple locations
- Custom notification settings.