# esteban-crln/galaxy-analyser architecture

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

- Interactive diagram: https://gitdiagram.com/esteban-crln/galaxy-analyser
- Repository: https://github.com/esteban-crln/galaxy-analyser

## Overview

Lecteur de relevés provisoires de notes : l’étudiant ouvre des PDF ou des sauvegardes locales, puis consulte des résultats, comparaisons et objectifs. Le README décrit les principales capacités de l’interface, mais son implémentation n’a pas été échantillonnée ; ses liens vers le parseur et le stockage sont donc indiqués comme non vérifiés. Le parseur échantillonné extrait les données de pages PDF et construit les informations du relevé.

Main entry points: [`index.html`](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html) (Interface du lecteur), [`parser.js`](https://github.com/esteban-crln/galaxy-analyser/blob/main/parser.js) (Extraction des pages)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Consultation"]
  node_app["Interface du lecteur<br/>[index.html]"]
  node_overview["Moyennes et UE<br/>[index.html]"]
  node_subjects["Matières et détails<br/>[index.html]"]
  node_strengths["Points forts<br/>[index.html]"]
end

subgraph group_analysis["Analyse des notes"]
  node_evolution["Évolution<br/>[index.html]"]
  node_ranking["Classement estimé<br/>[index.html]"]
  node_goals["Objectifs personnels<br/>[index.html]"]
  node_settings["Paramètres de promo<br/>[index.html]"]
end

subgraph group_records["Relevés et sauvegarde"]
  node_pdf["PDF local"]
  node_pdfjs["pdf.js"]
  node_extract["Extraction des pages<br/>[parser.js]"]
  node_parse["Analyse du relevé<br/>[parser.js]"]
  node_stored[("Relevés navigateur")]
  node_backup["Sauvegarde JSON<br/>[index.html]"]
end

node_student(("Étudiant"))
node_archive["ZIP de PDF"]

node_student -->|"ouvre"| node_app
node_student -->|"importe"| node_app
node_pdf -->|"sélectionne"| node_app
node_archive -->|"importe"| node_app
node_app -->|"lit localement"| node_pdfjs
node_app -.->|"fait analyser"| node_extract
node_pdfjs -.->|"fournit les pages"| node_extract
node_extract -->|"prépare les pages"| node_parse
node_parse -.->|"retourne le relevé"| node_app
node_app -->|"conserve"| node_stored
node_app -->|"télécharge"| node_backup
node_backup -->|"restaure"| node_app
node_app -->|"affiche"| node_overview
node_app -->|"affiche"| node_subjects
node_app -->|"affiche"| node_strengths
node_app -->|"affiche"| node_evolution
node_app -->|"estime"| node_ranking
node_app -->|"affiche"| node_goals
node_app -->|"configure"| node_settings

click node_app "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_overview "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_subjects "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_strengths "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_evolution "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_ranking "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_goals "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_settings "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"
click node_extract "https://github.com/esteban-crln/galaxy-analyser/blob/main/parser.js"
click node_parse "https://github.com/esteban-crln/galaxy-analyser/blob/main/parser.js"
click node_backup "https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html"

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_app,node_overview,node_subjects,node_strengths toneBlue
class node_evolution,node_ranking,node_goals,node_settings toneAmber
class node_pdf,node_pdfjs,node_extract,node_parse,node_stored,node_backup toneMint
class node_student,node_archive toneIndigo
```

## Components

### Consultation

- [Interface du lecteur](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`
- [Moyennes et UE](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`
- [Matières et détails](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`
- [Points forts](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`

### Analyse des notes

- [Évolution](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`
- [Classement estimé](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`
- [Objectifs personnels](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`
- [Paramètres de promo](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`

### Relevés et sauvegarde

- **PDF local**
- **pdf.js**
- [Extraction des pages](https://github.com/esteban-crln/galaxy-analyser/blob/main/parser.js): `parser.js`
- [Analyse du relevé](https://github.com/esteban-crln/galaxy-analyser/blob/main/parser.js): `parser.js`
- **Relevés navigateur**
- [Sauvegarde JSON](https://github.com/esteban-crln/galaxy-analyser/blob/main/index.html): `index.html`

### Other components

- **Étudiant**
- **ZIP de PDF**

## Connections

- Étudiant → Interface du lecteur: ouvre (evidence: `README.md`)
- Étudiant → Interface du lecteur: importe (evidence: `README.md`)
- PDF local → Interface du lecteur: sélectionne (evidence: `README.md`)
- ZIP de PDF → Interface du lecteur: importe (evidence: `README.md`)
- Interface du lecteur → pdf.js: lit localement (evidence: `README.md`)
- Interface du lecteur → Extraction des pages: fait analyser
- pdf.js → Extraction des pages: fournit les pages
- Extraction des pages → Analyse du relevé: prépare les pages (evidence: `parser.js`)
- Analyse du relevé → Interface du lecteur: retourne le relevé
- Interface du lecteur → Relevés navigateur: conserve (evidence: `README.md`)
- Interface du lecteur → Sauvegarde JSON: télécharge (evidence: `README.md`)
- Sauvegarde JSON → Interface du lecteur: restaure (evidence: `README.md`)
- Interface du lecteur → Moyennes et UE: affiche (evidence: `README.md`)
- Interface du lecteur → Matières et détails: affiche (evidence: `README.md`)
- Interface du lecteur → Points forts: affiche (evidence: `README.md`)
- Interface du lecteur → Évolution: affiche (evidence: `README.md`)
- Interface du lecteur → Classement estimé: estime (evidence: `README.md`)
- Interface du lecteur → Objectifs personnels: affiche (evidence: `README.md`)
- Interface du lecteur → Paramètres de promo: configure (evidence: `README.md`)
