# michelle11032424-jpg/interpark- architecture

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

- Interactive diagram: https://gitdiagram.com/michelle11032424-jpg/interpark-
- Repository: https://github.com/michelle11032424-jpg/interpark-

## Overview

This repository is a semi-automated Interpark/NOL World ticket-booking tool. Its primary workflow is: the user configures and starts it in the GUI, manually logs in and advances to the captcha, then hands control to the runner for captcha handling, seat selection, quantity/order, and contact details; the user completes payment. A separate legacy `main.py` flow automates more of the older Interpark process using per-show settings. The README is empty, so capabilities and wiring here are based on the sampled source; unsampled details are omitted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["User interface"]
  node_gui["Desktop GUI"]
end

subgraph group_booking["Booking workflow"]
  node_runner["Workflow runner"]
  node_onestop["Captcha and seats"]
  node_legacy["Legacy booking"]
end

subgraph group_configuration["Configuration"]
  node_settings["Saved settings"]
  node_config["Config reader"]
  node_showloader["Show loader"]
  node_showprofile["Show profile"]
end

subgraph group_integrations["External services"]
  node_browser["Chrome browser"]
  node_interpark["NOL World"]
  node_baidu["Baidu OCR"]
  node_payment["Payment checkout"]
end

node_user(("User"))

node_user -->|"configures and starts"| node_gui
node_gui -->|"loads and saves"| node_config
node_config -->|"reads and writes"| node_settings
node_gui -->|"starts workflow"| node_runner
node_gui -->|"releases takeover"| node_runner
node_runner -->|"opens and controls"| node_browser
node_browser -->|"browses"| node_interpark
node_runner -->|"dispatches captcha and booking"| node_onestop
node_onestop -->|"solves captcha and selects seats"| node_browser
node_runner -.->|"requests OCR"| node_baidu
node_user -->|"logs in and advances"| node_browser
node_user -->|"completes payment"| node_payment
node_legacy -->|"loads show settings"| node_showloader
node_showloader -->|"loads profile"| node_showprofile
node_legacy -->|"automates booking"| node_browser
node_legacy -.->|"requests captcha OCR"| node_baidu

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_gui,node_user toneBlue
class node_runner,node_onestop,node_legacy toneAmber
class node_settings,node_config,node_showloader,node_showprofile toneMint
class node_browser,node_interpark,node_baidu,node_payment toneRose
```

## Components

### User interface

- **Desktop GUI**

### Booking workflow

- **Workflow runner**
- **Captcha and seats**
- **Legacy booking**

### Configuration

- **Saved settings**
- **Config reader**
- **Show loader**
- **Show profile**

### External services

- **Chrome browser**
- **NOL World**
- **Baidu OCR**
- **Payment checkout**

### Other components

- **User**

## Connections

- User → Desktop GUI: configures and starts
- Desktop GUI → Config reader: loads and saves
- Config reader → Saved settings: reads and writes
- Desktop GUI → Workflow runner: starts workflow
- Desktop GUI → Workflow runner: releases takeover
- Workflow runner → Chrome browser: opens and controls
- Chrome browser → NOL World: browses
- Workflow runner → Captcha and seats: dispatches captcha and booking
- Captcha and seats → Chrome browser: solves captcha and selects seats
- Workflow runner → Baidu OCR: requests OCR
- User → Chrome browser: logs in and advances
- User → Payment checkout: completes payment
- Legacy booking → Show loader: loads show settings
- Show loader → Show profile: loads profile
- Legacy booking → Chrome browser: automates booking
- Legacy booking → Baidu OCR: requests captcha OCR
