# prajwalgn-35/novastudio architecture

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

- Interactive diagram: https://gitdiagram.com/prajwalgn-35/novastudio
- Repository: https://github.com/prajwalgn-35/novastudio

## Overview

Nova is currently a public landing experience alongside an application shell and a development-only API boundary—not a live AI advisor. A visitor can use the landing page or open the app shell, submit a message, and receive a stub response after server-side request validation. The README describes future reasoning, memory, research, and tools as architectural goals, not implemented subsystems. The graph shows the sampled runtime flow; unsampled page markup and styling are represented by their documented paths.

Main entry points: [`index.html`](https://github.com/prajwalgn-35/novastudio/blob/main/index.html) (Landing page), [`app/index.html`](https://github.com/prajwalgn-35/novastudio/blob/main/app/index.html) (App page), [`app/app.js`](https://github.com/prajwalgn-35/novastudio/blob/main/app/app.js) (Conversation shell), [`server.js`](https://github.com/prajwalgn-35/novastudio/blob/main/server.js) (HTTP server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_landing["Public landing"]
  node_landing_page["Landing page<br/>[index.html]"]
  node_landing_behavior["Landing interactions<br/>[script.js]"]
end

subgraph group_application["App shell"]
  node_app_page["App page<br/>[index.html]"]
  node_app_shell["Conversation shell<br/>[app.js]"]
end

subgraph group_backend["API boundary"]
  node_dev_server["HTTP server<br/>[server.js]"]
  node_api_handler["API handler<br/>[nova.js]"]
end

subgraph group_contracts["Request contract"]
  node_request_types["Request types<br/>[nova.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_landing_page
node_landing_page -->|"uses interactions"| node_landing_behavior
node_visitor -->|"opens"| node_app_page
node_app_page -->|"loads shell"| node_app_shell
node_app_shell -->|"POSTs message"| node_dev_server
node_dev_server -->|"validates and responds"| node_api_handler

click node_landing_page "https://github.com/prajwalgn-35/novastudio/blob/main/index.html"
click node_landing_behavior "https://github.com/prajwalgn-35/novastudio/blob/main/script.js"
click node_app_page "https://github.com/prajwalgn-35/novastudio/blob/main/app/index.html"
click node_app_shell "https://github.com/prajwalgn-35/novastudio/blob/main/app/app.js"
click node_dev_server "https://github.com/prajwalgn-35/novastudio/blob/main/server.js"
click node_api_handler "https://github.com/prajwalgn-35/novastudio/blob/main/api/nova.js"
click node_request_types "https://github.com/prajwalgn-35/novastudio/blob/main/types/nova.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_landing_page,node_landing_behavior toneBlue
class node_app_page,node_app_shell toneAmber
class node_dev_server,node_api_handler toneMint
class node_request_types toneRose
class node_visitor toneIndigo
```

## Components

### Public landing

- [Landing page](https://github.com/prajwalgn-35/novastudio/blob/main/index.html): `index.html`
- [Landing interactions](https://github.com/prajwalgn-35/novastudio/blob/main/script.js): `script.js`

### App shell

- [App page](https://github.com/prajwalgn-35/novastudio/blob/main/app/index.html): `app/index.html`
- [Conversation shell](https://github.com/prajwalgn-35/novastudio/blob/main/app/app.js): `app/app.js`

### API boundary

- [HTTP server](https://github.com/prajwalgn-35/novastudio/blob/main/server.js): `server.js`
- [API handler](https://github.com/prajwalgn-35/novastudio/blob/main/api/nova.js): `api/nova.js`

### Request contract

- [Request types](https://github.com/prajwalgn-35/novastudio/blob/main/types/nova.ts): `types/nova.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Landing page: opens (evidence: `README.md`)
- Landing page → Landing interactions: uses interactions (evidence: `README.md`)
- Visitor → App page: opens (evidence: `README.md`)
- App page → Conversation shell: loads shell (evidence: `README.md`)
- Conversation shell → HTTP server: POSTs message (evidence: `app/app.js`)
- HTTP server → API handler: validates and responds (evidence: `server.js`)
