Alparslan Semiz
ENDETR
All projects
Section
Mac & iOS Apps
Context
Solo
Stack
JavaScript · ScriptWidget · Aladhan API
Status
Active
Stop on the route
The Alps

The story

I wanted the prayer times for wherever I am on my iPhone and my Mac, in a simple widget.

This widget runs in ScriptWidget. It finds my location on its own (on the Mac, where ScriptWidget has no location services, it uses an approximate location from the IP address) and gets the day's times from the Aladhan API with the Diyanet method. It shows the current prayer time and the time left, for example İkindi · 2sa 41dk.

It only goes online once a day. The times are cached and refresh when the day changes or I move more than about 20 km. The colors stay readable in light and dark mode.

See it on the route

Quick version · one screen

Alparslan Semiz

Full-stack developer at Traggert and CS student at KIT, Karlsruhe. I ship games, Mac apps and web projects, mostly alone and sometimes in teams.