# librariez/gdrive-reinvented-prototype architecture

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

- Interactive diagram: https://gitdiagram.com/librariez/gdrive-reinvented-prototype
- Repository: https://github.com/librariez/gdrive-reinvented-prototype

## Overview

This is a Flutter app named gdrive_reinvent; the available files suggest a simulated Drive-style interface with file browsing, folder simulation, shared-link views, and an upload-picker experience. The tree also shows mock file models, upload state, and feedback UI. The README is only Flutter boilerplate, and the supplied source excerpts cover Android build configuration rather than runtime code. Consequently, the components below are identified from paths, but runtime calls and data flow cannot be verified; no relationships are asserted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App and pages"]
  node_entry["App entry<br/>[main.dart]"]
  node_home["Home page<br/>[home.dart]"]
  node_files_page["Files page<br/>[files.dart]"]
  node_documentation["Documentation page<br/>[documentation.dart]"]
end

subgraph group_files["File simulation"]
  node_folder_page["Folder simulation"]
  node_mock_state["Mock app state<br/>[app_state.dart]"]
  node_mock_items["Mock file items"]
  node_mock_docs["Mock document items"]
  node_mock_folder["Mock folder items"]
  node_mock_image["Mock image items"]
  node_file_card["File card<br/>[filecard.dart]"]
  node_file_icon["File type icon"]
end

subgraph group_upload["Upload experience"]
  node_uploads_page["Uploads page<br/>[uploads.dart]"]
  node_picker_screen["Upload picker"]
  node_upload_state["Upload state helpers"]
  node_upload_utils["Upload name and type utilities"]
  node_upload_controls["Upload dialogs and controls"]
end

subgraph group_shared["Sharing and feedback"]
  node_shared_page["Shared page<br/>[shared.dart]"]
  node_shared_flow["Shared-link flow"]
  node_link_preview["Link preview"]
  node_feedback["Upload and sound feedback"]
  node_sound["Feedback sounds"]
end

node_user(("User"))

click node_entry "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/main.dart"
click node_home "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/home.dart"
click node_files_page "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/files.dart"
click node_folder_page "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/folder_simulation_page.dart"
click node_mock_state "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/app_state.dart"
click node_mock_items "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_file_item.dart"
click node_mock_docs "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_docs_item.dart"
click node_mock_folder "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_folder_item.dart"
click node_mock_image "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_image_item.dart"
click node_file_card "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/filecard.dart"
click node_file_icon "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/file_type_icon.dart"
click node_uploads_page "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/uploads.dart"
click node_picker_screen "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/upload_picker/screens/upload_picker_screen.dart"
click node_upload_state "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/upload_picker/state/upload_state_extension.dart"
click node_upload_utils "https://github.com/librariez/gdrive-reinvented-prototype/tree/main/lib/upload_picker/utils"
click node_upload_controls "https://github.com/librariez/gdrive-reinvented-prototype/tree/main/lib/upload_picker/widgets"
click node_shared_page "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/shared.dart"
click node_shared_flow "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/flows/shared_link_flow.dart"
click node_link_preview "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/link_preview_page.dart"
click node_documentation "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/documentation.dart"
click node_feedback "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/widgets/upload_feedback_listener.dart"
click node_sound "https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/services/feedback_sound.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_entry,node_home,node_files_page,node_documentation,node_user toneBlue
class node_folder_page,node_mock_state,node_mock_items,node_mock_docs,node_mock_folder,node_mock_image,node_file_card,node_file_icon toneAmber
class node_uploads_page,node_picker_screen,node_upload_state,node_upload_utils,node_upload_controls toneMint
class node_shared_page,node_shared_flow,node_link_preview,node_feedback,node_sound toneRose
```

## Components

### App and pages

- [App entry](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/main.dart): `lib/main.dart`
- [Home page](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/home.dart): `lib/pages/home.dart`
- [Files page](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/files.dart): `lib/pages/files.dart`
- [Documentation page](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/documentation.dart): `lib/pages/documentation.dart`

### File simulation

- [Folder simulation](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/folder_simulation_page.dart): `lib/pages/folder_simulation_page.dart`
- [Mock app state](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/app_state.dart): `lib/mockfile/app_state.dart`
- [Mock file items](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_file_item.dart): `lib/mockfile/mock_file_item.dart`
- [Mock document items](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_docs_item.dart): `lib/mockfile/mock_docs_item.dart`
- [Mock folder items](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_folder_item.dart): `lib/mockfile/mock_folder_item.dart`
- [Mock image items](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/mock_image_item.dart): `lib/mockfile/mock_image_item.dart`
- [File card](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/filecard.dart): `lib/mockfile/filecard.dart`
- [File type icon](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/mockfile/file_type_icon.dart): `lib/mockfile/file_type_icon.dart`

### Upload experience

- [Uploads page](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/uploads.dart): `lib/pages/uploads.dart`
- [Upload picker](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/upload_picker/screens/upload_picker_screen.dart): `lib/upload_picker/screens/upload_picker_screen.dart`
- [Upload state helpers](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/upload_picker/state/upload_state_extension.dart): `lib/upload_picker/state/upload_state_extension.dart`
- [Upload name and type utilities](https://github.com/librariez/gdrive-reinvented-prototype/tree/main/lib/upload_picker/utils): `lib/upload_picker/utils`
- [Upload dialogs and controls](https://github.com/librariez/gdrive-reinvented-prototype/tree/main/lib/upload_picker/widgets): `lib/upload_picker/widgets`

### Sharing and feedback

- [Shared page](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/shared.dart): `lib/pages/shared.dart`
- [Shared-link flow](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/flows/shared_link_flow.dart): `lib/flows/shared_link_flow.dart`
- [Link preview](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/pages/link_preview_page.dart): `lib/pages/link_preview_page.dart`
- [Upload and sound feedback](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/widgets/upload_feedback_listener.dart): `lib/widgets/upload_feedback_listener.dart`
- [Feedback sounds](https://github.com/librariez/gdrive-reinvented-prototype/blob/main/lib/services/feedback_sound.dart): `lib/services/feedback_sound.dart`

### Other components

- **User**
