# celerium/celerium.nova architecture

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

- Interactive diagram: https://gitdiagram.com/celerium/celerium.nova
- Repository: https://github.com/celerium/celerium.nova

## Overview

Celerium.Nova is a PowerShell module for turning PowerShell objects into reusable HTML report components or complete, offline-capable reports. Its principal workflow accepts objects in New-clNovaHtmlReport, produces HTML, and optionally saves it when -Path is supplied. The README also documents standalone summary cards, card sets, and sortable/searchable tables, plus CDN resource mode and custom resource paths. Source excerpts were unavailable, so internal call relationships are not asserted; documented relationships cite the README.

Main entry points: [`Celerium.Nova/Public/HtmlReport/New-clNovaHtmlReport.ps1`](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlReport.ps1) (Complete report), [`Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCardSet.ps1`](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCardSet.ps1) (Summary card set), [`Celerium.Nova/Public/HtmlReport/New-clNovaHtmlTable.ps1`](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlTable.ps1) (Sortable table), [`Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCard.ps1`](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCard.ps1) (Summary card)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Report functions"]
  node_report["Complete report"]
  node_cardset["Summary card set"]
  node_card["Summary card"]
  node_table["Sortable table"]
end

subgraph group_html["HTML rendering"]
  node_templateexpand["Template expansion"]
  node_encoding["HTML encoding"]
  node_icon["Icon rendering"]
  node_layout["Card layout"]
  node_datauri["Data URI conversion"]
end

subgraph group_resources["Report resources"]
  node_templates["HTML templates"]
  node_webassets["Styles and scripts"]
  node_resource["Resource loading"]
  node_resourcepath["Resource paths"]
end

node_powershell(("PowerShell caller"))
node_objects["PowerShell objects"]
node_htmloutput["HTML report"]
node_filesystem["File system"]

node_powershell -->|"provides objects"| node_report
node_objects -->|"report input"| node_report
node_report -->|"returns HTML"| node_htmloutput
node_report -->|"saves with Path"| node_filesystem
node_powershell -->|"creates cards"| node_cardset
node_powershell -->|"creates card"| node_card
node_objects -->|"table input"| node_table
node_report -->|"uses templates"| node_templates
node_report -->|"embeds or links assets"| node_webassets
node_report -->|"accepts summary cards"| node_cardset
node_report -.->|"includes table"| node_table

click node_report "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlReport.ps1"
click node_cardset "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCardSet.ps1"
click node_card "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCard.ps1"
click node_table "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlTable.ps1"
click node_templates "https://github.com/celerium/celerium.nova/tree/main/build/HtmlReport/templates"
click node_webassets "https://github.com/celerium/celerium.nova/tree/main/build/HtmlReport"
click node_templateexpand "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Expand-clNovaHtmlTemplate.ps1"
click node_encoding "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/ConvertTo-clNovaHtmlEncoded.ps1"
click node_icon "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Get-clNovaHtmlIcon.ps1"
click node_layout "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Get-clNovaCardLayout.ps1"
click node_resource "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Get-clNovaHtmlResource.ps1"
click node_resourcepath "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Resources/Get-clNovaResourcePath.ps1"
click node_datauri "https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/ConvertTo-clNovaHtmlDataUri.ps1"

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_report,node_cardset,node_card,node_table toneBlue
class node_templateexpand,node_encoding,node_icon,node_layout,node_datauri toneAmber
class node_templates,node_webassets,node_resource,node_resourcepath toneMint
class node_powershell,node_objects,node_htmloutput,node_filesystem toneIndigo
```

## Components

### Report functions

- [Complete report](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlReport.ps1): `Celerium.Nova/Public/HtmlReport/New-clNovaHtmlReport.ps1`
- [Summary card set](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCardSet.ps1): `Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCardSet.ps1`
- [Summary card](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCard.ps1): `Celerium.Nova/Public/HtmlReport/New-clNovaHtmlSummaryCard.ps1`
- [Sortable table](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Public/HtmlReport/New-clNovaHtmlTable.ps1): `Celerium.Nova/Public/HtmlReport/New-clNovaHtmlTable.ps1`

### HTML rendering

- [Template expansion](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Expand-clNovaHtmlTemplate.ps1): `Celerium.Nova/Private/Html/Expand-clNovaHtmlTemplate.ps1`
- [HTML encoding](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/ConvertTo-clNovaHtmlEncoded.ps1): `Celerium.Nova/Private/Html/ConvertTo-clNovaHtmlEncoded.ps1`
- [Icon rendering](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Get-clNovaHtmlIcon.ps1): `Celerium.Nova/Private/Html/Get-clNovaHtmlIcon.ps1`
- [Card layout](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Get-clNovaCardLayout.ps1): `Celerium.Nova/Private/Html/Get-clNovaCardLayout.ps1`
- [Data URI conversion](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/ConvertTo-clNovaHtmlDataUri.ps1): `Celerium.Nova/Private/Html/ConvertTo-clNovaHtmlDataUri.ps1`

### Report resources

- [HTML templates](https://github.com/celerium/celerium.nova/tree/main/build/HtmlReport/templates): `build/HtmlReport/templates`
- [Styles and scripts](https://github.com/celerium/celerium.nova/tree/main/build/HtmlReport): `build/HtmlReport`
- [Resource loading](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Html/Get-clNovaHtmlResource.ps1): `Celerium.Nova/Private/Html/Get-clNovaHtmlResource.ps1`
- [Resource paths](https://github.com/celerium/celerium.nova/blob/main/Celerium.Nova/Private/Resources/Get-clNovaResourcePath.ps1): `Celerium.Nova/Private/Resources/Get-clNovaResourcePath.ps1`

### Other components

- **PowerShell caller**
- **PowerShell objects**
- **HTML report**
- **File system**

## Connections

- PowerShell caller → Complete report: provides objects (evidence: `README.md`)
- PowerShell objects → Complete report: report input (evidence: `README.md`)
- Complete report → HTML report: returns HTML (evidence: `README.md`)
- Complete report → File system: saves with Path (evidence: `README.md`)
- PowerShell caller → Summary card set: creates cards (evidence: `README.md`)
- PowerShell caller → Summary card: creates card (evidence: `README.md`)
- PowerShell objects → Sortable table: table input (evidence: `README.md`)
- Complete report → HTML templates: uses templates (evidence: `README.md`)
- Complete report → Styles and scripts: embeds or links assets (evidence: `README.md`)
- Complete report → Summary card set: accepts summary cards (evidence: `README.md`)
- Complete report → Sortable table: includes table
