# aanddark/minirip-web architecture

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

- Interactive diagram: https://gitdiagram.com/aanddark/minirip-web
- Repository: https://github.com/aanddark/minirip-web

## Overview

This is a small Nuxt playground for a MiniRip-like instruction language: a user edits source, sees its transpiled JavaScript, and can execute it. The Vue page owns both interactions; the transpiler parses instructions into JavaScript and evaluates it when requested, while utility functions support text conversion and are exposed as browser globals. The graph follows the sampled page and transpiler; no separate server-side product behavior is evidenced.

Main entry points: [`app.vue`](https://github.com/aanddark/minirip-web/blob/master/app.vue) (Editor and Controls), [`transcriptor/main.ts`](https://github.com/aanddark/minirip-web/blob/master/transcriptor/main.ts) (Transpiler), [`transcriptor/utils.ts`](https://github.com/aanddark/minirip-web/blob/master/transcriptor/utils.ts) (Text Converters)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Playground UI"]
  node_playground["Editor and Controls<br/>[app.vue]"]
end

subgraph group_language["Language Runtime"]
  node_transpiler["Transpiler<br/>[main.ts]"]
  node_generated["Generated Program<br/>[main.ts]"]
end

subgraph group_utilities["Text Utilities"]
  node_textutils["Text Converters<br/>[utils.ts]"]
end

node_user(("User"))
node_console["Browser Console"]

node_user -->|"enters source"| node_playground
node_playground -->|"requests preview"| node_transpiler
node_playground -->|"requests execution"| node_transpiler
node_transpiler -->|"generates JavaScript"| node_generated
node_transpiler -->|"evaluates when running"| node_generated
node_playground -->|"exposes browser helpers"| node_textutils
node_playground -->|"logs execution result"| node_console

click node_playground "https://github.com/aanddark/minirip-web/blob/master/app.vue"
click node_transpiler "https://github.com/aanddark/minirip-web/blob/master/transcriptor/main.ts"
click node_generated "https://github.com/aanddark/minirip-web/blob/master/transcriptor/main.ts"
click node_textutils "https://github.com/aanddark/minirip-web/blob/master/transcriptor/utils.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_playground,node_user,node_console toneBlue
class node_transpiler,node_generated toneAmber
class node_textutils toneMint
```

## Components

### Playground UI

- [Editor and Controls](https://github.com/aanddark/minirip-web/blob/master/app.vue): `app.vue`

### Language Runtime

- [Transpiler](https://github.com/aanddark/minirip-web/blob/master/transcriptor/main.ts): `transcriptor/main.ts`
- [Generated Program](https://github.com/aanddark/minirip-web/blob/master/transcriptor/main.ts): `transcriptor/main.ts`

### Text Utilities

- [Text Converters](https://github.com/aanddark/minirip-web/blob/master/transcriptor/utils.ts): `transcriptor/utils.ts`

### Other components

- **User**
- **Browser Console**

## Connections

- User → Editor and Controls: enters source (evidence: `app.vue`)
- Editor and Controls → Transpiler: requests preview (evidence: `app.vue`)
- Editor and Controls → Transpiler: requests execution (evidence: `app.vue`)
- Transpiler → Generated Program: generates JavaScript (evidence: `transcriptor/main.ts`)
- Transpiler → Generated Program: evaluates when running (evidence: `transcriptor/main.ts`)
- Editor and Controls → Text Converters: exposes browser helpers (evidence: `app.vue`)
- Editor and Controls → Browser Console: logs execution result (evidence: `app.vue`)
