# strawberryforme/ai-multiple architecture

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

- Interactive diagram: https://gitdiagram.com/strawberryforme/ai-multiple
- Repository: https://github.com/strawberryforme/ai-multiple

## Overview

This repository contains several standalone command-line variants of a multi-AI prompt broadcaster. The user enters a prompt; each script opens configured AI chat pages in a persistent Chrome session, then fills and submits the prompt across active pages in parallel. The three scripts implement overlapping versions rather than a shared application architecture. Source excerpts show browser launch, page navigation, and submission; they do not show response collection. The README is empty, so capabilities are inferred from the sampled scripts.

Main entry points: [`gpttest.js`](https://github.com/strawberryforme/ai-multiple/blob/master/gpttest.js) (Enhanced broadcaster), [`kehu.js`](https://github.com/strawberryforme/ai-multiple/blob/master/kehu.js) (Broadcaster variant), [`test2 copy.js`](https://github.com/strawberryforme/ai-multiple/blob/master/test2%20copy.js) (Broadcaster variant), [`testChina6.js`](https://github.com/strawberryforme/ai-multiple/blob/master/testChina6.js) (Expanded broadcaster)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_launchers["CLI broadcasters"]
  node_gpttest["Enhanced broadcaster<br/>[gpttest.js]"]
  node_kehu["Broadcaster variant<br/>[kehu.js]"]
  node_test2["Broadcaster variant<br/>[test2 copy.js]"]
  node_china6["Expanded broadcaster<br/>[testChina6.js]"]
end

subgraph group_automation["Browser automation"]
  node_chrome["Persistent Chrome"]
end

subgraph group_services["AI chat sites"]
  node_ai_sites["Configured AI sites"]
end

node_user(("CLI user"))

node_user -->|"enters prompts"| node_gpttest
node_user -->|"enters prompts"| node_kehu
node_user -->|"enters prompts"| node_test2
node_user -->|"enters prompts"| node_china6
node_gpttest -->|"launches context"| node_chrome
node_kehu -->|"launches context"| node_chrome
node_test2 -->|"launches context"| node_chrome
node_china6 -->|"launches context"| node_chrome
node_gpttest -->|"opens and submits"| node_ai_sites
node_kehu -->|"opens and submits"| node_ai_sites
node_test2 -->|"opens and submits"| node_ai_sites
node_china6 -->|"opens and submits"| node_ai_sites

click node_gpttest "https://github.com/strawberryforme/ai-multiple/blob/master/gpttest.js"
click node_kehu "https://github.com/strawberryforme/ai-multiple/blob/master/kehu.js"
click node_test2 "https://github.com/strawberryforme/ai-multiple/blob/master/test2%20copy.js"
click node_china6 "https://github.com/strawberryforme/ai-multiple/blob/master/testChina6.js"

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_gpttest,node_kehu,node_test2,node_china6,node_user toneBlue
class node_chrome toneAmber
class node_ai_sites toneMint
```

## Components

### CLI broadcasters

- [Enhanced broadcaster](https://github.com/strawberryforme/ai-multiple/blob/master/gpttest.js): `gpttest.js`
- [Broadcaster variant](https://github.com/strawberryforme/ai-multiple/blob/master/kehu.js): `kehu.js`
- [Broadcaster variant](https://github.com/strawberryforme/ai-multiple/blob/master/test2%20copy.js): `test2 copy.js`
- [Expanded broadcaster](https://github.com/strawberryforme/ai-multiple/blob/master/testChina6.js): `testChina6.js`

### Browser automation

- **Persistent Chrome**

### AI chat sites

- **Configured AI sites**

### Other components

- **CLI user**

## Connections

- CLI user → Enhanced broadcaster: enters prompts (evidence: `gpttest.js`)
- CLI user → Broadcaster variant: enters prompts (evidence: `kehu.js`)
- CLI user → Broadcaster variant: enters prompts (evidence: `test2 copy.js`)
- CLI user → Expanded broadcaster: enters prompts (evidence: `testChina6.js`)
- Enhanced broadcaster → Persistent Chrome: launches context (evidence: `gpttest.js`)
- Broadcaster variant → Persistent Chrome: launches context (evidence: `kehu.js`)
- Broadcaster variant → Persistent Chrome: launches context (evidence: `test2 copy.js`)
- Expanded broadcaster → Persistent Chrome: launches context (evidence: `testChina6.js`)
- Enhanced broadcaster → Configured AI sites: opens and submits (evidence: `gpttest.js`)
- Broadcaster variant → Configured AI sites: opens and submits (evidence: `kehu.js`)
- Broadcaster variant → Configured AI sites: opens and submits (evidence: `test2 copy.js`)
- Expanded broadcaster → Configured AI sites: opens and submits (evidence: `testChina6.js`)
