# luminexrecon/aoeternalwikinew architecture

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

- Interactive diagram: https://gitdiagram.com/luminexrecon/aoeternalwikinew
- Repository: https://github.com/luminexrecon/aoeternalwikinew

## Overview

Atlantica Eternal Wiki is a static game reference site backed by Supabase, with pages for collections, quests, monsters, exchange NPCs, banned items, streamers, and general information. Visitors enter through a page and its browser-side code; the likely data path to Supabase is based on the repository layout, since the page and asset source was not excerpted. The tools also prepare wiki data and collection icons. Edges for unsampled browser wiring are omitted or marked unverified; tool relationships are included only where excerpts show calls.

Main entry points: [`tools/item_icons.py`](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/item_icons.py) (Icon lookup), [`tools/extract_icons.py`](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/extract_icons.py) (Icon extraction), [`tools/sync_icons.py`](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/sync_icons.py) (Icon sync), [`assets/collection.js`](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/collection.js) (Collection behavior)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Wiki site"]
  node_home["Home page<br/>[index.html]"]
  node_shared_js["Shared browser code<br/>[common.js]"]
  node_config["Browser config<br/>[config.js]"]
end

subgraph group_content["Reference content"]
  node_collection_page["Collection pages<br/>[collection.html]"]
  node_collection_list["Collection list"]
  node_collection_js["Collection behavior<br/>[collection.js]"]
  node_quest_page["Quest reference<br/>[quest.html]"]
  node_quest_js["Quest behavior<br/>[quest.js]"]
  node_mobs_page["Monster reference<br/>[mobs.html]"]
  node_mobs_js["Monster behavior<br/>[mobs.js]"]
  node_exchange_page["NPC exchange<br/>[exchange.html]"]
  node_exchange_js["Exchange behavior<br/>[exchange.js]"]
  node_banned_page["Banned items<br/>[banned.html]"]
  node_banned_js["Banned behavior<br/>[banned.js]"]
  node_streamers_js["Streamer content<br/>[streamers.js]"]
  node_source_card_js["Source cards<br/>[source-card.js]"]
end

subgraph group_backend["Data backend"]
  node_supabase[("Supabase")]
  node_schema["Wiki schema<br/>[schema.sql]"]
end

subgraph group_tools["Data tools"]
  node_client_items["Client item decoder<br/>[client_items.py]"]
  node_collection_sets["Collection shaping<br/>[collection_sets.py]"]
  node_icon_export["Icon export"]
  node_icon_extract["Icon extraction<br/>[extract_icons.py]"]
  node_supabase_import["Data importer<br/>[import_supabase.py]"]
  node_item_icons["Icon lookup<br/>[item_icons.py]"]
  node_mob_shaping["Monster shaping<br/>[mobs.py]"]
  node_quest_shaping["Quest shaping<br/>[quests.py]"]
  node_icon_sync["Icon sync<br/>[sync_icons.py]"]
  node_exchange_build["Exchange data builder<br/>[exchange_build.py]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -.->|"opens"| node_collection_page
node_visitor -.->|"opens"| node_collection_list
node_visitor -.->|"opens"| node_quest_page
node_visitor -.->|"opens"| node_mobs_page
node_visitor -.->|"opens"| node_exchange_page
node_visitor -.->|"opens"| node_banned_page
node_collection_page -.->|"uses"| node_collection_js
node_collection_list -.->|"uses"| node_collection_js
node_quest_page -.->|"uses"| node_quest_js
node_mobs_page -.->|"uses"| node_mobs_js
node_exchange_page -.->|"uses"| node_exchange_js
node_banned_page -.->|"uses"| node_banned_js
node_shared_js -.->|"queries"| node_supabase
node_collection_js -.->|"queries"| node_supabase
node_quest_js -.->|"queries"| node_supabase
node_mobs_js -.->|"queries"| node_supabase
node_exchange_js -.->|"queries"| node_supabase
node_banned_js -.->|"queries"| node_supabase
node_client_items -->|"uses slug"| node_item_icons
node_collection_sets -->|"looks up icons"| node_item_icons
node_icon_extract -->|"reads positions"| node_client_items
node_icon_extract -->|"uses paths"| node_item_icons
node_icon_extract -->|"reads live items"| node_icon_sync
node_icon_sync -->|"uses API helpers"| node_supabase_import
node_icon_sync -->|"resolves icons"| node_item_icons
node_supabase_import -->|"uploads data"| node_supabase
node_exchange_build -->|"writes SQL for"| node_supabase
node_schema -.->|"defines tables"| node_supabase

click node_home "https://github.com/luminexrecon/aoeternalwikinew/blob/main/index.html"
click node_shared_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/common.js"
click node_config "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/config.js"
click node_collection_page "https://github.com/luminexrecon/aoeternalwikinew/blob/main/collection.html"
click node_collection_list "https://github.com/luminexrecon/aoeternalwikinew/blob/main/collection-list.html"
click node_collection_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/collection.js"
click node_quest_page "https://github.com/luminexrecon/aoeternalwikinew/blob/main/quest.html"
click node_quest_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/quest.js"
click node_mobs_page "https://github.com/luminexrecon/aoeternalwikinew/blob/main/mobs.html"
click node_mobs_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/mobs.js"
click node_exchange_page "https://github.com/luminexrecon/aoeternalwikinew/blob/main/exchange.html"
click node_exchange_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/exchange.js"
click node_banned_page "https://github.com/luminexrecon/aoeternalwikinew/blob/main/banned.html"
click node_banned_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/banned.js"
click node_streamers_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/streamers.js"
click node_source_card_js "https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/source-card.js"
click node_schema "https://github.com/luminexrecon/aoeternalwikinew/blob/main/supabase/schema.sql"
click node_client_items "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/client_items.py"
click node_collection_sets "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/collection_sets.py"
click node_icon_export "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/export_all_icons.py"
click node_icon_extract "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/extract_icons.py"
click node_supabase_import "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/import_supabase.py"
click node_item_icons "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/item_icons.py"
click node_mob_shaping "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/mobs.py"
click node_quest_shaping "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/quests.py"
click node_icon_sync "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/sync_icons.py"
click node_exchange_build "https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/exchange_build.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,node_shared_js,node_config toneBlue
class node_collection_page,node_collection_list,node_collection_js,node_quest_page,node_quest_js,node_mobs_page,node_mobs_js,node_exchange_page,node_exchange_js,node_banned_page,node_banned_js,node_streamers_js,node_source_card_js toneAmber
class node_supabase,node_schema toneMint
class node_client_items,node_collection_sets,node_icon_export,node_icon_extract,node_supabase_import,node_item_icons,node_mob_shaping,node_quest_shaping,node_icon_sync,node_exchange_build toneRose
class node_visitor toneIndigo
```

## Components

### Wiki site

- [Home page](https://github.com/luminexrecon/aoeternalwikinew/blob/main/index.html): `index.html`
- [Shared browser code](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/common.js): `assets/common.js`
- [Browser config](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/config.js): `assets/config.js`

### Reference content

- [Collection pages](https://github.com/luminexrecon/aoeternalwikinew/blob/main/collection.html): `collection.html`
- [Collection list](https://github.com/luminexrecon/aoeternalwikinew/blob/main/collection-list.html): `collection-list.html`
- [Collection behavior](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/collection.js): `assets/collection.js`
- [Quest reference](https://github.com/luminexrecon/aoeternalwikinew/blob/main/quest.html): `quest.html`
- [Quest behavior](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/quest.js): `assets/quest.js`
- [Monster reference](https://github.com/luminexrecon/aoeternalwikinew/blob/main/mobs.html): `mobs.html`
- [Monster behavior](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/mobs.js): `assets/mobs.js`
- [NPC exchange](https://github.com/luminexrecon/aoeternalwikinew/blob/main/exchange.html): `exchange.html`
- [Exchange behavior](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/exchange.js): `assets/exchange.js`
- [Banned items](https://github.com/luminexrecon/aoeternalwikinew/blob/main/banned.html): `banned.html`
- [Banned behavior](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/banned.js): `assets/banned.js`
- [Streamer content](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/streamers.js): `assets/streamers.js`
- [Source cards](https://github.com/luminexrecon/aoeternalwikinew/blob/main/assets/source-card.js): `assets/source-card.js`

### Data backend

- **Supabase**
- [Wiki schema](https://github.com/luminexrecon/aoeternalwikinew/blob/main/supabase/schema.sql): `supabase/schema.sql`

### Data tools

- [Client item decoder](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/client_items.py): `tools/client_items.py`
- [Collection shaping](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/collection_sets.py): `tools/collection_sets.py`
- [Icon export](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/export_all_icons.py): `tools/export_all_icons.py`
- [Icon extraction](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/extract_icons.py): `tools/extract_icons.py`
- [Data importer](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/import_supabase.py): `tools/import_supabase.py`
- [Icon lookup](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/item_icons.py): `tools/item_icons.py`
- [Monster shaping](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/mobs.py): `tools/mobs.py`
- [Quest shaping](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/quests.py): `tools/quests.py`
- [Icon sync](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/sync_icons.py): `tools/sync_icons.py`
- [Exchange data builder](https://github.com/luminexrecon/aoeternalwikinew/blob/main/tools/exchange_build.py): `tools/exchange_build.py`

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens
- Visitor → Collection pages: opens
- Visitor → Collection list: opens
- Visitor → Quest reference: opens
- Visitor → Monster reference: opens
- Visitor → NPC exchange: opens
- Visitor → Banned items: opens
- Collection pages → Collection behavior: uses
- Collection list → Collection behavior: uses
- Quest reference → Quest behavior: uses
- Monster reference → Monster behavior: uses
- NPC exchange → Exchange behavior: uses
- Banned items → Banned behavior: uses
- Shared browser code → Supabase: queries
- Collection behavior → Supabase: queries
- Quest behavior → Supabase: queries
- Monster behavior → Supabase: queries
- Exchange behavior → Supabase: queries
- Banned behavior → Supabase: queries
- Client item decoder → Icon lookup: uses slug (evidence: `tools/client_items.py`)
- Collection shaping → Icon lookup: looks up icons (evidence: `tools/collection_sets.py`)
- Icon extraction → Client item decoder: reads positions (evidence: `tools/extract_icons.py`)
- Icon extraction → Icon lookup: uses paths (evidence: `tools/extract_icons.py`)
- Icon extraction → Icon sync: reads live items (evidence: `tools/extract_icons.py`)
- Icon sync → Data importer: uses API helpers (evidence: `tools/sync_icons.py`)
- Icon sync → Icon lookup: resolves icons (evidence: `tools/sync_icons.py`)
- Data importer → Supabase: uploads data (evidence: `tools/import_supabase.py`)
- Exchange data builder → Supabase: writes SQL for (evidence: `tools/exchange_build.py`)
- Wiki schema → Supabase: defines tables
