An automated prayer call alarm system for UNIX-like systems
Note: This alpha-quality software is expected to receive heavy updates in the coming weeks, InshaAllah. The implementation works on my test hardware and software, and though support for more setups will come soon, please feel free to contribute to make it more usable.
You can run this software on any hardware that can run Linux or other UNIX-like systems.
daily-prayers should run on almost all UNIX-like operating systems. It also needs the following additional dependencies, all of which it attempts to install during setup:
There are a few different ways to get daily-prayers.
# Clone project to the local workspace
git clone https://github.com/myTerminal/daily-prayers.git
# Switch to the project directory
cd daily-prayers
# Install with `make`
make install
Simply execute the below command in a terminal; the rest should be automatic.
/bin/bash -c "$(curl https://raw.githubusercontent.com/myTerminal/daily-prayers/main/install)"
daily-prayers will soon be available to install from your operating system's package manager.
Once installed, daily-prayers works automatically:
- It fetches the prayer timings for the day once at the start of the day and sets reminders
- At the prayer times it sets by itself, it plays an audio version of the appropriate Adhan
The following parameters have been hard-coded for the time being and will be made configurable soon:
- Prayer time calculation method has been set to "Islamic Society of North America"
- School has been set to "Hanafi"
Note: As daily-prayers works with cron
jobs, it is suggested to be run for a non-organic user dedicated specifically to this.
useradd muezzin -m
passwd muezzin
usermod -aG wheel,audio,video,optical,storage muezzin
Using a dedicated user would make sure it won't conflict with cron
jobs for other users.
daily-prayers-configure
The above command prompts the user for geographical coordinates for Adhan reminders.
daily-prayers-schedule-tasks
The above command schedules Adhan reminders, and a few other tasks
In order to update daily-prayers, simply run:
daily-prayers-update
In order to uninstall daily-prayers, simply run:
daily-prayers-uninstall
- Remove dependency on
pipewire
anddbus
- Implement an Adhan dashboard
- Allow configuration beyond the location