# blue-idea/linkit architecture

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

- Interactive diagram: https://gitdiagram.com/blue-idea/linkit
- Repository: https://github.com/blue-idea/linkit

## Overview

Linkit is documented as a desktop bookmark manager: users capture or import links, organize and enrich them with AI, then search, review, and sync their library. The README also describes link-health checks, duplicate detection, insights, and a knowledge graph. However, this supplied tree contains no application runtime or frontend implementation—only configuration sources and packaging metadata—so those product stages cannot be mapped to code or connected without guessing. The graph therefore covers only the visible configuration surface; the README is the evidence for product capabilities.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app_config["App configuration"]
  node_app_defaults["App defaults<br/>[app.go]"]
  node_window_sizes["Window sizes<br/>[window_size.go]"]
  node_storage_policy["Storage policy<br/>[storage.go]"]
  node_event_names["Event names<br/>[events.go]"]
  node_error_catalog["Error catalog<br/>[errors.go]"]
end

subgraph group_service_config["Service configuration"]
  node_network_limits["Network limits<br/>[network.go]"]
  node_ai_probe_prompts["AI probe prompts<br/>[ai.go]"]
end

subgraph group_identity_config["Identity configuration"]
  node_release_identity["Release identity<br/>[identity.go]"]
  node_dev_identity["Development identity<br/>[identity_dev.go]"]
end

click node_app_defaults "https://github.com/blue-idea/linkit/blob/main/config/app.go"
click node_window_sizes "https://github.com/blue-idea/linkit/blob/main/config/window_size.go"
click node_storage_policy "https://github.com/blue-idea/linkit/blob/main/config/storage.go"
click node_event_names "https://github.com/blue-idea/linkit/blob/main/config/events.go"
click node_error_catalog "https://github.com/blue-idea/linkit/blob/main/config/errors.go"
click node_network_limits "https://github.com/blue-idea/linkit/blob/main/config/network.go"
click node_ai_probe_prompts "https://github.com/blue-idea/linkit/blob/main/config/ai.go"
click node_release_identity "https://github.com/blue-idea/linkit/blob/main/config/identity.go"
click node_dev_identity "https://github.com/blue-idea/linkit/blob/main/config/identity_dev.go"

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_app_defaults,node_window_sizes,node_storage_policy,node_event_names,node_error_catalog toneBlue
class node_network_limits,node_ai_probe_prompts toneAmber
class node_release_identity,node_dev_identity toneMint
```

## Components

### App configuration

- [App defaults](https://github.com/blue-idea/linkit/blob/main/config/app.go): `config/app.go`
- [Window sizes](https://github.com/blue-idea/linkit/blob/main/config/window_size.go): `config/window_size.go`
- [Storage policy](https://github.com/blue-idea/linkit/blob/main/config/storage.go): `config/storage.go`
- [Event names](https://github.com/blue-idea/linkit/blob/main/config/events.go): `config/events.go`
- [Error catalog](https://github.com/blue-idea/linkit/blob/main/config/errors.go): `config/errors.go`

### Service configuration

- [Network limits](https://github.com/blue-idea/linkit/blob/main/config/network.go): `config/network.go`
- [AI probe prompts](https://github.com/blue-idea/linkit/blob/main/config/ai.go): `config/ai.go`

### Identity configuration

- [Release identity](https://github.com/blue-idea/linkit/blob/main/config/identity.go): `config/identity.go`
- [Development identity](https://github.com/blue-idea/linkit/blob/main/config/identity_dev.go): `config/identity_dev.go`
