# kingoftheseas56/colosseum architecture

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

- Interactive diagram: https://gitdiagram.com/kingoftheseas56/colosseum
- Repository: https://github.com/kingoftheseas56/colosseum

## Overview

Colosseum is a cross-platform media application organized around Theatre, Tankoban, Biblio, Vault, and curated Universes, with shared playback, reading, extension, and account capabilities. The README establishes the product-level user journeys; the supplied excerpts expose only selected internal relationships, so the graph avoids claiming detailed runtime wiring for unsampled areas.

Main entry points: [`native/MangaEngine.h`](https://github.com/kingoftheseas56/colosseum/blob/master/native/MangaEngine.h) (Tankoban), [`native/engine/BiblioCatalog.cpp`](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/BiblioCatalog.cpp) (Biblio), [`native/engine/MalCatalog.cpp`](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/MalCatalog.cpp) (Theatre), [`native/engine/AudiobookCatalog.cpp`](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/AudiobookCatalog.cpp) (Audiobook catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_worlds["Media worlds"]
  node_theatre["Theatre<br/>[MalCatalog.cpp]"]
  node_tankoban["Tankoban<br/>[MangaEngine.h]"]
  node_biblio["Biblio<br/>[BiblioCatalog.cpp]"]
  node_universes["Universes"]
  node_audiobooks["Audiobook catalog"]
end

subgraph group_consumption["Playback and reading"]
  node_video["Video playback<br/>[mpvitem.cpp]"]
  node_comicreader["Comic reader"]
  node_bookreader["Book reader<br/>[ReaderEngine.js]"]
end

subgraph group_library["Local library"]
  node_vault["Vault library<br/>[VaultLibrary.cpp]"]
  node_vaultindex[("Vault indexing<br/>[VaultIndex.cpp]")]
  node_downloads[("Downloads<br/>[LocalDownloads.cpp]")]
end

subgraph group_platform["Shared services"]
  node_torrent["Torrent engine<br/>[TorrentEngine.cpp]"]
  node_accounts["Accounts and sync<br/>[SyncEngine.cpp]"]
  node_ratings["Ratings and reviews"]
  node_feria["Feria sessions"]
end

subgraph group_extensions["Extensions"]
  node_extensions[("Extension manager")]
  node_tankoyomi["Manga sources"]
end

node_user(("Media user"))

node_user -->|"explores"| node_theatre
node_user -->|"explores"| node_tankoban
node_user -->|"explores"| node_biblio
node_user -->|"browses"| node_universes
node_user -->|"browses"| node_vault
node_user -->|"manages"| node_extensions
node_user -.->|"opens"| node_feria
node_theatre -->|"plays media"| node_video
node_tankoban -->|"reads comics"| node_comicreader
node_biblio -->|"reads books"| node_bookreader
node_biblio -->|"offers audiobooks"| node_audiobooks
node_vault -->|"indexes files"| node_vaultindex
node_tankoban -.->|"uses sources"| node_tankoyomi
node_audiobooks -->|"adapts torrent engine"| node_torrent
node_user -.->|"syncs profile"| node_accounts
node_user -.->|"manages reviews"| node_ratings
node_user -->|"manages downloads"| node_downloads

click node_theatre "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/MalCatalog.cpp"
click node_tankoban "https://github.com/kingoftheseas56/colosseum/blob/master/native/MangaEngine.h"
click node_biblio "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/BiblioCatalog.cpp"
click node_universes "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/StaticCatalogueResolver.cpp"
click node_video "https://github.com/kingoftheseas56/colosseum/blob/master/native/player/mpvitem.cpp"
click node_comicreader "https://github.com/kingoftheseas56/colosseum/blob/master/native/comicreader/ComicReaderCore.cpp"
click node_bookreader "https://github.com/kingoftheseas56/colosseum/blob/master/qml/ReaderEngine.js"
click node_audiobooks "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/AudiobookCatalog.cpp"
click node_vault "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/VaultLibrary.cpp"
click node_vaultindex "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/VaultIndex.cpp"
click node_downloads "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/LocalDownloads.cpp"
click node_extensions "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/ExtensionsStore.cpp"
click node_tankoyomi "https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/TankoyomiChapterService.cpp"
click node_torrent "https://github.com/kingoftheseas56/colosseum/blob/master/native/torrent/engine/TorrentEngine.cpp"
click node_accounts "https://github.com/kingoftheseas56/colosseum/blob/master/native/account/SyncEngine.cpp"
click node_ratings "https://github.com/kingoftheseas56/colosseum/blob/master/native/account/RatingsReviewsController.cpp"
click node_feria "https://github.com/kingoftheseas56/colosseum/blob/master/native/feria/FeriaBrowserRuntime.cpp"

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_theatre,node_tankoban,node_biblio,node_universes,node_audiobooks,node_user toneBlue
class node_video,node_comicreader,node_bookreader toneAmber
class node_vault,node_vaultindex,node_downloads toneMint
class node_torrent,node_accounts,node_ratings,node_feria toneRose
class node_extensions,node_tankoyomi toneIndigo
```

## Components

### Media worlds

- [Theatre](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/MalCatalog.cpp): `native/engine/MalCatalog.cpp`
- [Tankoban](https://github.com/kingoftheseas56/colosseum/blob/master/native/MangaEngine.h): `native/MangaEngine.h`
- [Biblio](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/BiblioCatalog.cpp): `native/engine/BiblioCatalog.cpp`
- [Universes](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/StaticCatalogueResolver.cpp): `native/engine/StaticCatalogueResolver.cpp`
- [Audiobook catalog](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/AudiobookCatalog.cpp): `native/engine/AudiobookCatalog.cpp`

### Playback and reading

- [Video playback](https://github.com/kingoftheseas56/colosseum/blob/master/native/player/mpvitem.cpp): `native/player/mpvitem.cpp`
- [Comic reader](https://github.com/kingoftheseas56/colosseum/blob/master/native/comicreader/ComicReaderCore.cpp): `native/comicreader/ComicReaderCore.cpp`
- [Book reader](https://github.com/kingoftheseas56/colosseum/blob/master/qml/ReaderEngine.js): `qml/ReaderEngine.js`

### Local library

- [Vault library](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/VaultLibrary.cpp): `native/engine/VaultLibrary.cpp`
- [Vault indexing](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/VaultIndex.cpp): `native/engine/VaultIndex.cpp`
- [Downloads](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/LocalDownloads.cpp): `native/engine/LocalDownloads.cpp`

### Shared services

- [Torrent engine](https://github.com/kingoftheseas56/colosseum/blob/master/native/torrent/engine/TorrentEngine.cpp): `native/torrent/engine/TorrentEngine.cpp`
- [Accounts and sync](https://github.com/kingoftheseas56/colosseum/blob/master/native/account/SyncEngine.cpp): `native/account/SyncEngine.cpp`
- [Ratings and reviews](https://github.com/kingoftheseas56/colosseum/blob/master/native/account/RatingsReviewsController.cpp): `native/account/RatingsReviewsController.cpp`
- [Feria sessions](https://github.com/kingoftheseas56/colosseum/blob/master/native/feria/FeriaBrowserRuntime.cpp): `native/feria/FeriaBrowserRuntime.cpp`

### Extensions

- [Extension manager](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/ExtensionsStore.cpp): `native/engine/ExtensionsStore.cpp`
- [Manga sources](https://github.com/kingoftheseas56/colosseum/blob/master/native/engine/TankoyomiChapterService.cpp): `native/engine/TankoyomiChapterService.cpp`

### Other components

- **Media user**

## Connections

- Media user → Theatre: explores (evidence: `README.md`)
- Media user → Tankoban: explores (evidence: `README.md`)
- Media user → Biblio: explores (evidence: `README.md`)
- Media user → Universes: browses (evidence: `README.md`)
- Media user → Vault library: browses (evidence: `README.md`)
- Media user → Extension manager: manages (evidence: `README.md`)
- Media user → Feria sessions: opens (evidence: `README.md`)
- Theatre → Video playback: plays media (evidence: `README.md`)
- Tankoban → Comic reader: reads comics (evidence: `README.md`)
- Biblio → Book reader: reads books (evidence: `README.md`)
- Biblio → Audiobook catalog: offers audiobooks (evidence: `README.md`)
- Vault library → Vault indexing: indexes files (evidence: `README.md`)
- Tankoban → Manga sources: uses sources
- Audiobook catalog → Torrent engine: adapts torrent engine
- Media user → Accounts and sync: syncs profile
- Media user → Ratings and reviews: manages reviews
- Media user → Downloads: manages downloads (evidence: `README.md`)
