Show HN: AskHadith – A Hadith search engine based on Mongo text search(github.com)
github.com
Show HN: AskHadith – A Hadith search engine based on Mongo text search
https://github.com/Ananto30/ask-hadith
10 comments
[deleted]
Great interface. Can you please share the data source?
I have collected (scraped) most of the Hadiths from -
https://sunnah.com/
https://www.searchtruth.com/hadith_books.php
http://hadithcollection.com/
And saved them in MongoDB hosted in mlab.
Have you used Sunnah.com API or manually scraped the data?
Manually scraped it. I did in 2017 for learning purpose. I have recently discovered their API. Will go through it soon.
I have worked with their API. Response time is good.
I have to collect all the Hadiths for indexing in search engines. So in either way (scraping or API) I need all Hadiths in my server. I have gone through their API, it's kind of similar.
For the other folks in the room, Atlas Search allows you to eliminate the sort code here, introduce autocomplete, and speeds up performance dramatically. Available on the free tier. You can read about it here: https://docs.atlas.mongodb.com/atlas-search/
Also have you submitted it yet to r/Islam on Reddit? You might get more positive feedback