# wicg/web-app-launch architecture

> Architecture diagram of the GitHub repository wicg/web-app-launch, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/wicg/web-app-launch
- Repository: https://github.com/wicg/web-app-launch

## Overview

This is a proposal repository, not a runtime application: its core product is documentation for Web App Launch Handling, with archived predecessor proposals and a pattern-scoped extension. The README identifies those relationships and links to a draft spec. The tree also contains demos, but no source excerpts were provided, so their internal behavior and connections cannot be established here.

Main entry points: [`README.md`](https://github.com/wicg/web-app-launch/blob/main/README.md) (Repository overview), [`launch_handler.md`](https://github.com/wicg/web-app-launch/blob/main/launch_handler.md) (Launch handler), [`declarative_link_capturing.md`](https://github.com/wicg/web-app-launch/blob/main/declarative_link_capturing.md) (Declarative link capturing), [`sw_launch_event.md`](https://github.com/wicg/web-app-launch/blob/main/sw_launch_event.md) (Service worker launch event)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core["Launch proposal"]
  node_readme["Repository overview<br/>[README.md]"]
  node_launch["Launch handler<br/>[launch_handler.md]"]
  node_patterns["Client matching patterns"]
end

subgraph group_archive["Earlier proposals"]
  node_declarative["Declarative link capturing"]
  node_swlaunch["Service worker launch event<br/>[sw_launch_event.md]"]
end

subgraph group_examples["Demonstrations"]
  node_demos["Demo materials"]
end

node_draftspec["WICG draft spec"]

node_readme -->|"links to"| node_launch
node_readme -->|"links to"| node_patterns
node_readme -->|"links to"| node_declarative
node_readme -->|"links to"| node_swlaunch
node_readme -->|"links to"| node_draftspec
node_declarative -->|"replaced by"| node_launch
node_swlaunch -.->|"may extend"| node_launch

click node_readme "https://github.com/wicg/web-app-launch/blob/main/README.md"
click node_launch "https://github.com/wicg/web-app-launch/blob/main/launch_handler.md"
click node_patterns "https://github.com/wicg/web-app-launch/blob/main/launch_handler_patterns.md"
click node_declarative "https://github.com/wicg/web-app-launch/blob/main/declarative_link_capturing.md"
click node_swlaunch "https://github.com/wicg/web-app-launch/blob/main/sw_launch_event.md"
click node_demos "https://github.com/wicg/web-app-launch/tree/main/demos"

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_readme,node_launch,node_patterns toneBlue
class node_declarative,node_swlaunch toneAmber
class node_demos toneMint
class node_draftspec toneIndigo
```

## Components

### Launch proposal

- [Repository overview](https://github.com/wicg/web-app-launch/blob/main/README.md): `README.md`
- [Launch handler](https://github.com/wicg/web-app-launch/blob/main/launch_handler.md): `launch_handler.md`
- [Client matching patterns](https://github.com/wicg/web-app-launch/blob/main/launch_handler_patterns.md): `launch_handler_patterns.md`

### Earlier proposals

- [Declarative link capturing](https://github.com/wicg/web-app-launch/blob/main/declarative_link_capturing.md): `declarative_link_capturing.md`
- [Service worker launch event](https://github.com/wicg/web-app-launch/blob/main/sw_launch_event.md): `sw_launch_event.md`

### Demonstrations

- [Demo materials](https://github.com/wicg/web-app-launch/tree/main/demos): `demos`

### Other components

- **WICG draft spec**

## Connections

- Repository overview → Launch handler: links to (evidence: `README.md`)
- Repository overview → Client matching patterns: links to (evidence: `README.md`)
- Repository overview → Declarative link capturing: links to (evidence: `README.md`)
- Repository overview → Service worker launch event: links to (evidence: `README.md`)
- Repository overview → WICG draft spec: links to (evidence: `README.md`)
- Declarative link capturing → Launch handler: replaced by (evidence: `README.md`)
- Service worker launch event → Launch handler: may extend (evidence: `README.md`)
