quran / quran.com-images

images using fonts from King Fahed Complex / qurancomplex.org
http://quran.com
390 stars 125 forks source link

Can I use this with react native (expo)? #45

Closed AnasOnGit closed 1 year ago

AnasOnGit commented 1 year ago

Assalamualaikum everyone, This is not an issue, I have a question, can I use this with react native (expo)?

I can see some SQL files and some docker files, but I am not sure how to use them. I am not sure how docker works. Am I supposed to run this on the server?

Any help will be appreciated. Jazakallah Khair

ahmedre commented 1 year ago

wa3laikum alsalam, This repository is just to generate images and a database of x,y coordinates for where ayahs corresponding to the old madani mushaf. It's meant to run once, export its images and data, and not be used after that unless needed again in the future. The Docker container just gives an easier way to run it than having to set up Perl and the corresponding dependencies on the machine. jazakumAllah khairan, walsalam 3alaikum.

AnasOnGit commented 1 year ago

Thank you, brother, for explaining, I have one more question, should I package the exported images with the app or is there any other way of displaying the images without increasing the size of the app?

ahmedre commented 1 year ago

yes either bundle them with the app or put them on a server and have the application download the images.

AnasOnGit commented 1 year ago

Jazakallah Khair brother, I am losing this issue.