# altherneum/altherneum.github.io architecture

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

- Interactive diagram: https://gitdiagram.com/altherneum/altherneum.github.io
- Repository: https://github.com/altherneum/altherneum.github.io

## Overview

Altherneum is a browser-based website combining learning and GitHub information pages with admin-curated media, games, tools, and Discord-related pages. The principal workflow is a visitor opening a URL, the shared bootstrap selecting a page handler, and that handler loading page content and its behavior. The excerpts show route dispatch and several dynamic content-loading calls; the broader content capabilities are inferred from the source tree and README organization, so unshown wiring is omitted.

Main entry points: [`src/js/include/index.js`](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/index.js) (Page dispatch), [`src/js/include/pages/admin.js`](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/admin.js) (Admin pages), [`src/js/include/pages/cours.js`](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/cours.js) (Course pages), [`src/js/include/pages/github.js`](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/github.js) (GitHub pages)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_navigation["Site navigation"]
  node_bootstrap["Site bootstrap<br/>[index.js]"]
  node_page_handlers["Page dispatch<br/>[index.js]"]
end

subgraph group_pages["Page experiences"]
  node_admin_pages["Admin pages<br/>[admin.js]"]
  node_course_pages["Course pages<br/>[cours.js]"]
  node_github_pages["GitHub pages<br/>[github.js]"]
  node_discord_pages["Discord pages<br/>[discord.js]"]
end

subgraph group_content["Content features"]
  node_markdown["Markdown renderer<br/>[markdown.js]"]
  node_film_catalog["Film catalog<br/>[film.js]"]
  node_music_catalog["Music catalog<br/>[music.js]"]
  node_video_catalog["Video catalog<br/>[video.js]"]
  node_youtube_player["YouTube player<br/>[youtubeEmbed.js]"]
  node_games["Games and tools"]
  node_github_features["GitHub features"]
end

subgraph group_shared["Shared interface"]
  node_search["Search interface<br/>[searchbar.js]"]
  node_search_catalog["Search entries<br/>[searchbar-list.js]"]
  node_theme["Theme controls<br/>[theme.js]"]
  node_shared_fetch["Shared fetch<br/>[fetch.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens site"| node_bootstrap
node_bootstrap -->|"starts routing"| node_page_handlers
node_page_handlers -->|"loads handler"| node_admin_pages
node_page_handlers -->|"loads handler"| node_course_pages
node_page_handlers -->|"loads handler"| node_github_pages
node_page_handlers -->|"loads handler"| node_discord_pages
node_admin_pages -->|"loads catalog"| node_film_catalog
node_admin_pages -->|"loads player"| node_youtube_player
node_admin_pages -->|"loads catalog"| node_video_catalog
node_course_pages -->|"loads renderer"| node_markdown
node_github_pages -->|"loads renderer"| node_markdown
node_visitor -.->|"searches site"| node_search
node_visitor -.->|"changes theme"| node_theme
node_visitor -.->|"plays games"| node_games
node_visitor -.->|"views features"| node_github_features

click node_bootstrap "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/index.js"
click node_page_handlers "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/index.js"
click node_admin_pages "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/admin.js"
click node_course_pages "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/cours.js"
click node_github_pages "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/github.js"
click node_discord_pages "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/discord.js"
click node_markdown "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/markdown.js"
click node_film_catalog "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/film.js"
click node_music_catalog "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/music.js"
click node_video_catalog "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/video.js"
click node_youtube_player "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/youtubeEmbed.js"
click node_search "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/searchbar.js"
click node_search_catalog "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/searchbar-list.js"
click node_theme "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/theme.js"
click node_shared_fetch "https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/fetch.js"
click node_games "https://github.com/altherneum/altherneum.github.io/tree/main/src/js/content"
click node_github_features "https://github.com/altherneum/altherneum.github.io/tree/main/src/js/content"

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_bootstrap,node_page_handlers toneBlue
class node_admin_pages,node_course_pages,node_github_pages,node_discord_pages toneAmber
class node_markdown,node_film_catalog,node_music_catalog,node_video_catalog,node_youtube_player,node_games,node_github_features toneMint
class node_search,node_search_catalog,node_theme,node_shared_fetch toneRose
class node_visitor toneIndigo
```

## Components

### Site navigation

- [Site bootstrap](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/index.js): `src/js/include/index.js`
- [Page dispatch](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/index.js): `src/js/include/index.js`

### Page experiences

- [Admin pages](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/admin.js): `src/js/include/pages/admin.js`
- [Course pages](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/cours.js): `src/js/include/pages/cours.js`
- [GitHub pages](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/github.js): `src/js/include/pages/github.js`
- [Discord pages](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/pages/discord.js): `src/js/include/pages/discord.js`

### Content features

- [Markdown renderer](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/markdown.js): `src/js/content/markdown.js`
- [Film catalog](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/film.js): `src/js/content/film.js`
- [Music catalog](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/music.js): `src/js/content/music.js`
- [Video catalog](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/video.js): `src/js/content/video.js`
- [YouTube player](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/content/youtubeEmbed.js): `src/js/content/youtubeEmbed.js`
- [Games and tools](https://github.com/altherneum/altherneum.github.io/tree/main/src/js/content): `src/js/content`
- [GitHub features](https://github.com/altherneum/altherneum.github.io/tree/main/src/js/content): `src/js/content`

### Shared interface

- [Search interface](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/searchbar.js): `src/js/include/searchbar.js`
- [Search entries](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/searchbar-list.js): `src/js/include/searchbar-list.js`
- [Theme controls](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/theme.js): `src/js/include/theme.js`
- [Shared fetch](https://github.com/altherneum/altherneum.github.io/blob/main/src/js/include/fetch.js): `src/js/include/fetch.js`

### Other components

- **Visitor**

## Connections

- Visitor → Site bootstrap: opens site (evidence: `README.md`)
- Site bootstrap → Page dispatch: starts routing (evidence: `src/js/include/index.js`)
- Page dispatch → Admin pages: loads handler (evidence: `src/js/include/index.js`)
- Page dispatch → Course pages: loads handler (evidence: `src/js/include/index.js`)
- Page dispatch → GitHub pages: loads handler (evidence: `src/js/include/index.js`)
- Page dispatch → Discord pages: loads handler (evidence: `src/js/include/index.js`)
- Admin pages → Film catalog: loads catalog (evidence: `src/js/include/pages/admin.js`)
- Admin pages → YouTube player: loads player (evidence: `src/js/include/pages/admin.js`)
- Admin pages → Video catalog: loads catalog (evidence: `src/js/include/pages/admin.js`)
- Course pages → Markdown renderer: loads renderer (evidence: `src/js/include/pages/cours.js`)
- GitHub pages → Markdown renderer: loads renderer (evidence: `src/js/include/pages/github.js`)
- Visitor → Search interface: searches site
- Visitor → Theme controls: changes theme
- Visitor → Games and tools: plays games
- Visitor → GitHub features: views features
