DBChoco / Muezzin

A prayer times (Adhan) and Quran app for Windows, macOS and GNU/Linux.
MIT License
125 stars 13 forks source link

Add location search #29

Closed meypod closed 11 months ago

meypod commented 1 year ago

currently you have to enter coordinates to get the correct times it would be nice if you added city search to the app

there's two ways you can achieve this:

  1. use an online api to search the country and city name
  2. use offline limited data

the downside of second way is that it adds ~5 mb to the app size (~12mb uncompressed), and doesn't contain all cities all over the world, but has a good coverage

I did the second way myself in my app, and I can help you port the data and search method I use into your app, if you like

DBChoco commented 1 year ago

It's a good suggestion, I'll inshaAllah do it once I get some free time, since this is quite a big change.