63 lines
4.9 KiB
Markdown
63 lines
4.9 KiB
Markdown
# Decisions
|
||
|
||
## Decided
|
||
|
||
| ID | Decision | Date | Reason |
|
||
| --- | --- | --- | --- |
|
||
| W-001 | Start with the website; it serves the public API | 2026-11-11 | Owner's choice |
|
||
| W-002 | Website features match the full reading feature set (reader, tafsir, audio, favorites, bookmarks, notes, search) | 2026-11-11 | Owner's choice |
|
||
| W-003 | No reader login for now; favorites, bookmarks and notes stay in the browser | 2026-11-11 | Owner's choice |
|
||
| W-004 | Data comes from two zones: Quran Foundation for the website, open licensed sources for the public API | 2026-11-11 | Owner's choice; Quran Foundation terms limit redistribution |
|
||
| W-005 | Public API is for developers with an API key and request limits | 2026-11-11 | Owner's choice |
|
||
| W-006 | Next.js website with a NestJS + PostgreSQL API, Docker Compose behind Traefik | 2026-11-11 | Owner's choice |
|
||
| W-007 | One domain: `quran.diyaa.de`; API under `/api` | 2026-11-11 | Owner's choice |
|
||
| W-008 | Initial languages: German, English, Spanish, Arabic, Turkish; more later | 2026-11-11 | Owner's choice |
|
||
| W-009 | Translations and tafsir come only from named sources; no AI translation | 2026-11-11 | Correctness of religious text |
|
||
| W-010 | Legal topics are out of scope for now | 2026-11-05 | Owner's decision |
|
||
| W-011 | Free to use, donations possible; operator is a private person | 2026-11-11 | Owner's choice |
|
||
|
||
## Open questions
|
||
|
||
1. Package manager: npm, pnpm or yarn.
|
||
2. Which openly licensed sources for text, translations, tafsir and audio (T-002, T-003). The license must allow redistribution through an API.
|
||
3. First reciters for the website (from the Content API and from open sources).
|
||
4. Developer signup: how does a developer get a key without a reader login (email with verification, or manual keys from the owner)?
|
||
5. Rate-limit values and whether there are paid or higher tiers.
|
||
6. Daily reminder on the web: web push needs a service worker and permission; decide whether to offer it (T-019).
|
||
7. Design feel: calm and simple, traditional, or modern; Arabic font choice and size options.
|
||
8. Riwaya (reading) and whether to add Mushaf page images later.
|
||
9. Donation mechanism and where it appears.
|
||
10. Arabic search folding: whether to treat ى/ي and ة/ه as equal.
|
||
11. Which data the server stores about API developers (minimum: email, key hash, counters).
|
||
12. Deadline or launch target.
|
||
|
||
## Sources and licenses (research in T-002; selection in T-003)
|
||
|
||
A source may enter the public API only when this table is complete for it.
|
||
|
||
| Source | Content | License | Redistribution allowed | Attribution text | Link | Date checked |
|
||
| --- | --- | --- | --- | --- | --- | --- |
|
||
| Tanzil Project | Arabic Quran text, v1.1 | CC BY 3.0, with source's explicit verbatim-only terms | Verbatim copying and distribution allowed; API use must preserve text and required notices | `Tanzil Quran Text, Copyright (C) 2007-2021 Tanzil Project, CC BY 3.0`; link to tanzil.net and reproduce the complete notice as required | [Text license](https://tanzil.net/docs/Text_License), [download](https://tanzil.net/download/) | 2026-11-11 |
|
||
| ClearQuran, Talal Itani | English translation, God and Allah editions | CC BY-ND 4.0 plus the copyright holder's additional permissions | Yes, including commercial distribution; keep wording unchanged and include credit. Source expressly permits conversion and selected verses. | `Translation by Talal Itani, ClearQuran.com`; link where possible, and provide license information | [Downloads and license](https://clearquran.com/download/) | 2026-11-11 |
|
||
| QuranEnc | Translation catalog, including Spanish by Muhammad Isa García | Source-specific republication conditions, not a standard open license | Republishing allowed subject to conditions; suitability of a verse-by-verse API and each selected edition's attribution/rights needs confirmation before import | Identify the publisher and QuranEnc.com, include the version and transcript information; also show the translator | [API and terms](https://quranenc.com/en/home/api/), [Spanish catalog](https://quranenc.com/api/v1/translations/list/es) | 2026-11-11 |
|
||
|
||
These are research candidates, not default selections or blanket approval for all material hosted by each source. See [source research](source-research.md) for conditions, coverage, and unresolved questions.
|
||
|
||
## Translations (fill in T-003)
|
||
|
||
| Language | Resource | Author | Zone (qf or open) | Reason |
|
||
| --- | --- | --- | --- | --- |
|
||
| de | | | | |
|
||
| en | | | | |
|
||
| es | | | | |
|
||
| ar | | | | |
|
||
| tr | | | | |
|
||
|
||
Notes carried over: the public Quran.com catalog lists no Arabic translation and tafsir only in a few languages. For Arabic readers an Arabic tafsir can be offered and labeled as tafsir; for German, Spanish and Turkish the tafsir button can be hidden and the translation shown alone. Confirm against the real data first.
|
||
|
||
## Reciters (fill in T-003)
|
||
|
||
| Reciter | Style | Source | File type | License | Notes |
|
||
| --- | --- | --- | --- | --- | --- |
|
||
| (none yet) | | | | | |
|