https://github.com/zubir2k/esolat-cli
🕋 A simple shell script that retrieve current Malaysia prayer time based on area codes by JAKIM. May this be beneficial to those who find it useful. Insha'Allah
https://github.com/zubir2k/esolat-cli
bash-script cli command-line esolat jakim linux-shell malaysia prayer-times shell-script
Last synced: about 2 months ago
JSON representation
🕋 A simple shell script that retrieve current Malaysia prayer time based on area codes by JAKIM. May this be beneficial to those who find it useful. Insha'Allah
- Host: GitHub
- URL: https://github.com/zubir2k/esolat-cli
- Owner: zubir2k
- License: mit
- Created: 2023-10-04T17:01:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T17:21:34.000Z (about 2 years ago)
- Last Synced: 2025-03-31T12:25:30.350Z (6 months ago)
- Topics: bash-script, cli, command-line, esolat, jakim, linux-shell, malaysia, prayer-times, shell-script
- Language: Shell
- Homepage: https://zubirco.de/esolat-cli
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🕋 eSolat Shell Script
A simple shell script that retrieve current Malaysia prayer time based on area codes by JAKIM. \
May this be beneficial to those who find it useful. Insha'Allah## Prerequisite
1. Host connected to the Internet (obviously)
2. `jq` installed## Installation
1. Simply copy the `esolat.sh` file into your desired location (e.g. `/home/{USER}` path)
2. Be sure to grant executable `chmod +x {LOCATION}/esolat.sh`## Usage
1. Run the script followed by the Area code (Refer list code from Jakim [here](https://zubirco.de/esolatcode))
Example: `./esolat.sh SGR01`
## Use cases
1. Autorun this script during login to your machine via SSH
2. Geeky way to get your daily prayer time 😅## Special Thanks
1. JAKIM for the [eSolat](https://www.e-solat.gov.my/) API