Skip to content

aadilv/rukhsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rukhsa: Islamic Fiqh for Muslims with Medical Conditions

rukhsa

Submitted to Ramadan Hacks

Having spent quite a bit of my life in and out of the hospital system, I noticed that the fiqh most of us learned growing up never really covered what happens when your body stops cooperating with the standard rules. The problem is that madrasahs teach the baseline, but the accommodations, dispensations, nuances etc. rarely make it into the curriculum.

Rukhsa is a RAG app that lets you describe your medical condition, select your madhab, and get a ruling grounded in verified classical Islamic scholarship.

The fiqh database includes sources primary classical texts including Ibn Abidin's Radd al-Muhtar, al-Nawawi's al-Majmu', Ibn Qudama's al-Mughni, and al-Dardir's al-Sharh al-Kabir, as well as contemporary fatwa bodies including IIFA/OIC resolutions and madhab-specific fatwa sites. At the time of hackathon submission, it has 62 verified rulings across all four madhabs.

Stack

Run locally

install.packages(c("shiny", "bslib", "shinyjs", "httr2",
                   "readxl", "dplyr", "stringr", "markdown"))

Add to .Renviron in the project root:

GROQ_API_KEY=your_key_here

Then:

shiny::runApp()

Disclaimer

Rukhsa is for informational purposes based on classical Islamic scholarship. For personal religious matters, consult a qualified scholar.

About

Islamic fiqh rulings for Muslims with medical conditions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors