# rithikrayan00-lang/dr-content-creator-manga architecture

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

- Interactive diagram: https://gitdiagram.com/rithikrayan00-lang/dr-content-creator-manga
- Repository: https://github.com/rithikrayan00-lang/dr-content-creator-manga

## Overview

This repository snapshot implements the public manga reader: visitors discover a series, browse its published chapters, and read chapter pages, with character and world archives as additional series features. The root README also describes a separate publishing portal, but its files are absent from this tree, so it is not mapped here. Route-to-module links are supported by excerpts or the SOURCE INDEX; Supabase storage behavior is included where documented, while unsampled implementation details are not inferred.

Main entry points: [`lib/catalog.ts`](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/lib/catalog.ts) (Catalog data access), [`app/manga/[slug]/page.tsx`](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/page.tsx) (Series profile), [`lib/seo.ts`](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/lib/seo.ts) (Page metadata), [`components/universe.tsx`](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/components/universe.tsx) (Archive components)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Discovery"]
  node_home["Home<br/>[page.tsx]"]
  node_catalogue["Manga catalogue<br/>[page.tsx]"]
  node_search["Search and filters<br/>[page.tsx]"]
  node_platform["Shared platform UI<br/>[platform.tsx]"]
end

subgraph group_reading["Reading"]
  node_series["Series profile<br/>[page.tsx]"]
  node_chapterroute["Chapter route<br/>[page.tsx]"]
  node_readerui["Chapter reader<br/>[platform.tsx]"]
end

subgraph group_universe["Series archives"]
  node_characters["Character archive<br/>[page.tsx]"]
  node_characterprofile["Character profile<br/>[page.tsx]"]
  node_world["World guide<br/>[page.tsx]"]
  node_worldentry["World entry<br/>[page.tsx]"]
  node_archiveui["Archive components<br/>[universe.tsx]"]
end

subgraph group_data["Data and metadata"]
  node_catalogdata["Catalog data access<br/>[catalog.ts]"]
  node_supabase[("Supabase manga data<br/>[schema.sql]")]
  node_archive_schema[("Archive data schema")]
  node_seo["Page metadata<br/>[seo.ts]"]
  node_robots["Robots route<br/>[robots.ts]"]
  node_sitemap["Sitemap route<br/>[sitemap.ts]"]
end

node_reader(("Visitor"))
node_storage[("Supabase image storage")]

node_reader -->|"opens"| node_home
node_reader -->|"browses"| node_catalogue
node_reader -->|"searches"| node_search
node_home -->|"loads series and chapters"| node_catalogdata
node_home -->|"renders"| node_platform
node_catalogue -->|"loads series"| node_catalogdata
node_catalogue -->|"renders browser"| node_platform
node_search -->|"loads series"| node_catalogdata
node_search -->|"renders browser"| node_platform
node_series -->|"loads series and archives"| node_catalogdata
node_series -->|"renders archives"| node_archiveui
node_series -->|"renders chapter list"| node_platform
node_series -->|"links to"| node_characters
node_series -->|"links to"| node_world
node_chapterroute -->|"loads chapter data"| node_catalogdata
node_chapterroute -->|"renders reader"| node_readerui
node_reader -->|"opens chapter"| node_chapterroute
node_readerui -.->|"loads private images"| node_storage
node_characters -->|"loads profiles"| node_catalogdata
node_characters -->|"renders cards"| node_archiveui
node_characterprofile -->|"loads profile and links"| node_catalogdata
node_characterprofile -->|"renders details"| node_archiveui
node_world -->|"loads entries"| node_catalogdata
node_world -->|"renders cards"| node_archiveui
node_worldentry -->|"loads entry"| node_catalogdata
node_worldentry -->|"renders details"| node_archiveui
node_catalogdata -->|"queries published records"| node_supabase
node_catalogdata -->|"queries archive tables"| node_archive_schema
node_catalogdata -.->|"resolves image URLs"| node_storage
node_series -->|"creates metadata"| node_seo
node_characters -->|"creates metadata"| node_seo
node_characterprofile -->|"creates metadata"| node_seo
node_world -->|"creates metadata"| node_seo
node_worldentry -->|"creates metadata"| node_seo
node_robots -->|"uses site origin"| node_seo
node_sitemap -->|"loads manga URLs"| node_catalogdata
node_sitemap -->|"uses canonical origin"| node_seo

click node_home "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/page.tsx"
click node_catalogue "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/page.tsx"
click node_search "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/search/page.tsx"
click node_platform "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/components/platform.tsx"
click node_series "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/page.tsx"
click node_chapterroute "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/chapter/%5BchapterSlug%5D/page.tsx"
click node_readerui "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/components/platform.tsx"
click node_characters "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/characters/page.tsx"
click node_characterprofile "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/characters/%5BcharacterSlug%5D/page.tsx"
click node_world "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/world/page.tsx"
click node_worldentry "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/world/%5BentrySlug%5D/page.tsx"
click node_archiveui "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/components/universe.tsx"
click node_catalogdata "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/lib/catalog.ts"
click node_supabase "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/supabase/schema.sql"
click node_archive_schema "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/supabase/advanced-universe.sql"
click node_seo "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/lib/seo.ts"
click node_robots "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/robots.ts"
click node_sitemap "https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/sitemap.ts"

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_catalogue,node_search,node_platform toneBlue
class node_series,node_chapterroute,node_readerui,node_storage toneAmber
class node_characters,node_characterprofile,node_world,node_worldentry,node_archiveui toneMint
class node_catalogdata,node_supabase,node_archive_schema,node_seo,node_robots,node_sitemap toneRose
class node_reader toneIndigo
```

## Components

### Discovery

- [Home](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/page.tsx): `app/page.tsx`
- [Manga catalogue](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/page.tsx): `app/manga/page.tsx`
- [Search and filters](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/search/page.tsx): `app/search/page.tsx`
- [Shared platform UI](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/components/platform.tsx): `components/platform.tsx`

### Reading

- [Series profile](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/page.tsx): `app/manga/[slug]/page.tsx`
- [Chapter route](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/chapter/%5BchapterSlug%5D/page.tsx): `app/manga/[slug]/chapter/[chapterSlug]/page.tsx`
- [Chapter reader](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/components/platform.tsx): `components/platform.tsx`

### Series archives

- [Character archive](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/characters/page.tsx): `app/manga/[slug]/characters/page.tsx`
- [Character profile](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/characters/%5BcharacterSlug%5D/page.tsx): `app/manga/[slug]/characters/[characterSlug]/page.tsx`
- [World guide](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/world/page.tsx): `app/manga/[slug]/world/page.tsx`
- [World entry](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/manga/%5Bslug%5D/world/%5BentrySlug%5D/page.tsx): `app/manga/[slug]/world/[entrySlug]/page.tsx`
- [Archive components](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/components/universe.tsx): `components/universe.tsx`

### Data and metadata

- [Catalog data access](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/lib/catalog.ts): `lib/catalog.ts`
- [Supabase manga data](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/supabase/schema.sql): `supabase/schema.sql`
- [Archive data schema](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/supabase/advanced-universe.sql): `supabase/advanced-universe.sql`
- [Page metadata](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/lib/seo.ts): `lib/seo.ts`
- [Robots route](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/robots.ts): `app/robots.ts`
- [Sitemap route](https://github.com/rithikrayan00-lang/dr-content-creator-manga/blob/main/app/sitemap.ts): `app/sitemap.ts`

### Other components

- **Visitor**
- **Supabase image storage**

## Connections

- Visitor → Home: opens (evidence: `app/page.tsx`)
- Visitor → Manga catalogue: browses (evidence: `app/manga/page.tsx`)
- Visitor → Search and filters: searches (evidence: `app/search/page.tsx`)
- Home → Catalog data access: loads series and chapters (evidence: `app/page.tsx`)
- Home → Shared platform UI: renders (evidence: `app/page.tsx`)
- Manga catalogue → Catalog data access: loads series (evidence: `app/manga/page.tsx`)
- Manga catalogue → Shared platform UI: renders browser (evidence: `app/manga/page.tsx`)
- Search and filters → Catalog data access: loads series (evidence: `app/search/page.tsx`)
- Search and filters → Shared platform UI: renders browser (evidence: `app/search/page.tsx`)
- Series profile → Catalog data access: loads series and archives (evidence: `app/manga/[slug]/page.tsx`)
- Series profile → Archive components: renders archives (evidence: `app/manga/[slug]/page.tsx`)
- Series profile → Shared platform UI: renders chapter list (evidence: `app/manga/[slug]/page.tsx`)
- Series profile → Character archive: links to (evidence: `app/manga/[slug]/page.tsx`)
- Series profile → World guide: links to (evidence: `app/manga/[slug]/page.tsx`)
- Chapter route → Catalog data access: loads chapter data (evidence: `app/manga/[slug]/chapter/[chapterSlug]/page.tsx`)
- Chapter route → Chapter reader: renders reader (evidence: `app/manga/[slug]/chapter/[chapterSlug]/page.tsx`)
- Visitor → Chapter route: opens chapter (evidence: `app/manga/[slug]/chapter/[chapterSlug]/page.tsx`)
- Chapter reader → Supabase image storage: loads private images (evidence: `README.md`)
- Character archive → Catalog data access: loads profiles (evidence: `app/manga/[slug]/characters/page.tsx`)
- Character archive → Archive components: renders cards (evidence: `app/manga/[slug]/characters/page.tsx`)
- Character profile → Catalog data access: loads profile and links (evidence: `app/manga/[slug]/characters/[characterSlug]/page.tsx`)
- Character profile → Archive components: renders details (evidence: `app/manga/[slug]/characters/[characterSlug]/page.tsx`)
- World guide → Catalog data access: loads entries (evidence: `app/manga/[slug]/world/page.tsx`)
- World guide → Archive components: renders cards (evidence: `app/manga/[slug]/world/page.tsx`)
- World entry → Catalog data access: loads entry (evidence: `app/manga/[slug]/world/[entrySlug]/page.tsx`)
- World entry → Archive components: renders details (evidence: `app/manga/[slug]/world/[entrySlug]/page.tsx`)
- Catalog data access → Supabase manga data: queries published records (evidence: `lib/catalog.ts`)
- Catalog data access → Archive data schema: queries archive tables (evidence: `lib/catalog.ts`)
- Catalog data access → Supabase image storage: resolves image URLs (evidence: `README.md`)
- Series profile → Page metadata: creates metadata (evidence: `app/manga/[slug]/page.tsx`)
- Character archive → Page metadata: creates metadata (evidence: `app/manga/[slug]/characters/page.tsx`)
- Character profile → Page metadata: creates metadata (evidence: `app/manga/[slug]/characters/[characterSlug]/page.tsx`)
- World guide → Page metadata: creates metadata (evidence: `app/manga/[slug]/world/page.tsx`)
- World entry → Page metadata: creates metadata (evidence: `app/manga/[slug]/world/[entrySlug]/page.tsx`)
- Robots route → Page metadata: uses site origin (evidence: `app/robots.ts`)
- Sitemap route → Catalog data access: loads manga URLs (evidence: `app/sitemap.ts`)
- Sitemap route → Page metadata: uses canonical origin (evidence: `app/sitemap.ts`)
