Prayer times that never leave your device

Why Athar calculates prayer times, Qibla and the Hijri date in your browser, and what that means for your location.

Most prayer-time apps work the same way. Your location goes up to a server, an answer comes down. It works. It also means someone, somewhere, knows where you pray five times a day.

Athar does it the other way round.

The calculation runs where you are

When you open openathar.org and allow your browser to use your location, the prayer times are calculated inside the browser. The same goes for the Qibla direction, the Hijri date and tonight's moon phase.

Your coordinates are used on your device and stay there. There is no request that carries them to us, because there is nothing on our side that needs them.

Why this is possible at all

Prayer times are astronomy, not a secret. Given a place, a date and a calculation method, the sun's position decides the rest. That is a few hundred lines of careful mathematics, and a phone or laptop does it in a fraction of a millisecond.

So the question was never whether it can run locally. The question was whether the local result is correct. That is what the next article is about: one calculation core, written in Java, mirrored in TypeScript, and held together by reference tests.

What we do not have

No cookies, no analytics, no advertising, no third-party scripts. Your light or dark choice is stored in your own browser and never sent anywhere. The privacy page lists every exception, for example that Qur'an verses are fetched by our server, not by your browser.

This is not a feature we will one day monetise. Athar is built as a Sadaqah Jariyah: free, without ads, open source.

← All articles

Prayer times that never leave your device — Athar