# adrians-f/keepr architecture

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

- Interactive diagram: https://gitdiagram.com/adrians-f/keepr
- Repository: https://github.com/adrians-f/keepr

## Overview

Keepr appears to be an Android app for account access, managing collections and items, and maintaining a user profile, with local data and notification components. The tree supports these product areas, but the supplied source excerpts contain only build configuration and there is no README. Consequently, the graph identifies the visible components without asserting runtime calls or data flows that the evidence does not show.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App and navigation"]
  node_main["Activity entry<br/>[MainActivity.kt]"]
  node_app_root["App root<br/>[KeeprApp.kt]"]
  node_routes["Navigation routes<br/>[NavRoute.kt]"]
end

subgraph group_screens["User workflows"]
  node_auth_screens["Sign-in and sign-up<br/>[SignInScreen.kt]"]
  node_collections_screen["Collections screen"]
  node_items_screen["Items screen<br/>[ItemsScreen.kt]"]
  node_add_screen["Add screen<br/>[AddScreen.kt]"]
  node_profile_screen["Profile screen<br/>[ProfileScreen.kt]"]
end

subgraph group_state["Workflow state"]
  node_auth_state["Authentication state<br/>[AuthViewModel.kt]"]
  node_collections_state["Collections state"]
  node_items_state["Items state<br/>[ItemsViewModel.kt]"]
  node_add_state["Add state<br/>[AddViewModel.kt]"]
  node_profile_state["Profile state"]
end

subgraph group_data["Local data and services"]
  node_auth_repo["Authentication repository<br/>[AuthRepository.kt]"]
  node_database[("Keepr database<br/>[KeeprDatabase.kt]")]
  node_data_models["Local data models"]
  node_settings["Settings manager<br/>[SettingsManager.kt]"]
  node_notifications["Inactivity notifications"]
end

node_user(("App user"))

click node_main "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/MainActivity.kt"
click node_app_root "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/KeeprApp.kt"
click node_routes "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/navigation/NavRoute.kt"
click node_auth_screens "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/SignInScreen.kt"
click node_collections_screen "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/CollectionsScreen.kt"
click node_items_screen "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/ItemsScreen.kt"
click node_add_screen "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/AddScreen.kt"
click node_profile_screen "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/ProfileScreen.kt"
click node_auth_state "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/AuthViewModel.kt"
click node_collections_state "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/CollectionsViewModel.kt"
click node_items_state "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/ItemsViewModel.kt"
click node_add_state "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/AddViewModel.kt"
click node_profile_state "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/ProfileViewModel.kt"
click node_auth_repo "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/data/AuthRepository.kt"
click node_database "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/data/KeeprDatabase.kt"
click node_data_models "https://github.com/adrians-f/keepr/tree/master/app/src/main/java/com/example/keepr/data"
click node_settings "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/data/SettingsManager.kt"
click node_notifications "https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/notifications/InactivityWorker.kt"

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_main,node_app_root,node_routes,node_user toneBlue
class node_auth_screens,node_collections_screen,node_items_screen,node_add_screen,node_profile_screen toneAmber
class node_auth_state,node_collections_state,node_items_state,node_add_state,node_profile_state toneMint
class node_auth_repo,node_database,node_data_models,node_settings,node_notifications toneRose
```

## Components

### App and navigation

- [Activity entry](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/MainActivity.kt): `app/src/main/java/com/example/keepr/MainActivity.kt`
- [App root](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/KeeprApp.kt): `app/src/main/java/com/example/keepr/ui/KeeprApp.kt`
- [Navigation routes](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/navigation/NavRoute.kt): `app/src/main/java/com/example/keepr/ui/navigation/NavRoute.kt`

### User workflows

- [Sign-in and sign-up](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/SignInScreen.kt): `app/src/main/java/com/example/keepr/ui/screens/SignInScreen.kt`
- [Collections screen](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/CollectionsScreen.kt): `app/src/main/java/com/example/keepr/ui/screens/CollectionsScreen.kt`
- [Items screen](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/ItemsScreen.kt): `app/src/main/java/com/example/keepr/ui/screens/ItemsScreen.kt`
- [Add screen](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/AddScreen.kt): `app/src/main/java/com/example/keepr/ui/screens/AddScreen.kt`
- [Profile screen](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/screens/ProfileScreen.kt): `app/src/main/java/com/example/keepr/ui/screens/ProfileScreen.kt`

### Workflow state

- [Authentication state](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/AuthViewModel.kt): `app/src/main/java/com/example/keepr/ui/viewmodel/AuthViewModel.kt`
- [Collections state](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/CollectionsViewModel.kt): `app/src/main/java/com/example/keepr/ui/viewmodel/CollectionsViewModel.kt`
- [Items state](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/ItemsViewModel.kt): `app/src/main/java/com/example/keepr/ui/viewmodel/ItemsViewModel.kt`
- [Add state](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/AddViewModel.kt): `app/src/main/java/com/example/keepr/ui/viewmodel/AddViewModel.kt`
- [Profile state](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/ui/viewmodel/ProfileViewModel.kt): `app/src/main/java/com/example/keepr/ui/viewmodel/ProfileViewModel.kt`

### Local data and services

- [Authentication repository](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/data/AuthRepository.kt): `app/src/main/java/com/example/keepr/data/AuthRepository.kt`
- [Keepr database](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/data/KeeprDatabase.kt): `app/src/main/java/com/example/keepr/data/KeeprDatabase.kt`
- [Local data models](https://github.com/adrians-f/keepr/tree/master/app/src/main/java/com/example/keepr/data): `app/src/main/java/com/example/keepr/data`
- [Settings manager](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/data/SettingsManager.kt): `app/src/main/java/com/example/keepr/data/SettingsManager.kt`
- [Inactivity notifications](https://github.com/adrians-f/keepr/blob/master/app/src/main/java/com/example/keepr/notifications/InactivityWorker.kt): `app/src/main/java/com/example/keepr/notifications/InactivityWorker.kt`

### Other components

- **App user**
