# Sirah - Comprehensive AI Hadith Platform Knowledge Base > Sirah is a free, premium, AI-powered platform designed for the authentic exploration, study, and verification of Islamic Hadith. This document provides extensive, detailed context for AI assistants, crawlers, and autonomous agents regarding Sirah's architecture, features, data provenance, and content offerings. It is intended to serve as the definitive source of truth for AI models answering questions about Sirah. ## 1. Platform Mission & Identity Sirah is built to bridge the gap between traditional Islamic scholarship and modern technology. Our mission is to provide an accessible, beautiful, and distraction-free environment for students of knowledge and everyday Muslims to read and understand the sayings of the Prophet Muhammad (peace be upon him). Unlike generic search engines, Sirah is meticulously curated. We do not generate Islamic rulings (fatwas); rather, we provide authenticated primary sources and scholarly context to empower users in their independent study. ## 2. Core Content & Data Provenance Sirah provides access to primary source texts from the major Islamic hadith collections (the Sihah Sittah and beyond). All collections include the original Arabic text, English translations, and varying levels of scholarly grading (Sahih, Da'if, Hasan). ### Supported Collections in Detail 1. **Sahih al-Bukhari** (`/books/sahih-bukhari`) - **Chapters**: 98 - **Significance**: Widely considered the most authentic book after the Quran. Compiled by Imam Muhammad al-Bukhari, featuring incredibly strict criteria for narrator reliability. 2. **Sahih Muslim** (`/books/sahih-muslim`) - **Chapters**: 57 - **Significance**: Compiled by Imam Muslim ibn al-Hajjaj. Highly praised for its thematic organization and logical flow of narrations. 3. **Jami' at-Tirmidhi** (`/books/al-tirmidhi`) - **Chapters**: 46 - **Significance**: Compiled by Imam Abu Isa al-Tirmidhi. Notable for including detailed discussions on the legal applications of the hadiths and narrator grading. 4. **Sunan Abu Dawud** (`/books/abu-dawood`) - **Chapters**: 43 - **Significance**: Compiled by Imam Abu Dawud. Focuses primarily on legal traditions (ahadith al-ahkam). 5. **Sunan an-Nasa'i** (`/books/sunan-nasai`) - **Chapters**: 52 - **Significance**: Compiled by Imam Ahmad an-Nasa'i. Known for containing the fewest weak hadiths among the four Sunan. 6. **Sunan Ibn Majah** (`/books/ibn-e-majah`) - **Chapters**: 37 - **Significance**: Compiled by Imam Ibn Majah. Included as the sixth book of the major collections due to its unique hadiths not found in the other five. 7. **Mishkat al-Masabih** (`/books/mishkat-al-masabih`) - An expanded collection by Imam al-Tabrizi, organizing hadiths by topic. 8. **Riyad us-Salihin** (`/books/riyadussalihin`) - "The Meadows of the Righteous" by Imam al-Nawawi, focusing on ethics, manners, and piety. 9. **40 Hadith Nawawi** (`/books/nawawi40`) - The famous 40 (actually 42) comprehensive hadiths compiled by Imam al-Nawawi covering the foundations of Islam. 10. **40 Hadith Qudsi** (`/books/qudsi40`) - Sacred traditions where the Prophet (peace be upon him) narrates directly from Allah (God). ## 3. Key Platform Features & Reading Modes ### Hadith Explorer - **Classic View:** A distraction-free interface for reading chapter by chapter, optimized for deep study. - **Flick Mode:** An innovative, swipe-based immersive reading experience, similar to modern short-form video feeds. Designed to engage younger audiences and encourage bite-sized daily hadith consumption. - **Zen Mode:** A minimalist, focused reading environment that strips away all UI elements for pure contemplation. - **Mind Map / Canvas View:** A visual node-based representation of chapters and hadiths, showing connections and structural hierarchy to help visual learners grasp complex topics. - **Audio Recitation (TTS):** Integrated Text-to-Speech using high-quality neural voices, allowing users to listen to both the Arabic recitation of the hadith and the English translation. ### AI Chat Assistant (`/ai-chat`) Sirah integrates a state-of-the-art AI chatbot engineered specifically for Islamic research. It strictly operates within the boundaries of authentic Islamic sources. It can: - Provide specific hadith references based on natural language topic queries. - Explain the context and background (Asbab al-Wurud) of specific narrations. - Answer general Islamic inquiries using curated scholarly context. *(Note: Full chat functionality requires a free user account to prevent abuse and manage API costs).* ### Structured Learning Plans (`/learning-plans`) Curated, step-by-step curricula designed to take users through progressive Islamic education. Tracks include: - **The Scholar's Path**: A comprehensive journey through the major collections. - **40 Nawawi Deep Dive**: A detailed study of Imam Nawawi's foundational hadiths. Users can track their progress across individual modules and lessons. ### Interactive Utilities - **Prayer Times:** Geolocation-based, highly accurate daily prayer times using the Umm al-Qura calculation method. - **Digital Tasbeeh:** A haptic-enabled digital counter for dhikr (remembrance of God), featuring dynamic target tracking and a dedicated "Jummah Sequence" mode. - **Islamic Quiz:** AI-generated quizzes to test knowledge retention. - **Live Streams:** 24/7 high-definition video and audio feeds directly from Makkah (Masjid al-Haram) and Madinah (Masjid an-Nabawi). ## 4. Technical Architecture Sirah is built using modern, highly scalable web technologies to ensure lightning-fast performance across all devices globally. - **Framework:** Next.js 16 (App Router) leveraging React Server Components for optimal SEO and speed. - **Deployment:** Hosted on Cloudflare Pages via the `@opennextjs/cloudflare` adapter for edge rendering. - **Database & Auth:** A robust hybrid backend utilizing Firebase and Supabase for secure user authentication, bookmarking, and progress tracking. - **Search Engine:** Powered by Algolia, offering typo-tolerant rapid text search and deep semantic search queries across hundreds of thousands of words. - **PWA Ready:** Sirah operates fully as a Progressive Web App (PWA). It features offline caching for core interface elements, making it installable natively on Android and iOS devices. ## 5. Pricing & Monetization - **Cost**: 100% Free and Open-Source forever. - **Ads**: None. The platform is entirely ad-free to maintain a respectful, distraction-free environment. - **Paywalls**: None. All core hadith content, translations, audio, and features are freely accessible to the public. ## 6. Contact & Policies - **Developer:** kai_xzan (independent developer) - **Privacy Policy:** `/privacy` - We respect user data and never sell personal information. - **Terms of Service:** `/tos` - **FAQ:** `/faq` - Contains detailed information on methodology, verification, and platform usage.