# turkaysoft/vimera architecture

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

- Interactive diagram: https://gitdiagram.com/turkaysoft/vimera
- Repository: https://github.com/turkaysoft/vimera

## Overview

Vimera is a Windows desktop hash-analysis application. Users launch it, hash files or text, compare hashes or files, and export results; context-menu and drag-and-drop inputs feed the same desktop workflow. The graph also preserves documented localization, themes, updates, and UI support. Detailed call paths are shown only where the excerpts establish them; several capabilities are documented in the README but their implementations were not sampled.

Main entry points: [`Vimera/VimeraMain.cs`](https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs) (Main window), [`Vimera/Program.cs`](https://github.com/turkaysoft/vimera/blob/main/Vimera/Program.cs) (Startup), [`Vimera/TSModules.cs`](https://github.com/turkaysoft/vimera/blob/main/Vimera/TSModules.cs) (Settings and language), [`Vimera/TSContextMenuModule.cs`](https://github.com/turkaysoft/vimera/blob/main/Vimera/TSContextMenuModule.cs) (Context menu)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application flow"]
  node_program["Startup<br/>[Program.cs]"]
  node_main["Main window<br/>[VimeraMain.cs]"]
end

subgraph group_hashing["Hash analysis"]
  node_filehash["File hashing<br/>[VimeraMain.cs]"]
  node_texthash["Text hashing<br/>[VimeraMain.cs]"]
  node_compare["Hash comparison<br/>[VimeraMain.cs]"]
  node_crc["CRC algorithms"]
  node_export["Result export<br/>[VimeraMain.cs]"]
end

subgraph group_platform["Windows integration"]
  node_context["Context menu"]
  node_settings["Settings and language<br/>[TSModules.cs]"]
  node_locales["Language files"]
  node_updates["Update mechanism"]
end

subgraph group_presentation["UI and preferences"]
  node_customui["Custom controls"]
  node_about["About window<br/>[VimeraAbout.cs]"]
  node_themes["Themes<br/>[TSModules.cs]"]
end

node_user(("Desktop user"))
node_clipboard["Clipboard"]
node_filesystem[("Local files")]

node_user -->|"launches"| node_program
node_program -->|"parses arguments"| node_context
node_program -->|"runs window"| node_main
node_context -.->|"forwards file input"| node_main
node_user -->|"uses"| node_main
node_main -->|"hashes files"| node_filehash
node_main -->|"hashes text"| node_texthash
node_main -->|"compares values"| node_compare
node_main -->|"exports results"| node_export
node_filesystem -->|"provides files"| node_filehash
node_filesystem -->|"provides files"| node_compare
node_filehash -.->|"uses CRC"| node_crc
node_texthash -.->|"uses CRC"| node_crc
node_main -->|"reads settings"| node_settings
node_main -->|"applies theme"| node_themes
node_main -->|"opens"| node_about
node_about -->|"reads language settings"| node_settings
node_settings -->|"loads language files"| node_locales
node_main -.->|"uses controls"| node_customui
node_main -->|"copies hashes"| node_clipboard
node_user -->|"checks updates"| node_updates

click node_program "https://github.com/turkaysoft/vimera/blob/main/Vimera/Program.cs"
click node_main "https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs"
click node_filehash "https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs"
click node_texthash "https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs"
click node_compare "https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs"
click node_crc "https://github.com/turkaysoft/vimera/blob/main/Vimera/TSCRCChecksumModule.cs"
click node_export "https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs"
click node_context "https://github.com/turkaysoft/vimera/blob/main/Vimera/TSContextMenuModule.cs"
click node_settings "https://github.com/turkaysoft/vimera/blob/main/Vimera/TSModules.cs"
click node_customui "https://github.com/turkaysoft/vimera/blob/main/Vimera/TSCustomControls.cs"
click node_about "https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraAbout.cs"
click node_themes "https://github.com/turkaysoft/vimera/blob/main/Vimera/TSModules.cs"
click node_locales "https://github.com/turkaysoft/vimera/tree/main/Vimera"
click node_updates "https://github.com/turkaysoft/vimera/tree/main/Vimera"

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_program,node_main,node_user toneBlue
class node_filehash,node_texthash,node_compare,node_crc,node_export,node_filesystem toneAmber
class node_context,node_settings,node_locales,node_updates toneMint
class node_customui,node_about,node_themes toneRose
class node_clipboard toneIndigo
```

## Components

### Application flow

- [Startup](https://github.com/turkaysoft/vimera/blob/main/Vimera/Program.cs): `Vimera/Program.cs`
- [Main window](https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs): `Vimera/VimeraMain.cs`

### Hash analysis

- [File hashing](https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs): `Vimera/VimeraMain.cs`
- [Text hashing](https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs): `Vimera/VimeraMain.cs`
- [Hash comparison](https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs): `Vimera/VimeraMain.cs`
- [CRC algorithms](https://github.com/turkaysoft/vimera/blob/main/Vimera/TSCRCChecksumModule.cs): `Vimera/TSCRCChecksumModule.cs`
- [Result export](https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraMain.cs): `Vimera/VimeraMain.cs`

### Windows integration

- [Context menu](https://github.com/turkaysoft/vimera/blob/main/Vimera/TSContextMenuModule.cs): `Vimera/TSContextMenuModule.cs`
- [Settings and language](https://github.com/turkaysoft/vimera/blob/main/Vimera/TSModules.cs): `Vimera/TSModules.cs`
- [Language files](https://github.com/turkaysoft/vimera/tree/main/Vimera): `Vimera`
- [Update mechanism](https://github.com/turkaysoft/vimera/tree/main/Vimera): `Vimera`

### UI and preferences

- [Custom controls](https://github.com/turkaysoft/vimera/blob/main/Vimera/TSCustomControls.cs): `Vimera/TSCustomControls.cs`
- [About window](https://github.com/turkaysoft/vimera/blob/main/Vimera/VimeraAbout.cs): `Vimera/VimeraAbout.cs`
- [Themes](https://github.com/turkaysoft/vimera/blob/main/Vimera/TSModules.cs): `Vimera/TSModules.cs`

### Other components

- **Desktop user**
- **Clipboard**
- **Local files**

## Connections

- Desktop user → Startup: launches (evidence: `README.md`)
- Startup → Context menu: parses arguments (evidence: `Vimera/Program.cs`)
- Startup → Main window: runs window (evidence: `Vimera/Program.cs`)
- Context menu → Main window: forwards file input (evidence: `Vimera/VimeraMain.cs`)
- Desktop user → Main window: uses (evidence: `README.md`)
- Main window → File hashing: hashes files (evidence: `README.md`)
- Main window → Text hashing: hashes text (evidence: `README.md`)
- Main window → Hash comparison: compares values (evidence: `Vimera/VimeraMain.cs`)
- Main window → Result export: exports results (evidence: `README.md`)
- Local files → File hashing: provides files (evidence: `README.md`)
- Local files → Hash comparison: provides files (evidence: `README.md`)
- File hashing → CRC algorithms: uses CRC
- Text hashing → CRC algorithms: uses CRC
- Main window → Settings and language: reads settings (evidence: `Vimera/VimeraMain.cs`)
- Main window → Themes: applies theme (evidence: `Vimera/VimeraMain.cs`)
- Main window → About window: opens (evidence: `Vimera/VimeraMain.cs`)
- About window → Settings and language: reads language settings (evidence: `Vimera/VimeraAbout.cs`)
- Settings and language → Language files: loads language files (evidence: `README.md`)
- Main window → Custom controls: uses controls
- Main window → Clipboard: copies hashes (evidence: `README.md`)
- Desktop user → Update mechanism: checks updates (evidence: `README.md`)
