# 229003021-spec/hall_finder architecture

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

- Interactive diagram: https://gitdiagram.com/229003021-spec/hall_finder
- Repository: https://github.com/229003021-spec/hall_finder

## Overview

The tree contains a Streamlit wrapper and Flutter platform runners, but no Dart application source or the `index.html` that the wrapper expects. The visible user workflow is therefore limited to Streamlit attempting to load and embed that HTML; the hall-finding behavior cannot be established. Platform sources show app startup and window/plugin setup, not domain features. `serve.py` is present, but its behavior is not described by the available excerpts.

Main entry points: [`windows/runner/flutter_window.cpp`](https://github.com/229003021-spec/hall_finder/blob/main/windows/runner/flutter_window.cpp) (Windows Flutter host), [`hall_finder/windows/runner/win32_window.cpp`](https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/win32_window.cpp) (Win32 window), [`app.py`](https://github.com/229003021-spec/hall_finder/blob/main/app.py) (Streamlit wrapper), [`linux/runner/my_application.cc`](https://github.com/229003021-spec/hall_finder/blob/main/linux/runner/my_application.cc) (Linux Flutter host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web wrapper"]
  node_streamlit["Streamlit wrapper<br/>[app.py]"]
  node_html["Embedded HTML"]
  node_server["Service script<br/>[serve.py]"]
end

subgraph group_flutter["Flutter runners"]
  node_linux_entry["Linux entry<br/>[main.cc]"]
  node_linux_app["Linux Flutter host<br/>[my_application.cc]"]
  node_linux_plugins["Linux plugin registry"]
  node_ios_app["iOS app delegate<br/>[AppDelegate.swift]"]
  node_macos_plugins["macOS plugin registry"]
  node_linux_api["Linux app API<br/>[my_application.h]"]
  node_windows_flutter["Windows Flutter host<br/>[flutter_window.cpp]"]
  node_windows_flutter_api["Windows Flutter API<br/>[flutter_window.h]"]
  node_windows_plugins["Windows plugin registry"]
end

subgraph group_win32["Windows window layer"]
  node_win_entry["Windows entry<br/>[main.cpp]"]
  node_win_window["Win32 window<br/>[win32_window.cpp]"]
  node_win_window_api["Win32 window API<br/>[win32_window.h]"]
  node_win_resources["Window resources<br/>[resource.h]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens app"| node_streamlit
node_streamlit -->|"embeds HTML"| node_html
node_linux_entry -->|"creates app"| node_linux_app
node_linux_app -->|"registers plugins"| node_linux_plugins
node_ios_app -->|"registers plugins"| node_macos_plugins
node_win_entry -->|"creates window"| node_windows_flutter_api
node_windows_flutter -->|"implements host"| node_windows_flutter_api
node_windows_flutter -->|"registers plugins"| node_windows_plugins
node_win_window -->|"implements API"| node_win_window_api
node_win_window -->|"uses resources"| node_win_resources

click node_streamlit "https://github.com/229003021-spec/hall_finder/blob/main/app.py"
click node_server "https://github.com/229003021-spec/hall_finder/blob/main/serve.py"
click node_linux_entry "https://github.com/229003021-spec/hall_finder/blob/main/linux/runner/main.cc"
click node_linux_app "https://github.com/229003021-spec/hall_finder/blob/main/linux/runner/my_application.cc"
click node_linux_plugins "https://github.com/229003021-spec/hall_finder/blob/main/linux/flutter/generated_plugin_registrant.h"
click node_ios_app "https://github.com/229003021-spec/hall_finder/blob/main/ios/Runner/AppDelegate.swift"
click node_macos_plugins "https://github.com/229003021-spec/hall_finder/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift"
click node_win_entry "https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/main.cpp"
click node_win_window "https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/win32_window.cpp"
click node_win_window_api "https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/win32_window.h"
click node_win_resources "https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/resource.h"
click node_linux_api "https://github.com/229003021-spec/hall_finder/blob/main/linux/runner/my_application.h"
click node_windows_flutter "https://github.com/229003021-spec/hall_finder/blob/main/windows/runner/flutter_window.cpp"
click node_windows_flutter_api "https://github.com/229003021-spec/hall_finder/blob/main/windows/runner/flutter_window.h"
click node_windows_plugins "https://github.com/229003021-spec/hall_finder/blob/main/windows/flutter/generated_plugin_registrant.h"

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_streamlit,node_html,node_server toneBlue
class node_linux_entry,node_linux_app,node_linux_plugins,node_ios_app,node_macos_plugins,node_linux_api,node_windows_flutter,node_windows_flutter_api,node_windows_plugins toneAmber
class node_win_entry,node_win_window,node_win_window_api,node_win_resources toneMint
class node_visitor toneIndigo
```

## Components

### Web wrapper

- [Streamlit wrapper](https://github.com/229003021-spec/hall_finder/blob/main/app.py): `app.py`
- **Embedded HTML**
- [Service script](https://github.com/229003021-spec/hall_finder/blob/main/serve.py): `serve.py`

### Flutter runners

- [Linux entry](https://github.com/229003021-spec/hall_finder/blob/main/linux/runner/main.cc): `linux/runner/main.cc`
- [Linux Flutter host](https://github.com/229003021-spec/hall_finder/blob/main/linux/runner/my_application.cc): `linux/runner/my_application.cc`
- [Linux plugin registry](https://github.com/229003021-spec/hall_finder/blob/main/linux/flutter/generated_plugin_registrant.h): `linux/flutter/generated_plugin_registrant.h`
- [iOS app delegate](https://github.com/229003021-spec/hall_finder/blob/main/ios/Runner/AppDelegate.swift): `ios/Runner/AppDelegate.swift`
- [macOS plugin registry](https://github.com/229003021-spec/hall_finder/blob/main/macos/Flutter/GeneratedPluginRegistrant.swift): `macos/Flutter/GeneratedPluginRegistrant.swift`
- [Linux app API](https://github.com/229003021-spec/hall_finder/blob/main/linux/runner/my_application.h): `linux/runner/my_application.h`
- [Windows Flutter host](https://github.com/229003021-spec/hall_finder/blob/main/windows/runner/flutter_window.cpp): `windows/runner/flutter_window.cpp`
- [Windows Flutter API](https://github.com/229003021-spec/hall_finder/blob/main/windows/runner/flutter_window.h): `windows/runner/flutter_window.h`
- [Windows plugin registry](https://github.com/229003021-spec/hall_finder/blob/main/windows/flutter/generated_plugin_registrant.h): `windows/flutter/generated_plugin_registrant.h`

### Windows window layer

- [Windows entry](https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/main.cpp): `hall_finder/windows/runner/main.cpp`
- [Win32 window](https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/win32_window.cpp): `hall_finder/windows/runner/win32_window.cpp`
- [Win32 window API](https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/win32_window.h): `hall_finder/windows/runner/win32_window.h`
- [Window resources](https://github.com/229003021-spec/hall_finder/blob/main/hall_finder/windows/runner/resource.h): `hall_finder/windows/runner/resource.h`

### Other components

- **Visitor**

## Connections

- Visitor → Streamlit wrapper: opens app
- Streamlit wrapper → Embedded HTML: embeds HTML (evidence: `app.py`)
- Linux entry → Linux Flutter host: creates app (evidence: `linux/runner/main.cc`)
- Linux Flutter host → Linux plugin registry: registers plugins (evidence: `linux/runner/my_application.cc`)
- iOS app delegate → macOS plugin registry: registers plugins (evidence: `ios/Runner/AppDelegate.swift`)
- Windows entry → Windows Flutter API: creates window (evidence: `hall_finder/windows/runner/main.cpp`)
- Windows Flutter host → Windows Flutter API: implements host (evidence: `windows/runner/flutter_window.cpp`)
- Windows Flutter host → Windows plugin registry: registers plugins (evidence: `windows/runner/flutter_window.cpp`)
- Win32 window → Win32 window API: implements API (evidence: `hall_finder/windows/runner/win32_window.cpp`)
- Win32 window → Window resources: uses resources (evidence: `hall_finder/windows/runner/win32_window.cpp`)
