# lenagis/geoexplore1 architecture

> Architecture diagram of the GitHub repository lenagis/geoexplore1, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lenagis/geoexplore1
- Repository: https://github.com/lenagis/geoexplore1

## Overview

Lena GIS Academy is a static, Arabic-first GIS learning-resource site. Its visible product surface is the landing page and topic pages for analysis, cartography, open data, programming, training, jobs, and related resources; the README also describes search, favorites, and language switching, but their implementation files are absent from this tree. Separate Python scripts retrieve and filter publication records and generate course data. The source excerpts establish those scripts’ data flow, but do not show how the HTML pages consume the JSON files, so those connections are omitted.

Main entry points: [`fetch_pubs.py`](https://github.com/lenagis/geoexplore1/blob/main/fetch_pubs.py) (Publication fetcher), [`filter_publications.py`](https://github.com/lenagis/geoexplore1/blob/main/filter_publications.py) (Publication filter), [`publications.json`](https://github.com/lenagis/geoexplore1/blob/main/publications.json) (Publication records), [`index.html`](https://github.com/lenagis/geoexplore1/blob/main/index.html) (Landing page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Static site"]
  node_home["Landing page<br/>[index.html]"]
end

subgraph group_content["Resource content"]
  node_analysis["GIS analysis<br/>[analysis.html]"]
  node_atlas["Atlas<br/>[atlas.html]"]
  node_cartography["Cartography<br/>[cartography.html]"]
  node_open_data["Open data<br/>[open-data.html]"]
  node_programming["Programming<br/>[programming.html]"]
  node_training_page["Training resources<br/>[training.html]"]
  node_jobs["GIS jobs<br/>[jobs.html]"]
  node_human_resources["People resources<br/>[natural_hUman.html]"]
  node_resources["Learning resources<br/>[resources.html]"]
  node_courses_data[("Course records<br/>[courses.json]")]
  node_datasets_data[("Dataset records<br/>[datasets.json]")]
end

subgraph group_publications["Publication data"]
  node_publications_data[("Publication records<br/>[publications.json]")]
  node_filtered_publications[("Filtered publications")]
end

subgraph group_scripts["Data scripts"]
  node_fetcher["Publication fetcher<br/>[fetch_pubs.py]"]
  node_filter["Publication filter"]
  node_course_generator["Course generator<br/>[training.py]"]
end

node_visitor(("Site visitor"))
node_crossref{{"Crossref API"}}
node_semantic_scholar{{"Semantic Scholar API"}}

node_visitor -->|"opens"| node_home
node_fetcher -->|"queries"| node_crossref
node_fetcher -->|"queries"| node_semantic_scholar
node_fetcher -->|"writes"| node_publications_data
node_filter -->|"reads"| node_publications_data
node_filter -->|"writes"| node_filtered_publications

click node_home "https://github.com/lenagis/geoexplore1/blob/main/index.html"
click node_analysis "https://github.com/lenagis/geoexplore1/blob/main/analysis.html"
click node_atlas "https://github.com/lenagis/geoexplore1/blob/main/atlas.html"
click node_cartography "https://github.com/lenagis/geoexplore1/blob/main/cartography.html"
click node_open_data "https://github.com/lenagis/geoexplore1/blob/main/open-data.html"
click node_programming "https://github.com/lenagis/geoexplore1/blob/main/programming.html"
click node_training_page "https://github.com/lenagis/geoexplore1/blob/main/training.html"
click node_jobs "https://github.com/lenagis/geoexplore1/blob/main/jobs.html"
click node_human_resources "https://github.com/lenagis/geoexplore1/blob/main/natural_hUman.html"
click node_resources "https://github.com/lenagis/geoexplore1/blob/main/resources.html"
click node_courses_data "https://github.com/lenagis/geoexplore1/blob/main/courses.json"
click node_datasets_data "https://github.com/lenagis/geoexplore1/blob/main/datasets.json"
click node_publications_data "https://github.com/lenagis/geoexplore1/blob/main/publications.json"
click node_filtered_publications "https://github.com/lenagis/geoexplore1/blob/main/publications_filtered.json"
click node_fetcher "https://github.com/lenagis/geoexplore1/blob/main/fetch_pubs.py"
click node_filter "https://github.com/lenagis/geoexplore1/blob/main/filter_publications.py"
click node_course_generator "https://github.com/lenagis/geoexplore1/blob/main/training.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home toneBlue
class node_analysis,node_atlas,node_cartography,node_open_data,node_programming,node_training_page,node_jobs,node_human_resources,node_resources,node_courses_data,node_datasets_data toneAmber
class node_publications_data,node_filtered_publications,node_crossref,node_semantic_scholar toneMint
class node_fetcher,node_filter,node_course_generator toneRose
class node_visitor toneIndigo
```

## Components

### Static site

- [Landing page](https://github.com/lenagis/geoexplore1/blob/main/index.html): `index.html`

### Resource content

- [GIS analysis](https://github.com/lenagis/geoexplore1/blob/main/analysis.html): `analysis.html`
- [Atlas](https://github.com/lenagis/geoexplore1/blob/main/atlas.html): `atlas.html`
- [Cartography](https://github.com/lenagis/geoexplore1/blob/main/cartography.html): `cartography.html`
- [Open data](https://github.com/lenagis/geoexplore1/blob/main/open-data.html): `open-data.html`
- [Programming](https://github.com/lenagis/geoexplore1/blob/main/programming.html): `programming.html`
- [Training resources](https://github.com/lenagis/geoexplore1/blob/main/training.html): `training.html`
- [GIS jobs](https://github.com/lenagis/geoexplore1/blob/main/jobs.html): `jobs.html`
- [People resources](https://github.com/lenagis/geoexplore1/blob/main/natural_hUman.html): `natural_hUman.html`
- [Learning resources](https://github.com/lenagis/geoexplore1/blob/main/resources.html): `resources.html`
- [Course records](https://github.com/lenagis/geoexplore1/blob/main/courses.json): `courses.json`
- [Dataset records](https://github.com/lenagis/geoexplore1/blob/main/datasets.json): `datasets.json`

### Publication data

- [Publication records](https://github.com/lenagis/geoexplore1/blob/main/publications.json): `publications.json`
- [Filtered publications](https://github.com/lenagis/geoexplore1/blob/main/publications_filtered.json): `publications_filtered.json`

### Data scripts

- [Publication fetcher](https://github.com/lenagis/geoexplore1/blob/main/fetch_pubs.py): `fetch_pubs.py`
- [Publication filter](https://github.com/lenagis/geoexplore1/blob/main/filter_publications.py): `filter_publications.py`
- [Course generator](https://github.com/lenagis/geoexplore1/blob/main/training.py): `training.py`

### Other components

- **Site visitor**
- **Crossref API**
- **Semantic Scholar API**

## Connections

- Site visitor → Landing page: opens (evidence: `README.md`)
- Publication fetcher → Crossref API: queries (evidence: `fetch_pubs.py`)
- Publication fetcher → Semantic Scholar API: queries (evidence: `fetch_pubs.py`)
- Publication fetcher → Publication records: writes (evidence: `fetch_pubs.py`)
- Publication filter → Publication records: reads (evidence: `filter_publications.py`)
- Publication filter → Filtered publications: writes (evidence: `filter_publications.py`)
