原始内容
pi-masjidly-prayer-times

Pi extension that shows today's mosque prayer times beneath the editor.
Prayer data comes from Masjidly and includes mosques across multiple countries and cities.
Install
pi install npm:pi-masjidly-prayer-times
Or from GitHub:
pi install git:github.com/mwijanarko1/pi-prayer-times
Then run /reload or restart Pi.
Configure
Run:
/prayer-settings
Choose:
- Country
- City
- Mosque
Adhan onlyorAdhan and Iqamah
The default is Muslim Welfare House Sheffield with Adhan-only times.
Settings are stored in:
~/.pi/agent/pi-prayer-times.json
Footer examples
Adhan only:
Prayer: Fajr 03:46 · Dhuhr 13:12 · Asr 17:34 · Maghrib 21:30 · Isha 22:36
Adhan and Iqamah:
Fajr 03:46/04:00 · Dhuhr 13:12/13:30 · Asr 17:34/18:15 · Maghrib 21:30/21:30 · Isha 22:36/22:36
The upcoming prayer is highlighted using the mosque's Iqamah schedule. Times refresh when Pi starts, on each turn, and after midnight in the selected mosque's timezone.
Development
bun test
npm pack --dry-run
pi -e /absolute/path/to/pi-prayer-times
Data attribution
Prayer timetable data: Masjidly.
License
MIT