# gwisniewski0206/ctag-website architecture

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

- Interactive diagram: https://gitdiagram.com/gwisniewski0206/ctag-website
- Repository: https://github.com/gwisniewski0206/ctag-website

## Overview

CTAG-Website is an Astro site for the Creative Technologies working group, with file-based project, partner, team, and page content. Visitors browse the site and its project details, while editors use the public CMS to save changes that are later published. The graph includes the documented editorial and browsing capabilities plus sampled interactive audio features. Several page implementations and CMS wiring were not sampled, so those relationships are shown only where the README supports them; build-only integrations are omitted.

Main entry points: [`src/lib/scroll-motion.ts`](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/scroll-motion.ts) (Scroll motion), [`src/content`](https://github.com/gwisniewski0206/ctag-website/tree/main/src/content) (File-based content), [`src/lib/playsynth.ts`](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/playsynth.ts) (Partner mini-synth), [`public/admin/config.yml`](https://github.com/gwisniewski0206/ctag-website/blob/main/public/admin/config.yml) (CMS admin)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_publishing["Editorial publishing"]
  node_cms["CMS admin<br/>[config.yml]"]
  node_vault["Encrypted token vault<br/>[vault.json]"]
  node_content["File-based content"]
end

subgraph group_site["Public website"]
  node_sitepages["Site pages"]
  node_projectdetail["Project details<br/>[&#91;slug&#93;.astro]"]
  node_projectlist["Project listing<br/>[index.astro]"]
  node_partnerpages["Partner pages<br/>[partners.astro]"]
  node_teampage["Team page<br/>[team.astro]"]
  node_embeds["Media embeds<br/>[embeds.mjs]"]
end

subgraph group_audio["Interactive audio"]
  node_synthart["Modular synth artwork<br/>[synth.ts]"]
  node_minisynth["Partner mini-synth<br/>[playsynth.ts]"]
  node_sequencer["Project sequencer<br/>[sequencer.ts]"]
  node_audioctx["Shared audio context<br/>[audio.ts]"]
  node_lissajous["Lissajous visualizer<br/>[lissajous.ts]"]
  node_waves["Wave effects<br/>[waves.ts]"]
end

subgraph group_motion["Shared interaction"]
  node_drag["Pointer controls<br/>[drag.ts]"]
  node_scrollmotion["Scroll motion<br/>[scroll-motion.ts]"]
end

node_visitor(("Site visitor"))
node_editor(("Content editor"))
node_github[("GitHub repository")]

node_visitor -->|"browses"| node_sitepages
node_sitepages -->|"offers projects"| node_projectlist
node_projectlist -->|"opens project"| node_projectdetail
node_visitor -->|"browses"| node_partnerpages
node_visitor -->|"browses"| node_teampage
node_editor -->|"edits content"| node_cms
node_cms -->|"saves changes"| node_github
node_vault -->|"provides token"| node_cms
node_content -->|"supplies content"| node_sitepages
node_content -->|"supplies projects"| node_projectlist
node_content -->|"supplies project"| node_projectdetail
node_projectdetail -->|"renders media links"| node_embeds
node_minisynth -->|"uses audio"| node_audioctx
node_sequencer -->|"uses audio"| node_audioctx
node_minisynth -->|"uses controls"| node_drag
node_minisynth -->|"tracks scrolling"| node_scrollmotion
node_synthart -->|"uses controls"| node_drag
node_synthart -->|"tracks scrolling"| node_scrollmotion
node_sequencer -->|"tracks scrolling"| node_scrollmotion
node_lissajous -->|"uses controls"| node_drag
node_lissajous -->|"tracks scrolling"| node_scrollmotion
node_waves -->|"tracks scrolling"| node_scrollmotion

click node_cms "https://github.com/gwisniewski0206/ctag-website/blob/main/public/admin/config.yml"
click node_vault "https://github.com/gwisniewski0206/ctag-website/blob/main/public/admin/vault.json"
click node_content "https://github.com/gwisniewski0206/ctag-website/tree/main/src/content"
click node_sitepages "https://github.com/gwisniewski0206/ctag-website/tree/main/src/pages"
click node_projectdetail "https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/projects/%5Bslug%5D.astro"
click node_projectlist "https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/projects/index.astro"
click node_partnerpages "https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/partners.astro"
click node_teampage "https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/team.astro"
click node_embeds "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/embeds.mjs"
click node_synthart "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/synth.ts"
click node_minisynth "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/playsynth.ts"
click node_sequencer "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/sequencer.ts"
click node_audioctx "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/audio.ts"
click node_lissajous "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/lissajous.ts"
click node_waves "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/waves.ts"
click node_drag "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/drag.ts"
click node_scrollmotion "https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/scroll-motion.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_cms,node_vault,node_content toneBlue
class node_sitepages,node_projectdetail,node_projectlist,node_partnerpages,node_teampage,node_embeds,node_github toneAmber
class node_synthart,node_minisynth,node_sequencer,node_audioctx,node_lissajous,node_waves toneMint
class node_drag,node_scrollmotion toneRose
class node_visitor,node_editor toneIndigo
```

## Components

### Editorial publishing

- [CMS admin](https://github.com/gwisniewski0206/ctag-website/blob/main/public/admin/config.yml): `public/admin/config.yml`
- [Encrypted token vault](https://github.com/gwisniewski0206/ctag-website/blob/main/public/admin/vault.json): `public/admin/vault.json`
- [File-based content](https://github.com/gwisniewski0206/ctag-website/tree/main/src/content): `src/content`

### Public website

- [Site pages](https://github.com/gwisniewski0206/ctag-website/tree/main/src/pages): `src/pages`
- [Project details](https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/projects/%5Bslug%5D.astro): `src/pages/projects/[slug].astro`
- [Project listing](https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/projects/index.astro): `src/pages/projects/index.astro`
- [Partner pages](https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/partners.astro): `src/pages/partners.astro`
- [Team page](https://github.com/gwisniewski0206/ctag-website/blob/main/src/pages/team.astro): `src/pages/team.astro`
- [Media embeds](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/embeds.mjs): `src/lib/embeds.mjs`

### Interactive audio

- [Modular synth artwork](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/synth.ts): `src/lib/synth.ts`
- [Partner mini-synth](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/playsynth.ts): `src/lib/playsynth.ts`
- [Project sequencer](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/sequencer.ts): `src/lib/sequencer.ts`
- [Shared audio context](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/audio.ts): `src/lib/audio.ts`
- [Lissajous visualizer](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/lissajous.ts): `src/lib/lissajous.ts`
- [Wave effects](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/waves.ts): `src/lib/waves.ts`

### Shared interaction

- [Pointer controls](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/drag.ts): `src/lib/drag.ts`
- [Scroll motion](https://github.com/gwisniewski0206/ctag-website/blob/main/src/lib/scroll-motion.ts): `src/lib/scroll-motion.ts`

### Other components

- **Site visitor**
- **Content editor**
- **GitHub repository**

## Connections

- Site visitor → Site pages: browses (evidence: `README.md`)
- Site pages → Project listing: offers projects (evidence: `README.md`)
- Project listing → Project details: opens project (evidence: `README.md`)
- Site visitor → Partner pages: browses (evidence: `README.md`)
- Site visitor → Team page: browses (evidence: `README.md`)
- Content editor → CMS admin: edits content (evidence: `README.md`)
- CMS admin → GitHub repository: saves changes (evidence: `README.md`)
- Encrypted token vault → CMS admin: provides token (evidence: `README.md`)
- File-based content → Site pages: supplies content (evidence: `README.md`)
- File-based content → Project listing: supplies projects (evidence: `README.md`)
- File-based content → Project details: supplies project (evidence: `README.md`)
- Project details → Media embeds: renders media links (evidence: `src/lib/embeds.mjs`)
- Partner mini-synth → Shared audio context: uses audio (evidence: `src/lib/playsynth.ts`)
- Project sequencer → Shared audio context: uses audio (evidence: `src/lib/sequencer.ts`)
- Partner mini-synth → Pointer controls: uses controls (evidence: `src/lib/playsynth.ts`)
- Partner mini-synth → Scroll motion: tracks scrolling (evidence: `src/lib/playsynth.ts`)
- Modular synth artwork → Pointer controls: uses controls (evidence: `src/lib/synth.ts`)
- Modular synth artwork → Scroll motion: tracks scrolling (evidence: `src/lib/synth.ts`)
- Project sequencer → Scroll motion: tracks scrolling (evidence: `src/lib/sequencer.ts`)
- Lissajous visualizer → Pointer controls: uses controls (evidence: `src/lib/lissajous.ts`)
- Lissajous visualizer → Scroll motion: tracks scrolling (evidence: `src/lib/lissajous.ts`)
- Wave effects → Scroll motion: tracks scrolling (evidence: `src/lib/waves.ts`)
