# jvrlc/my-slidesk architecture

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

- Interactive diagram: https://gitdiagram.com/jvrlc/my-slidesk
- Repository: https://github.com/jvrlc/my-slidesk

## Overview

Slide Desk is a presentation catalog and viewing portal, with a companion command that scaffolds new Slidev decks. The documented workflow is to add or create a deck, have its metadata indexed, and browse presentations through the portal; Slidev provides the interactive deck experience. The portal implementation is present in the tree but was not excerpted, so its internal search and filtering connections are based on README documentation rather than inspected source.

Main entry points: [`slides/demo-presentation/slides.md`](https://github.com/jvrlc/my-slidesk/blob/main/slides/demo-presentation/slides.md) (Presentation content), [`scripts/build.mjs`](https://github.com/jvrlc/my-slidesk/blob/main/scripts/build.mjs) (Catalog indexer), [`scripts/new-presentation.mjs`](https://github.com/jvrlc/my-slidesk/blob/main/scripts/new-presentation.mjs) (Deck scaffolder), [`src/index.html`](https://github.com/jvrlc/my-slidesk/blob/main/src/index.html) (Presentation portal)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Deck authoring"]
  node_scaffold["Deck scaffolder"]
  node_deck["Presentation content<br/>[slides.md]"]
  node_deckstyle["Deck styling<br/>[style.css]"]
end

subgraph group_catalog["Catalog and portal"]
  node_catalogbuild["Catalog indexer<br/>[build.mjs]"]
  node_portal["Presentation portal<br/>[index.html]"]
  node_catalogdata["Presentation catalog"]
end

subgraph group_viewing["Presentation viewing"]
  node_viewer["Slidev presentation viewer"]
end

node_author(("Deck author"))

node_author -->|"creates deck"| node_scaffold
node_scaffold -->|"generates scaffold"| node_deck
node_author -->|"edits slides"| node_deck
node_author -->|"edits styles"| node_deckstyle
node_catalogbuild -->|"reads metadata"| node_deck
node_catalogbuild -->|"writes catalog"| node_catalogdata
node_portal -->|"loads catalog"| node_catalogdata
node_author -->|"searches and filters"| node_portal
node_author -->|"opens presentation"| node_viewer
node_viewer -->|"renders slides"| node_deck
node_viewer -.->|"applies styles"| node_deckstyle

click node_scaffold "https://github.com/jvrlc/my-slidesk/blob/main/scripts/new-presentation.mjs"
click node_deck "https://github.com/jvrlc/my-slidesk/blob/main/slides/demo-presentation/slides.md"
click node_deckstyle "https://github.com/jvrlc/my-slidesk/blob/main/slides/demo-presentation/style.css"
click node_catalogbuild "https://github.com/jvrlc/my-slidesk/blob/main/scripts/build.mjs"
click node_portal "https://github.com/jvrlc/my-slidesk/blob/main/src/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_scaffold,node_deck,node_deckstyle toneBlue
class node_catalogbuild,node_portal,node_catalogdata toneAmber
class node_viewer toneMint
class node_author toneIndigo
```

## Components

### Deck authoring

- [Deck scaffolder](https://github.com/jvrlc/my-slidesk/blob/main/scripts/new-presentation.mjs): `scripts/new-presentation.mjs`
- [Presentation content](https://github.com/jvrlc/my-slidesk/blob/main/slides/demo-presentation/slides.md): `slides/demo-presentation/slides.md`
- [Deck styling](https://github.com/jvrlc/my-slidesk/blob/main/slides/demo-presentation/style.css): `slides/demo-presentation/style.css`

### Catalog and portal

- [Catalog indexer](https://github.com/jvrlc/my-slidesk/blob/main/scripts/build.mjs): `scripts/build.mjs`
- [Presentation portal](https://github.com/jvrlc/my-slidesk/blob/main/src/index.html): `src/index.html`
- **Presentation catalog**

### Presentation viewing

- **Slidev presentation viewer**

### Other components

- **Deck author**

## Connections

- Deck author → Deck scaffolder: creates deck (evidence: `README.md`)
- Deck scaffolder → Presentation content: generates scaffold (evidence: `scripts/new-presentation.mjs`)
- Deck author → Presentation content: edits slides (evidence: `README.md`)
- Deck author → Deck styling: edits styles (evidence: `README.md`)
- Catalog indexer → Presentation content: reads metadata (evidence: `scripts/build.mjs`)
- Catalog indexer → Presentation catalog: writes catalog (evidence: `scripts/build.mjs`)
- Presentation portal → Presentation catalog: loads catalog (evidence: `README.md`)
- Deck author → Presentation portal: searches and filters (evidence: `README.md`)
- Deck author → Slidev presentation viewer: opens presentation (evidence: `README.md`)
- Slidev presentation viewer → Presentation content: renders slides (evidence: `README.md`)
- Slidev presentation viewer → Deck styling: applies styles
