# License scope / نطاق الرخصة

Copyright © 2026 Shehata El-sayed (شحاته السيد).

This repository has three layers, each with its own license.

## 1. Original code: Apache License 2.0

The code written for this project is licensed under the Apache License, Version 2.0. The full text is in [LICENSE-APACHE](LICENSE-APACHE) and at https://www.apache.org/licenses/LICENSE-2.0.

This covers:
- `worker/` (the Cloudflare Worker),
- `scripts/` (build scripts),
- `tests/`,
- the JavaScript files written for this project in `site/` (`site/*.js`), except any file that carries a different notice.

It does not cover `site/index.html` (a template derived from the upstream OSINT source tree), the data files listed in layer 3, or any third-party file.

## 2. Original Arabic content and design: CC BY-SA 4.0

The original Arabic descriptions, explanations, headings, editorial selection and arrangement, and original site design authored for this project are licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Give attribution to Shehata El-sayed, link this repository, indicate changes, and share adaptations of this licensed material under the same license.

الشروحات والأوصاف العربية الأصلية، والعناوين، والتحرير والترتيب الأصلي، وتصميم الموقع الأصلي في هذا المشروع متاحة بموجب رخصة المشاع الإبداعي نَسب المصنَّف - الترخيص بالمثل 4.0 دولي. انسب العمل لشحاته السيد، واربط بهذا المستودع، واذكر تعديلاتك، وانشر الأعمال المشتقة من هذا المحتوى بالرخصة نفسها.

Canonical license: https://creativecommons.org/licenses/by-sa/4.0/
Full legal code: https://creativecommons.org/licenses/by-sa/4.0/legalcode

## 3. Third-party material keeps its own license

Neither license above overrides the rights or separate licenses of third-party software, fonts, data, the upstream OSINT source tree, external links, service names, or marks. In particular:
- the source map (`2-data.json`) and material derived from OSINT Framework: MIT,
- `site/rag-factchecks.json`: CC BY-NC-SA 4.0 (non-commercial),
- Pagefind: MIT; Cairo font: SIL OFL 1.1.

See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) and [docs/licenses.md](docs/licenses.md). This repository does not claim ownership of third-party material or grant rights in the trademarks of others.
