# abhinay2409/floodlight architecture

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

- Interactive diagram: https://gitdiagram.com/abhinay2409/floodlight
- Repository: https://github.com/abhinay2409/floodlight

## Overview

Floodlight is structured as an Android cricket-information app, with feature modules for matches, match details, series, players, rankings, news, and settings, alongside shared core modules. The file tree and build convention support this module-level architecture, but no runtime source or README was provided, so the user journey, app entry point, data flow, and external services cannot be verified. The feature-to-core links shown reflect dependencies declared by the shared feature convention, not inspected feature implementations.

Main entry points: [`core/model`](https://github.com/abhinay2409/floodlight/tree/main/core/model) (Domain models), [`core/domain`](https://github.com/abhinay2409/floodlight/tree/main/core/domain) (Domain logic), [`core/designsystem`](https://github.com/abhinay2409/floodlight/tree/main/core/designsystem) (Design system), [`core/ui`](https://github.com/abhinay2409/floodlight/tree/main/core/ui) (Shared UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Android app"]
  node_androidapp["Floodlight app"]
end

subgraph group_features["Cricket features"]
  node_matches["Matches"]
  node_matchdetail["Match detail"]
  node_series["Series"]
  node_players["Players"]
  node_rankings["Rankings"]
  node_news["News"]
  node_settings["Settings"]
end

subgraph group_coredata["Data layers"]
  node_model["Domain models"]
  node_domain["Domain logic"]
  node_network["Networking"]
  node_data["Data layer"]
  node_preferences["Preferences"]
end

subgraph group_coreui["Shared Android layers"]
  node_designsystem["Design system"]
  node_ui["Shared UI"]
  node_ads["Ads"]
end

node_matches -->|"depends on"| node_model
node_matches -->|"depends on"| node_domain
node_matches -->|"depends on"| node_designsystem
node_matches -->|"depends on"| node_ui
node_matches -->|"depends on"| node_ads
node_matchdetail -->|"depends on"| node_model
node_matchdetail -->|"depends on"| node_domain
node_matchdetail -->|"depends on"| node_designsystem
node_matchdetail -->|"depends on"| node_ui
node_matchdetail -->|"depends on"| node_ads
node_series -->|"depends on"| node_model
node_series -->|"depends on"| node_domain
node_series -->|"depends on"| node_designsystem
node_series -->|"depends on"| node_ui
node_series -->|"depends on"| node_ads
node_players -->|"depends on"| node_model
node_players -->|"depends on"| node_domain
node_players -->|"depends on"| node_designsystem
node_players -->|"depends on"| node_ui
node_players -->|"depends on"| node_ads
node_rankings -->|"depends on"| node_model
node_rankings -->|"depends on"| node_domain
node_rankings -->|"depends on"| node_designsystem
node_rankings -->|"depends on"| node_ui
node_rankings -->|"depends on"| node_ads
node_news -->|"depends on"| node_model
node_news -->|"depends on"| node_domain
node_news -->|"depends on"| node_designsystem
node_news -->|"depends on"| node_ui
node_news -->|"depends on"| node_ads
node_settings -->|"depends on"| node_model
node_settings -->|"depends on"| node_domain
node_settings -->|"depends on"| node_designsystem
node_settings -->|"depends on"| node_ui
node_settings -->|"depends on"| node_ads

click node_androidapp "https://github.com/abhinay2409/floodlight/tree/main/app"
click node_matches "https://github.com/abhinay2409/floodlight/tree/main/feature/matches"
click node_matchdetail "https://github.com/abhinay2409/floodlight/tree/main/feature/matchdetail"
click node_series "https://github.com/abhinay2409/floodlight/tree/main/feature/series"
click node_players "https://github.com/abhinay2409/floodlight/tree/main/feature/players"
click node_rankings "https://github.com/abhinay2409/floodlight/tree/main/feature/rankings"
click node_news "https://github.com/abhinay2409/floodlight/tree/main/feature/news"
click node_settings "https://github.com/abhinay2409/floodlight/tree/main/feature/settings"
click node_model "https://github.com/abhinay2409/floodlight/tree/main/core/model"
click node_domain "https://github.com/abhinay2409/floodlight/tree/main/core/domain"
click node_network "https://github.com/abhinay2409/floodlight/tree/main/core/network"
click node_data "https://github.com/abhinay2409/floodlight/tree/main/core/data"
click node_preferences "https://github.com/abhinay2409/floodlight/tree/main/core/preferences"
click node_designsystem "https://github.com/abhinay2409/floodlight/tree/main/core/designsystem"
click node_ui "https://github.com/abhinay2409/floodlight/tree/main/core/ui"
click node_ads "https://github.com/abhinay2409/floodlight/tree/main/core/ads"

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_androidapp toneBlue
class node_matches,node_matchdetail,node_series,node_players,node_rankings,node_news,node_settings toneAmber
class node_model,node_domain,node_network,node_data,node_preferences toneMint
class node_designsystem,node_ui,node_ads toneRose
```

## Components

### Android app

- [Floodlight app](https://github.com/abhinay2409/floodlight/tree/main/app): `app`

### Cricket features

- [Matches](https://github.com/abhinay2409/floodlight/tree/main/feature/matches): `feature/matches`
- [Match detail](https://github.com/abhinay2409/floodlight/tree/main/feature/matchdetail): `feature/matchdetail`
- [Series](https://github.com/abhinay2409/floodlight/tree/main/feature/series): `feature/series`
- [Players](https://github.com/abhinay2409/floodlight/tree/main/feature/players): `feature/players`
- [Rankings](https://github.com/abhinay2409/floodlight/tree/main/feature/rankings): `feature/rankings`
- [News](https://github.com/abhinay2409/floodlight/tree/main/feature/news): `feature/news`
- [Settings](https://github.com/abhinay2409/floodlight/tree/main/feature/settings): `feature/settings`

### Data layers

- [Domain models](https://github.com/abhinay2409/floodlight/tree/main/core/model): `core/model`
- [Domain logic](https://github.com/abhinay2409/floodlight/tree/main/core/domain): `core/domain`
- [Networking](https://github.com/abhinay2409/floodlight/tree/main/core/network): `core/network`
- [Data layer](https://github.com/abhinay2409/floodlight/tree/main/core/data): `core/data`
- [Preferences](https://github.com/abhinay2409/floodlight/tree/main/core/preferences): `core/preferences`

### Shared Android layers

- [Design system](https://github.com/abhinay2409/floodlight/tree/main/core/designsystem): `core/designsystem`
- [Shared UI](https://github.com/abhinay2409/floodlight/tree/main/core/ui): `core/ui`
- [Ads](https://github.com/abhinay2409/floodlight/tree/main/core/ads): `core/ads`

## Connections

- Matches → Domain models: depends on
- Matches → Domain logic: depends on
- Matches → Design system: depends on
- Matches → Shared UI: depends on
- Matches → Ads: depends on
- Match detail → Domain models: depends on
- Match detail → Domain logic: depends on
- Match detail → Design system: depends on
- Match detail → Shared UI: depends on
- Match detail → Ads: depends on
- Series → Domain models: depends on
- Series → Domain logic: depends on
- Series → Design system: depends on
- Series → Shared UI: depends on
- Series → Ads: depends on
- Players → Domain models: depends on
- Players → Domain logic: depends on
- Players → Design system: depends on
- Players → Shared UI: depends on
- Players → Ads: depends on
- Rankings → Domain models: depends on
- Rankings → Domain logic: depends on
- Rankings → Design system: depends on
- Rankings → Shared UI: depends on
- Rankings → Ads: depends on
- News → Domain models: depends on
- News → Domain logic: depends on
- News → Design system: depends on
- News → Shared UI: depends on
- News → Ads: depends on
- Settings → Domain models: depends on
- Settings → Domain logic: depends on
- Settings → Design system: depends on
- Settings → Shared UI: depends on
- Settings → Ads: depends on
