# hairyf/dsh-pet-sticker architecture

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

- Interactive diagram: https://gitdiagram.com/hairyf/dsh-pet-sticker
- Repository: https://github.com/hairyf/dsh-pet-sticker

## Overview

This repository packages a video-pet sticker set for import into a DSH host. The user imports the pet; its animation configuration defines the clickable action pool, work-status reactions, and shared idle behavior, while the host uses platform-appropriate transparent video assets. The README documents these capabilities and formats; source excerpts were limited to conversion and validation tooling, so runtime host behavior and configuration wiring are represented only where documented.

Main entry points: [`webm`](https://github.com/hairyf/dsh-pet-sticker/tree/main/webm) (VP9-alpha videos), [`config.jsonc`](https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc) (Motion configuration), [`mov`](https://github.com/hairyf/dsh-pet-sticker/tree/main/mov) (HEVC-alpha videos)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_package["Pet package"]
  node_manifest["Pet manifest<br/>[pet.json]"]
end

subgraph group_behavior["Animation behavior"]
  node_config["Motion configuration<br/>[config.jsonc]"]
  node_clicks["Clickable actions<br/>[config.jsonc]"]
  node_work["Work reactions<br/>[config.jsonc]"]
  node_idle["Idle behavior<br/>[config.jsonc]"]
end

subgraph group_media["Video assets"]
  node_webm["VP9-alpha videos"]
  node_mov["HEVC-alpha videos"]
end

node_user(("Pet user"))
node_host["DSH host"]

node_user -->|"imports pet"| node_host
node_config -->|"defines pool"| node_clicks
node_config -->|"defines reactions"| node_work
node_config -->|"sets shared motion"| node_idle
node_clicks -->|"plays actions"| node_webm
node_work -->|"plays reactions"| node_webm
node_idle -->|"uses idle video"| node_webm
node_host -->|"uses on Windows/Linux"| node_webm
node_host -->|"uses on macOS"| node_mov

click node_manifest "https://github.com/hairyf/dsh-pet-sticker/blob/main/pet.json"
click node_config "https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc"
click node_clicks "https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc"
click node_work "https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc"
click node_idle "https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc"
click node_webm "https://github.com/hairyf/dsh-pet-sticker/tree/main/webm"
click node_mov "https://github.com/hairyf/dsh-pet-sticker/tree/main/mov"

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_manifest,node_user toneBlue
class node_config,node_clicks,node_work,node_idle toneAmber
class node_webm,node_mov toneMint
class node_host toneIndigo
```

## Components

### Pet package

- [Pet manifest](https://github.com/hairyf/dsh-pet-sticker/blob/main/pet.json): `pet.json`

### Animation behavior

- [Motion configuration](https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc): `config.jsonc`
- [Clickable actions](https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc): `config.jsonc`
- [Work reactions](https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc): `config.jsonc`
- [Idle behavior](https://github.com/hairyf/dsh-pet-sticker/blob/main/config.jsonc): `config.jsonc`

### Video assets

- [VP9-alpha videos](https://github.com/hairyf/dsh-pet-sticker/tree/main/webm): `webm`
- [HEVC-alpha videos](https://github.com/hairyf/dsh-pet-sticker/tree/main/mov): `mov`

### Other components

- **Pet user**
- **DSH host**

## Connections

- Pet user → DSH host: imports pet (evidence: `README.md`)
- Motion configuration → Clickable actions: defines pool (evidence: `README.md`)
- Motion configuration → Work reactions: defines reactions (evidence: `README.md`)
- Motion configuration → Idle behavior: sets shared motion (evidence: `README.md`)
- Clickable actions → VP9-alpha videos: plays actions (evidence: `README.md`)
- Work reactions → VP9-alpha videos: plays reactions (evidence: `README.md`)
- Idle behavior → VP9-alpha videos: uses idle video (evidence: `README.md`)
- DSH host → VP9-alpha videos: uses on Windows/Linux (evidence: `README.md`)
- DSH host → HEVC-alpha videos: uses on macOS (evidence: `README.md`)
