# ortolanph/media_watch architecture

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

- Interactive diagram: https://gitdiagram.com/ortolanph/media_watch
- Repository: https://github.com/ortolanph/media_watch

## Overview

The tree indicates a Flutter media-watch application with movie, TV-show, and tag features, but the README is only a generic Flutter starter and no source excerpts were provided. Components below are identified from their paths and names; connections are omitted because their runtime relationships cannot be verified from the available evidence.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Presentation"]
  node_app_entry["App Entry<br/>[main.dart]"]
  node_home["Home Page<br/>[home_page.dart]"]
  node_movie_page["Movie Page<br/>[movie_page.dart]"]
  node_tag_page["Tag Page<br/>[tag_page.dart]"]
  node_tv_page["TV Show Page<br/>[tv_show_page.dart]"]
  node_tv_edit_page["TV Edit Page"]
  node_movie_views["Movie Views<br/>[movie_view.dart]"]
  node_tag_views["Tag Views<br/>[tag_view.dart]"]
  node_tv_views["TV Show Views<br/>[tv_show_view.dart]"]
  node_tv_edit_view["TV Edit View"]
end

subgraph group_state["Feature State"]
  node_movie_bloc["Movie State<br/>[movie_bloc.dart]"]
  node_tag_bloc["Tag State<br/>[tag_bloc.dart]"]
  node_tv_bloc["TV Show State<br/>[tv_show_bloc.dart]"]
end

subgraph group_domain["Data and Services"]
  node_movie_repository["Movie Repository"]
  node_tv_repository["TV Show Repository"]
  node_data_service["Data Service<br/>[data_service.dart]"]
  node_tag_validation["Tag Validation"]
  node_template_service["Template Service"]
  node_movie_model["Movie Model<br/>[movie.dart]"]
  node_tag_model["Tag Data<br/>[tag_data.dart]"]
  node_tv_model["TV Show Model<br/>[tv_show.dart]"]
  node_export_model["TV Export"]
  node_validation_model["Validation Result"]
end

node_user(("User"))

click node_app_entry "https://github.com/ortolanph/media_watch/blob/master/lib/main.dart"
click node_home "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/home_page.dart"
click node_movie_page "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/movie_page.dart"
click node_tag_page "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/tag_page.dart"
click node_tv_page "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/tv_show_page.dart"
click node_tv_edit_page "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/tv_show_edit_page.dart"
click node_movie_views "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/movie_view.dart"
click node_tag_views "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/tag_view.dart"
click node_tv_views "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/tv_show_view.dart"
click node_tv_edit_view "https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/tv_show_edit_view.dart"
click node_movie_bloc "https://github.com/ortolanph/media_watch/blob/master/lib/bloc/movies/movie_bloc.dart"
click node_tag_bloc "https://github.com/ortolanph/media_watch/blob/master/lib/bloc/tags/tag_bloc.dart"
click node_tv_bloc "https://github.com/ortolanph/media_watch/blob/master/lib/bloc/tvshow/tv_show_bloc.dart"
click node_movie_repository "https://github.com/ortolanph/media_watch/blob/master/lib/data/repository/movie_repository.dart"
click node_tv_repository "https://github.com/ortolanph/media_watch/blob/master/lib/data/repository/tv_show_repository.dart"
click node_data_service "https://github.com/ortolanph/media_watch/blob/master/lib/services/data_service.dart"
click node_tag_validation "https://github.com/ortolanph/media_watch/blob/master/lib/services/tag_validation_service.dart"
click node_template_service "https://github.com/ortolanph/media_watch/blob/master/lib/services/template_service.dart"
click node_movie_model "https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/movie.dart"
click node_tag_model "https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/tag_data.dart"
click node_tv_model "https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/tv_show.dart"
click node_export_model "https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/tv_show_export.dart"
click node_validation_model "https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/validation_result.dart"

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_entry,node_home,node_movie_page,node_tag_page,node_tv_page,node_tv_edit_page,node_movie_views,node_tag_views,node_tv_views,node_tv_edit_view,node_user toneBlue
class node_movie_bloc,node_tag_bloc,node_tv_bloc toneAmber
class node_movie_repository,node_tv_repository,node_data_service,node_tag_validation,node_template_service,node_movie_model,node_tag_model,node_tv_model,node_export_model,node_validation_model toneMint
```

## Components

### Presentation

- [App Entry](https://github.com/ortolanph/media_watch/blob/master/lib/main.dart): `lib/main.dart`
- [Home Page](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/home_page.dart): `lib/presentation/pages/home_page.dart`
- [Movie Page](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/movie_page.dart): `lib/presentation/pages/movie_page.dart`
- [Tag Page](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/tag_page.dart): `lib/presentation/pages/tag_page.dart`
- [TV Show Page](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/tv_show_page.dart): `lib/presentation/pages/tv_show_page.dart`
- [TV Edit Page](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/pages/tv_show_edit_page.dart): `lib/presentation/pages/tv_show_edit_page.dart`
- [Movie Views](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/movie_view.dart): `lib/presentation/views/movie_view.dart`
- [Tag Views](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/tag_view.dart): `lib/presentation/views/tag_view.dart`
- [TV Show Views](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/tv_show_view.dart): `lib/presentation/views/tv_show_view.dart`
- [TV Edit View](https://github.com/ortolanph/media_watch/blob/master/lib/presentation/views/tv_show_edit_view.dart): `lib/presentation/views/tv_show_edit_view.dart`

### Feature State

- [Movie State](https://github.com/ortolanph/media_watch/blob/master/lib/bloc/movies/movie_bloc.dart): `lib/bloc/movies/movie_bloc.dart`
- [Tag State](https://github.com/ortolanph/media_watch/blob/master/lib/bloc/tags/tag_bloc.dart): `lib/bloc/tags/tag_bloc.dart`
- [TV Show State](https://github.com/ortolanph/media_watch/blob/master/lib/bloc/tvshow/tv_show_bloc.dart): `lib/bloc/tvshow/tv_show_bloc.dart`

### Data and Services

- [Movie Repository](https://github.com/ortolanph/media_watch/blob/master/lib/data/repository/movie_repository.dart): `lib/data/repository/movie_repository.dart`
- [TV Show Repository](https://github.com/ortolanph/media_watch/blob/master/lib/data/repository/tv_show_repository.dart): `lib/data/repository/tv_show_repository.dart`
- [Data Service](https://github.com/ortolanph/media_watch/blob/master/lib/services/data_service.dart): `lib/services/data_service.dart`
- [Tag Validation](https://github.com/ortolanph/media_watch/blob/master/lib/services/tag_validation_service.dart): `lib/services/tag_validation_service.dart`
- [Template Service](https://github.com/ortolanph/media_watch/blob/master/lib/services/template_service.dart): `lib/services/template_service.dart`
- [Movie Model](https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/movie.dart): `lib/data/entities/movie.dart`
- [Tag Data](https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/tag_data.dart): `lib/data/entities/tag_data.dart`
- [TV Show Model](https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/tv_show.dart): `lib/data/entities/tv_show.dart`
- [TV Export](https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/tv_show_export.dart): `lib/data/entities/tv_show_export.dart`
- [Validation Result](https://github.com/ortolanph/media_watch/blob/master/lib/data/entities/validation_result.dart): `lib/data/entities/validation_result.dart`

### Other components

- **User**
