# cgwire/kitsu architecture

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

- Interactive diagram: https://gitdiagram.com/cgwire/kitsu
- Repository: https://github.com/cgwire/kitsu

## Overview

Kitsu is a collaboration and production-management web application for animation, VFX, and game studios. Users enter through routed pages to manage productions, creative entities, tasks, people, schedules, and deliveries; shared preview and playlist tools support review. Vuex modules hold client-side domain state and call API modules, which use a shared HTTP client. The README establishes the product capabilities, while source excerpts and the SOURCE INDEX support only selected implementation links; unsampled feature relationships are not inferred.

Main entry points: [`src/store/index.js`](https://github.com/cgwire/kitsu/blob/main/src/store/index.js) (Vuex store), [`src/store/modules/episodes.js`](https://github.com/cgwire/kitsu/blob/main/src/store/modules/episodes.js) (Episode state), [`src/main.js`](https://github.com/cgwire/kitsu/blob/main/src/main.js) (App bootstrap), [`src/store/modules/tasks.js`](https://github.com/cgwire/kitsu/blob/main/src/store/modules/tasks.js) (Task state)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_shell["Application shell<br/>[App.vue]"]
  node_entry["App bootstrap<br/>[main.js]"]
  node_routing["Page routing<br/>[routes.js]"]
end

subgraph group_production["Production workflows"]
  node_task_page["Task workspace<br/>[AllTasks.vue]"]
  node_task_list["Task lists<br/>[AllTaskList.vue]"]
  node_schedule["Production scheduling<br/>[Schedule.vue]"]
  node_breakdown["Production breakdown<br/>[Breakdown.vue]"]
  node_budget["Production budgeting<br/>[Budget.vue]"]
end

subgraph group_state["Domain state and data"]
  node_store["Vuex store<br/>[index.js]"]
  node_http["HTTP client<br/>[client.js]"]
  node_task_api["Task API<br/>[tasks.js]"]
  node_people_api["People API<br/>[people.js]"]
  node_task_state["Task state<br/>[tasks.js]"]
  node_production_state["Production state<br/>[productions.js]"]
  node_episode_state["Episode state<br/>[episodes.js]"]
  node_sequence_state["Sequence state<br/>[sequences.js]"]
  node_shot_state["Shot state<br/>[shots.js]"]
  node_tasktype_state["Task type state<br/>[tasktypes.js]"]
  node_taskstatus_state["Task status state<br/>[taskstatus.js]"]
  node_algorithms["Domain data utilities"]
end

subgraph group_review["Review and search"]
  node_search["Saved search filters"]
  node_preview_player["Preview player<br/>[PreviewPlayer.vue]"]
  node_preview_rules["Preview file rules<br/>[preview.js]"]
end

node_user(("Studio user"))

node_user -->|"opens app"| node_entry
node_entry -->|"mounts"| node_shell
node_entry -->|"initializes"| node_routing
node_routing -->|"routes through"| node_shell
node_entry -->|"initializes"| node_store
node_store -->|"registers"| node_task_state
node_store -->|"registers"| node_episode_state
node_store -->|"registers"| node_production_state
node_store -->|"registers"| node_sequence_state
node_store -->|"registers"| node_shot_state
node_store -->|"registers"| node_tasktype_state
node_store -->|"registers"| node_taskstatus_state
node_task_page -->|"renders"| node_task_list
node_task_page -->|"reads state"| node_store
node_task_state -->|"calls"| node_task_api
node_task_state -->|"calls"| node_people_api
node_task_api -->|"sends requests"| node_http
node_episode_state -->|"calls"| node_people_api
node_episode_state -->|"uses"| node_shot_state
node_episode_state -->|"uses"| node_task_state
node_shot_state -->|"uses"| node_episode_state
node_tasktype_state -->|"sorts with"| node_algorithms
node_task_page -->|"sorts and summarizes"| node_algorithms
node_preview_player -->|"uses"| node_preview_rules
node_user -->|"plans work"| node_schedule
node_user -->|"organizes production"| node_breakdown
node_user -->|"manages budget"| node_budget
node_user -->|"reviews deliveries"| node_preview_player
node_user -.->|"finds saved work"| node_search

click node_shell "https://github.com/cgwire/kitsu/blob/main/src/App.vue"
click node_entry "https://github.com/cgwire/kitsu/blob/main/src/main.js"
click node_routing "https://github.com/cgwire/kitsu/blob/main/src/router/routes.js"
click node_store "https://github.com/cgwire/kitsu/blob/main/src/store/index.js"
click node_http "https://github.com/cgwire/kitsu/blob/main/src/store/api/client.js"
click node_task_api "https://github.com/cgwire/kitsu/blob/main/src/store/api/tasks.js"
click node_people_api "https://github.com/cgwire/kitsu/blob/main/src/store/api/people.js"
click node_task_state "https://github.com/cgwire/kitsu/blob/main/src/store/modules/tasks.js"
click node_production_state "https://github.com/cgwire/kitsu/blob/main/src/store/modules/productions.js"
click node_episode_state "https://github.com/cgwire/kitsu/blob/main/src/store/modules/episodes.js"
click node_sequence_state "https://github.com/cgwire/kitsu/blob/main/src/store/modules/sequences.js"
click node_shot_state "https://github.com/cgwire/kitsu/blob/main/src/store/modules/shots.js"
click node_tasktype_state "https://github.com/cgwire/kitsu/blob/main/src/store/modules/tasktypes.js"
click node_taskstatus_state "https://github.com/cgwire/kitsu/blob/main/src/store/modules/taskstatus.js"
click node_task_page "https://github.com/cgwire/kitsu/blob/main/src/components/pages/AllTasks.vue"
click node_task_list "https://github.com/cgwire/kitsu/blob/main/src/components/lists/AllTaskList.vue"
click node_schedule "https://github.com/cgwire/kitsu/blob/main/src/components/schedule/Schedule.vue"
click node_breakdown "https://github.com/cgwire/kitsu/blob/main/src/components/pages/Breakdown.vue"
click node_budget "https://github.com/cgwire/kitsu/blob/main/src/components/pages/budget/Budget.vue"
click node_search "https://github.com/cgwire/kitsu/blob/main/src/components/widgets/SearchQueryList.vue"
click node_preview_player "https://github.com/cgwire/kitsu/blob/main/src/components/players/players/PreviewPlayer.vue"
click node_preview_rules "https://github.com/cgwire/kitsu/blob/main/src/lib/preview.js"
click node_algorithms "https://github.com/cgwire/kitsu/tree/main/src/lib"

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_shell,node_entry,node_routing,node_user toneBlue
class node_task_page,node_task_list,node_schedule,node_breakdown,node_budget toneAmber
class node_store,node_http,node_task_api,node_people_api,node_task_state,node_production_state,node_episode_state,node_sequence_state,node_shot_state,node_tasktype_state,node_taskstatus_state,node_algorithms toneMint
class node_search,node_preview_player,node_preview_rules toneRose
```

## Components

### Application shell

- [Application shell](https://github.com/cgwire/kitsu/blob/main/src/App.vue): `src/App.vue`
- [App bootstrap](https://github.com/cgwire/kitsu/blob/main/src/main.js): `src/main.js`
- [Page routing](https://github.com/cgwire/kitsu/blob/main/src/router/routes.js): `src/router/routes.js`

### Production workflows

- [Task workspace](https://github.com/cgwire/kitsu/blob/main/src/components/pages/AllTasks.vue): `src/components/pages/AllTasks.vue`
- [Task lists](https://github.com/cgwire/kitsu/blob/main/src/components/lists/AllTaskList.vue): `src/components/lists/AllTaskList.vue`
- [Production scheduling](https://github.com/cgwire/kitsu/blob/main/src/components/schedule/Schedule.vue): `src/components/schedule/Schedule.vue`
- [Production breakdown](https://github.com/cgwire/kitsu/blob/main/src/components/pages/Breakdown.vue): `src/components/pages/Breakdown.vue`
- [Production budgeting](https://github.com/cgwire/kitsu/blob/main/src/components/pages/budget/Budget.vue): `src/components/pages/budget/Budget.vue`

### Domain state and data

- [Vuex store](https://github.com/cgwire/kitsu/blob/main/src/store/index.js): `src/store/index.js`
- [HTTP client](https://github.com/cgwire/kitsu/blob/main/src/store/api/client.js): `src/store/api/client.js`
- [Task API](https://github.com/cgwire/kitsu/blob/main/src/store/api/tasks.js): `src/store/api/tasks.js`
- [People API](https://github.com/cgwire/kitsu/blob/main/src/store/api/people.js): `src/store/api/people.js`
- [Task state](https://github.com/cgwire/kitsu/blob/main/src/store/modules/tasks.js): `src/store/modules/tasks.js`
- [Production state](https://github.com/cgwire/kitsu/blob/main/src/store/modules/productions.js): `src/store/modules/productions.js`
- [Episode state](https://github.com/cgwire/kitsu/blob/main/src/store/modules/episodes.js): `src/store/modules/episodes.js`
- [Sequence state](https://github.com/cgwire/kitsu/blob/main/src/store/modules/sequences.js): `src/store/modules/sequences.js`
- [Shot state](https://github.com/cgwire/kitsu/blob/main/src/store/modules/shots.js): `src/store/modules/shots.js`
- [Task type state](https://github.com/cgwire/kitsu/blob/main/src/store/modules/tasktypes.js): `src/store/modules/tasktypes.js`
- [Task status state](https://github.com/cgwire/kitsu/blob/main/src/store/modules/taskstatus.js): `src/store/modules/taskstatus.js`
- [Domain data utilities](https://github.com/cgwire/kitsu/tree/main/src/lib): `src/lib`

### Review and search

- [Saved search filters](https://github.com/cgwire/kitsu/blob/main/src/components/widgets/SearchQueryList.vue): `src/components/widgets/SearchQueryList.vue`
- [Preview player](https://github.com/cgwire/kitsu/blob/main/src/components/players/players/PreviewPlayer.vue): `src/components/players/players/PreviewPlayer.vue`
- [Preview file rules](https://github.com/cgwire/kitsu/blob/main/src/lib/preview.js): `src/lib/preview.js`

### Other components

- **Studio user**

## Connections

- Studio user → App bootstrap: opens app (evidence: `README.md`)
- App bootstrap → Application shell: mounts (evidence: `src/main.js`)
- App bootstrap → Page routing: initializes (evidence: `src/main.js`)
- Page routing → Application shell: routes through (evidence: `src/router/routes.js`)
- App bootstrap → Vuex store: initializes (evidence: `src/main.js`)
- Vuex store → Task state: registers (evidence: `src/store/index.js`)
- Vuex store → Episode state: registers (evidence: `src/store/index.js`)
- Vuex store → Production state: registers (evidence: `src/store/index.js`)
- Vuex store → Sequence state: registers (evidence: `src/store/index.js`)
- Vuex store → Shot state: registers (evidence: `src/store/index.js`)
- Vuex store → Task type state: registers (evidence: `src/store/index.js`)
- Vuex store → Task status state: registers (evidence: `src/store/index.js`)
- Task workspace → Task lists: renders (evidence: `src/components/pages/AllTasks.vue`)
- Task workspace → Vuex store: reads state (evidence: `src/components/pages/AllTasks.vue`)
- Task state → Task API: calls (evidence: `src/store/modules/tasks.js`)
- Task state → People API: calls (evidence: `src/store/modules/tasks.js`)
- Task API → HTTP client: sends requests (evidence: `src/store/api/tasks.js`)
- Episode state → People API: calls (evidence: `src/store/modules/episodes.js`)
- Episode state → Shot state: uses (evidence: `src/store/modules/episodes.js`)
- Episode state → Task state: uses (evidence: `src/store/modules/episodes.js`)
- Shot state → Episode state: uses (evidence: `src/store/modules/shots.js`)
- Task type state → Domain data utilities: sorts with (evidence: `src/store/modules/tasktypes.js`)
- Task workspace → Domain data utilities: sorts and summarizes (evidence: `src/components/pages/AllTasks.vue`)
- Preview player → Preview file rules: uses (evidence: `src/lib/preview.js`)
- Studio user → Production scheduling: plans work (evidence: `README.md`)
- Studio user → Production breakdown: organizes production (evidence: `README.md`)
- Studio user → Production budgeting: manages budget (evidence: `README.md`)
- Studio user → Preview player: reviews deliveries (evidence: `README.md`)
- Studio user → Saved search filters: finds saved work
