pi-masjidly-prayer-times

Pi extension showing configurable mosque Adhan and Iqamah times in the footer.

Packages

Package details

extension

Install pi-masjidly-prayer-times from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-masjidly-prayer-times
Package
pi-masjidly-prayer-times
Version
0.1.4
Published
Jul 24, 2026
Downloads
447/mo · 109/wk
Author
mwijanarko1
License
MIT
Types
extension
Size
69.2 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-masjidly-prayer-times

Current prayer highlighted in the Pi footer

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:

  1. Country
  2. City
  3. Mosque
  4. Adhan only or Adhan and Iqamah
  5. Turn the next Adhan/Iqamah countdown on or off

The default is Muslim Welfare House Sheffield with Adhan-only times and the countdown on.

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 with countdown:

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 · Next: Dhuhr Iqamah in 10m

The upcoming prayer is highlighted using the mosque's Iqamah schedule. When enabled, the countdown refreshes every minute and automatically selects the next Adhan or Iqamah.

Development

bun test
npm pack --dry-run
pi -e /absolute/path/to/pi-prayer-times

Data attribution

Prayer timetable data: Masjidly.

License

MIT