# uyu423/yowu-devtools architecture

> Architecture diagram of the GitHub repository uyu423/yowu-devtools, 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/uyu423/yowu-devtools
- Repository: https://github.com/uyu423/yowu-devtools

## Overview

tools.yowu.dev is a client-side developer toolbox: users choose a browser-based utility, work with local input, and inspect or export its result. The web app provides shared navigation and per-tool state; major feature branches include API workflows, media editing, and general-purpose converters. The README documents local storage, optional share links, internationalization, and the companion extension’s CORS-bypass role. Some tool-level wiring was not sampled, so undocumented implementation links are omitted; documented capability links cite the README.

Main entry points: [`apps/web/src/tools/index.ts`](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/index.ts) (Tool registry), [`apps/web/src/App.tsx`](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/App.tsx) (Web application), [`apps/web/src/hooks/useToolState.ts`](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/hooks/useToolState.ts) (Local state and sharing), [`apps/web/src/tools/api-tester/hooks/useRequestExecutor.ts`](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-tester/hooks/useRequestExecutor.ts) (API Tester)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Web workspace"]
  node_webapp["Web application<br/>[App.tsx]"]
  node_toolset["Tool registry<br/>[index.ts]"]
  node_sharedstate["Local state and sharing<br/>[useToolState.ts]"]
  node_localstore[("Browser storage")]
  node_locales["Locale resources<br/>[en-US.ts]"]
end

subgraph group_api["API tools"]
  node_api_client["API Tester"]
  node_api_diff["API Response Diff<br/>[index.tsx]"]
  node_burst["API Burst Test<br/>[engine.ts]"]
  node_burst_metrics["Load metrics<br/>[metrics.ts]"]
  node_curl["cURL parser<br/>[index.tsx]"]
end

subgraph group_media["Media studios"]
  node_image["Image Studio<br/>[index.tsx]"]
  node_image_pipeline["Image processing pipeline<br/>[pipeline.ts]"]
  node_image_ops["Crop, rotate, resize<br/>[crop.ts]"]
  node_image_presets["Image pipeline presets"]
  node_video["Video Studio<br/>[index.tsx]"]
  node_video_pipeline["Video processing pipeline<br/>[pipeline.ts]"]
  node_ffmpeg["FFmpeg processing<br/>[ffmpeg.ts]"]
  node_video_presets["Video pipeline presets"]
end

subgraph group_utilities["Developer utilities"]
  node_json["JSON viewer<br/>[index.tsx]"]
  node_yaml["YAML converter<br/>[index.tsx]"]
  node_diff["Text diff<br/>[index.tsx]"]
  node_cron["Cron parser<br/>[index.tsx]"]
  node_jwt["JWT tools<br/>[index.tsx]"]
  node_other_tools["Other converters"]
end

subgraph group_extension["Browser extension"]
  node_extension["Chrome companion<br/>[service-worker.ts]"]
end

node_user(("Developer"))
node_remote_api(("HTTP endpoints"))

node_user -->|"uses"| node_webapp
node_webapp -->|"offers tools"| node_toolset
node_toolset -->|"includes"| node_api_client
node_toolset -->|"includes"| node_api_diff
node_toolset -->|"includes"| node_burst
node_toolset -->|"includes"| node_curl
node_toolset -->|"includes"| node_image
node_toolset -->|"includes"| node_video
node_toolset -->|"includes"| node_json
node_toolset -->|"includes"| node_yaml
node_toolset -->|"includes"| node_diff
node_toolset -->|"includes"| node_cron
node_toolset -->|"includes"| node_jwt
node_toolset -->|"includes"| node_other_tools
node_webapp -->|"persists tool state"| node_sharedstate
node_sharedstate -->|"stores locally"| node_localstore
node_sharedstate -->|"creates share links"| node_user
node_webapp -->|"supports locales"| node_locales
node_burst -->|"calculates metrics"| node_burst_metrics
node_api_client -->|"sends requests"| node_remote_api
node_api_client -.->|"uses CORS bypass"| node_extension
node_burst -->|"runs HTTP requests"| node_remote_api
node_image -.->|"processes images"| node_image_pipeline
node_image_pipeline -->|"applies operations"| node_image_ops
node_image -.->|"manages presets"| node_image_presets
node_video -.->|"processes video"| node_video_pipeline
node_video_pipeline -->|"executes filters"| node_ffmpeg
node_video -.->|"manages presets"| node_video_presets

click node_webapp "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/App.tsx"
click node_toolset "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/index.ts"
click node_sharedstate "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/hooks/useToolState.ts"
click node_locales "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/i18n/en-US.ts"
click node_api_client "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-tester/hooks/useRequestExecutor.ts"
click node_api_diff "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-diff/index.tsx"
click node_burst "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-burst-test/core/engine.ts"
click node_burst_metrics "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-burst-test/core/metrics.ts"
click node_curl "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/curl-parser/index.tsx"
click node_image "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/index.tsx"
click node_image_pipeline "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/processing/pipeline.ts"
click node_image_ops "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/processing/operations/crop.ts"
click node_image_presets "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/hooks/usePipelinePresets.ts"
click node_video "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/index.tsx"
click node_video_pipeline "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/processing/pipeline.ts"
click node_ffmpeg "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/processing/ffmpeg.ts"
click node_video_presets "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/hooks/usePipelinePresets.ts"
click node_json "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/json/index.tsx"
click node_yaml "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/yaml/index.tsx"
click node_diff "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/diff/index.tsx"
click node_cron "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/cron/index.tsx"
click node_jwt "https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/jwt-decoder/index.tsx"
click node_other_tools "https://github.com/uyu423/yowu-devtools/tree/main/apps/web/src/tools"
click node_extension "https://github.com/uyu423/yowu-devtools/blob/main/apps/extension/src/service-worker.ts"

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_webapp,node_toolset,node_sharedstate,node_localstore,node_locales toneBlue
class node_api_client,node_api_diff,node_burst,node_burst_metrics,node_curl toneAmber
class node_image,node_image_pipeline,node_image_ops,node_image_presets,node_video,node_video_pipeline,node_ffmpeg,node_video_presets toneMint
class node_json,node_yaml,node_diff,node_cron,node_jwt,node_other_tools toneRose
class node_extension,node_user,node_remote_api toneIndigo
```

## Components

### Web workspace

- [Web application](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/App.tsx): `apps/web/src/App.tsx`
- [Tool registry](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/index.ts): `apps/web/src/tools/index.ts`
- [Local state and sharing](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/hooks/useToolState.ts): `apps/web/src/hooks/useToolState.ts`
- **Browser storage**
- [Locale resources](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/i18n/en-US.ts): `apps/web/src/i18n/en-US.ts`

### API tools

- [API Tester](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-tester/hooks/useRequestExecutor.ts): `apps/web/src/tools/api-tester/hooks/useRequestExecutor.ts`
- [API Response Diff](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-diff/index.tsx): `apps/web/src/tools/api-diff/index.tsx`
- [API Burst Test](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-burst-test/core/engine.ts): `apps/web/src/tools/api-burst-test/core/engine.ts`
- [Load metrics](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/api-burst-test/core/metrics.ts): `apps/web/src/tools/api-burst-test/core/metrics.ts`
- [cURL parser](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/curl-parser/index.tsx): `apps/web/src/tools/curl-parser/index.tsx`

### Media studios

- [Image Studio](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/index.tsx): `apps/web/src/tools/image-studio/index.tsx`
- [Image processing pipeline](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/processing/pipeline.ts): `apps/web/src/tools/image-studio/processing/pipeline.ts`
- [Crop, rotate, resize](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/processing/operations/crop.ts): `apps/web/src/tools/image-studio/processing/operations/crop.ts`
- [Image pipeline presets](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/image-studio/hooks/usePipelinePresets.ts): `apps/web/src/tools/image-studio/hooks/usePipelinePresets.ts`
- [Video Studio](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/index.tsx): `apps/web/src/tools/video-studio/index.tsx`
- [Video processing pipeline](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/processing/pipeline.ts): `apps/web/src/tools/video-studio/processing/pipeline.ts`
- [FFmpeg processing](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/processing/ffmpeg.ts): `apps/web/src/tools/video-studio/processing/ffmpeg.ts`
- [Video pipeline presets](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/video-studio/hooks/usePipelinePresets.ts): `apps/web/src/tools/video-studio/hooks/usePipelinePresets.ts`

### Developer utilities

- [JSON viewer](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/json/index.tsx): `apps/web/src/tools/json/index.tsx`
- [YAML converter](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/yaml/index.tsx): `apps/web/src/tools/yaml/index.tsx`
- [Text diff](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/diff/index.tsx): `apps/web/src/tools/diff/index.tsx`
- [Cron parser](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/cron/index.tsx): `apps/web/src/tools/cron/index.tsx`
- [JWT tools](https://github.com/uyu423/yowu-devtools/blob/main/apps/web/src/tools/jwt-decoder/index.tsx): `apps/web/src/tools/jwt-decoder/index.tsx`
- [Other converters](https://github.com/uyu423/yowu-devtools/tree/main/apps/web/src/tools): `apps/web/src/tools`

### Browser extension

- [Chrome companion](https://github.com/uyu423/yowu-devtools/blob/main/apps/extension/src/service-worker.ts): `apps/extension/src/service-worker.ts`

### Other components

- **Developer**
- **HTTP endpoints**

## Connections

- Developer → Web application: uses (evidence: `README.md`)
- Web application → Tool registry: offers tools (evidence: `README.md`)
- Tool registry → API Tester: includes (evidence: `README.md`)
- Tool registry → API Response Diff: includes (evidence: `README.md`)
- Tool registry → API Burst Test: includes (evidence: `README.md`)
- Tool registry → cURL parser: includes (evidence: `README.md`)
- Tool registry → Image Studio: includes (evidence: `README.md`)
- Tool registry → Video Studio: includes (evidence: `README.md`)
- Tool registry → JSON viewer: includes (evidence: `README.md`)
- Tool registry → YAML converter: includes (evidence: `README.md`)
- Tool registry → Text diff: includes (evidence: `README.md`)
- Tool registry → Cron parser: includes (evidence: `README.md`)
- Tool registry → JWT tools: includes (evidence: `README.md`)
- Tool registry → Other converters: includes (evidence: `README.md`)
- Web application → Local state and sharing: persists tool state (evidence: `README.md`)
- Local state and sharing → Browser storage: stores locally (evidence: `README.md`)
- Local state and sharing → Developer: creates share links (evidence: `README.md`)
- Web application → Locale resources: supports locales (evidence: `README.md`)
- API Burst Test → Load metrics: calculates metrics (evidence: `apps/web/src/tools/api-burst-test/core/engine.ts`)
- API Tester → HTTP endpoints: sends requests (evidence: `README.md`)
- API Tester → Chrome companion: uses CORS bypass (evidence: `README.md`)
- API Burst Test → HTTP endpoints: runs HTTP requests (evidence: `README.md`)
- Image Studio → Image processing pipeline: processes images
- Image processing pipeline → Crop, rotate, resize: applies operations (evidence: `apps/web/src/tools/image-studio/processing/pipeline.ts`)
- Image Studio → Image pipeline presets: manages presets
- Video Studio → Video processing pipeline: processes video
- Video processing pipeline → FFmpeg processing: executes filters (evidence: `apps/web/src/tools/video-studio/processing/pipeline.ts`)
- Video Studio → Video pipeline presets: manages presets
