# canine89/oh-my-opensnap-win architecture

> Architecture diagram of the GitHub repository canine89/oh-my-opensnap-win, 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/canine89/oh-my-opensnap-win
- Repository: https://github.com/canine89/oh-my-opensnap-win

## Overview

oh-my-opensnap is a Windows screen-capture and media-editing app. Its documented workflow starts with a user-triggered capture, selects a screen region or window, then copies the image to the clipboard and saves it in a library for later editing. Video recording and clip export form a separate media workflow. The repository provides no source excerpts, so components and relationships below reflect README-documented behavior only; README.md is the only available source path.

Main entry points: [`README.md`](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md) (Image capture)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_capture["Screen capture"]
  node_capture_start["Capture start<br/>[README.md]"]
  node_region_select["Region selection<br/>[README.md]"]
  node_window_snap["Window snap<br/>[README.md]"]
  node_image_capture["Image capture<br/>[README.md]"]
  node_clipboard["Clipboard copy<br/>[README.md]"]
end

subgraph group_media["Video workflow"]
  node_video_record["Video recording<br/>[README.md]"]
  node_clip_export["Clip export<br/>[README.md]"]
end

subgraph group_library["Library and editing"]
  node_library_store[("Capture library<br/>[README.md]")]
  node_image_editor["Image editor<br/>[README.md]"]
end

subgraph group_app["App services"]
  node_tray_controls["Tray controls<br/>[README.md]"]
  node_update_check["Update check<br/>[README.md]"]
end

node_user(("User"))

node_user -->|"starts capture"| node_capture_start
node_capture_start -->|"opens selection"| node_region_select
node_user -->|"selects window"| node_window_snap
node_region_select -->|"captures region"| node_image_capture
node_window_snap -->|"captures window"| node_image_capture
node_image_capture -->|"copies image"| node_clipboard
node_image_capture -->|"saves capture"| node_library_store
node_user -->|"records selection"| node_video_record
node_video_record -->|"exports segment"| node_clip_export
node_library_store -->|"opens captures"| node_image_editor
node_user -->|"uses controls"| node_tray_controls
node_tray_controls -->|"checks updates"| node_update_check

click node_capture_start "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_region_select "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_window_snap "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_image_capture "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_clipboard "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_video_record "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_clip_export "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_library_store "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_image_editor "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_tray_controls "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"
click node_update_check "https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md"

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_capture_start,node_region_select,node_window_snap,node_image_capture,node_clipboard,node_user toneBlue
class node_video_record,node_clip_export toneAmber
class node_library_store,node_image_editor toneMint
class node_tray_controls,node_update_check toneRose
```

## Components

### Screen capture

- [Capture start](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`
- [Region selection](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`
- [Window snap](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`
- [Image capture](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`
- [Clipboard copy](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`

### Video workflow

- [Video recording](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`
- [Clip export](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`

### Library and editing

- [Capture library](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`
- [Image editor](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`

### App services

- [Tray controls](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`
- [Update check](https://github.com/canine89/oh-my-opensnap-win/blob/main/README.md): `README.md`

### Other components

- **User**

## Connections

- User → Capture start: starts capture (evidence: `README.md`)
- Capture start → Region selection: opens selection (evidence: `README.md`)
- User → Window snap: selects window (evidence: `README.md`)
- Region selection → Image capture: captures region (evidence: `README.md`)
- Window snap → Image capture: captures window (evidence: `README.md`)
- Image capture → Clipboard copy: copies image (evidence: `README.md`)
- Image capture → Capture library: saves capture (evidence: `README.md`)
- User → Video recording: records selection (evidence: `README.md`)
- Video recording → Clip export: exports segment (evidence: `README.md`)
- Capture library → Image editor: opens captures (evidence: `README.md`)
- User → Tray controls: uses controls (evidence: `README.md`)
- Tray controls → Update check: checks updates (evidence: `README.md`)
