2.5 KiB
2.5 KiB
Brief
Idea
A Quran website at quran.diyaa.de for reading, listening and studying, and a public developer API served by the same server. The website is built first. The API is given to other developers with an API key.
Operator
Private person (Diya). Free to use. Donations are possible later (mechanism not decided).
Audience
- Readers: people who read the Quran verse by verse with a translation, a tafsir and audio.
- Developers: people who want Quran data through an API with a key.
Languages
German, English, Spanish, Arabic, Turkish at launch. More later, including non-Latin scripts such as Russian. Adding a language must need data and strings only, no code changes.
Website features
- Surah list and verse-by-verse reader: Arabic text with one translation underneath.
- Translation choice per language; the translator name is always visible.
- Tafsir in a separate panel for the current verse; if a language has no tafsir, the panel says so clearly.
- Audio player: the reader chooses the reciter and the surah; repeat of a verse or range; sleep timer; optional offline use is not planned for v1.
- Favorites (surahs, reciters, translations, tafsirs), bookmarks (saved verses), notes in plain text with one-level folders. Stored only in the reader's browser; there is no login.
- Search over the Arabic text (diacritics ignored) and the selected translation, plus surah names in several languages and spellings.
- Daily reminder: depends on what the web allows without an account (open question, T-019).
- Right-to-left layout for Arabic with left-to-right translations on the same page. Dark mode, responsive layout, keyboard and screen-reader support.
Public API
- For developers, with an API key and request limits.
- Serves only openly licensed data (see
docs/architecture.md, data zones). - Documented with OpenAPI and a developer page on the site.
Out of scope for v1
- Reader accounts and server-side sync of favorites and notes.
- Highlighting the current verse during audio, playback speed.
- Tafsir search and verse-number search.
- Mushaf page images.
- Any machine-made translation or tafsir.
Success criteria
- A reader can open any surah, read it with a translation, open the tafsir if one exists, and play it with a chosen reciter.
- Search finds Arabic words typed without diacritics and words in the selected translation.
- A developer can get a key and read open data from the API within the documented limits.
- The site loads fast and works on phones and in right-to-left mode.