# viswanath322/pqc-platform architecture

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

- Interactive diagram: https://gitdiagram.com/viswanath322/pqc-platform
- Repository: https://github.com/viswanath322/pqc-platform

## Overview

Silicofeller Quantum is documented as an on-premises, air-gapped desktop platform for assessing software security and post-quantum cryptography readiness. Its Day 1 user flow is to create a project, upload a ZIP, create a scan, and see its QUEUED status. The README also describes intended ingestion, analysis, findings, and reporting capabilities; real analysis engines, LLM guidance, and Elasticsearch are later milestones. Only the README was available, so the graph reflects documented architecture rather than inspected implementation.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Desktop client"]
  node_desktop["Desktop UI"]
  node_dashboard_reports["Dashboard and reports"]
end

subgraph group_api["Backend API"]
  node_projects["Projects API"]
  node_uploads["Uploads API"]
  node_scans["Scans API"]
  node_findings_api["Findings API"]
  node_reports_api["Reports API"]
  node_mysql[("MySQL")]
end

subgraph group_scan["Scan processing"]
  node_redis["Redis queue"]
  node_file_storage[("Local file storage")]
  node_ingestion["ZIP ingestion"]
end

subgraph group_assessment["Assessment engines"]
  node_sast["SAST engine"]
  node_crypto["Crypto and PQC"]
  node_dependency["Dependency analysis"]
  node_configuration["Configuration analysis"]
end

subgraph group_results["Results and guidance"]
  node_findings_processor["Findings processor"]
  node_llm["Local LLM"]
  node_elasticsearch[("Elasticsearch")]
end

node_user(("User"))

node_user -->|"uses"| node_desktop
node_desktop -->|"calls API"| node_projects
node_desktop -->|"uploads ZIP"| node_uploads
node_desktop -->|"creates scan"| node_scans
node_projects -->|"stores project"| node_mysql
node_uploads -->|"stores ZIP"| node_file_storage
node_scans -->|"stores queued scan"| node_mysql
node_scans -->|"queues job"| node_redis
node_redis -.->|"dispatches job"| node_ingestion
node_ingestion -->|"extracts artifacts"| node_file_storage
node_ingestion -.->|"provides files"| node_sast
node_ingestion -.->|"provides files"| node_crypto
node_ingestion -.->|"provides files"| node_dependency
node_ingestion -.->|"provides files"| node_configuration
node_sast -.->|"produces findings"| node_findings_processor
node_crypto -.->|"produces findings"| node_findings_processor
node_dependency -.->|"produces findings"| node_findings_processor
node_configuration -.->|"produces findings"| node_findings_processor
node_findings_processor -.->|"requests guidance"| node_llm
node_findings_processor -.->|"serves findings"| node_findings_api
node_findings_processor -.->|"serves report data"| node_reports_api
node_findings_api -.->|"returns findings"| node_desktop
node_reports_api -.->|"returns reports"| node_desktop
node_desktop -->|"renders"| node_dashboard_reports
node_findings_processor -.->|"indexes results"| node_elasticsearch

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_desktop,node_dashboard_reports,node_user toneBlue
class node_projects,node_uploads,node_scans,node_findings_api,node_reports_api,node_mysql toneAmber
class node_redis,node_file_storage,node_ingestion toneMint
class node_sast,node_crypto,node_dependency,node_configuration toneRose
class node_findings_processor,node_llm,node_elasticsearch toneIndigo
```

## Components

### Desktop client

- **Desktop UI**
- **Dashboard and reports**

### Backend API

- **Projects API**
- **Uploads API**
- **Scans API**
- **Findings API**
- **Reports API**
- **MySQL**

### Scan processing

- **Redis queue**
- **Local file storage**
- **ZIP ingestion**

### Assessment engines

- **SAST engine**
- **Crypto and PQC**
- **Dependency analysis**
- **Configuration analysis**

### Results and guidance

- **Findings processor**
- **Local LLM**
- **Elasticsearch**

### Other components

- **User**

## Connections

- User → Desktop UI: uses (evidence: `README.md`)
- Desktop UI → Projects API: calls API (evidence: `README.md`)
- Desktop UI → Uploads API: uploads ZIP (evidence: `README.md`)
- Desktop UI → Scans API: creates scan (evidence: `README.md`)
- Projects API → MySQL: stores project (evidence: `README.md`)
- Uploads API → Local file storage: stores ZIP (evidence: `README.md`)
- Scans API → MySQL: stores queued scan (evidence: `README.md`)
- Scans API → Redis queue: queues job (evidence: `README.md`)
- Redis queue → ZIP ingestion: dispatches job (evidence: `README.md`)
- ZIP ingestion → Local file storage: extracts artifacts (evidence: `README.md`)
- ZIP ingestion → SAST engine: provides files (evidence: `README.md`)
- ZIP ingestion → Crypto and PQC: provides files (evidence: `README.md`)
- ZIP ingestion → Dependency analysis: provides files (evidence: `README.md`)
- ZIP ingestion → Configuration analysis: provides files (evidence: `README.md`)
- SAST engine → Findings processor: produces findings (evidence: `README.md`)
- Crypto and PQC → Findings processor: produces findings (evidence: `README.md`)
- Dependency analysis → Findings processor: produces findings (evidence: `README.md`)
- Configuration analysis → Findings processor: produces findings (evidence: `README.md`)
- Findings processor → Local LLM: requests guidance (evidence: `README.md`)
- Findings processor → Findings API: serves findings (evidence: `README.md`)
- Findings processor → Reports API: serves report data (evidence: `README.md`)
- Findings API → Desktop UI: returns findings (evidence: `README.md`)
- Reports API → Desktop UI: returns reports (evidence: `README.md`)
- Desktop UI → Dashboard and reports: renders (evidence: `README.md`)
- Findings processor → Elasticsearch: indexes results (evidence: `README.md`)
