# asrumon/telephoto architecture

> Architecture diagram of the GitHub repository asrumon/telephoto, 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/asrumon/telephoto
- Repository: https://github.com/asrumon/telephoto

## Overview

Telephoto is a privacy-focused Android media app whose primary workflow is selecting local photos and videos, applying backup choices, and sending media to a user-controlled Telegram chat. The README also describes browsing and organizing media, OCR search, notes, face management, synchronization, and device utilities. The provided tree contains no application source files, so these are documented product capabilities rather than verified implementation modules; paths and undocumented internal connections are omitted.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_backup["Backup and cloud"]
  node_local_media[("Local media")]
  node_backup_controls["Backup controls"]
  node_media_conversion["Image pre-conversion"]
  node_telegram[("Telegram chat")]
  node_sync["Cross-device sync"]
end

subgraph group_library["Media library"]
  node_gallery["Gallery and library"]
  node_cloud_browse["Cloud browsing"]
  node_video_playback["Video playback"]
  node_collections["Collections and favorites"]
end

subgraph group_content["Notes and discovery"]
  node_notes["Rich notes"]
  node_ocr_search["Offline OCR search"]
  node_face_management["People and faces"]
end

subgraph group_platform["Device capabilities"]
  node_device_tools["Backup and restore"]
  node_widgets["Home widgets"]
end

node_user(("User"))
node_app["Telephoto app"]
node_external_viewer(("Other apps"))

node_user -->|"uses"| node_app
node_app -->|"backs up"| node_local_media
node_app -->|"configures"| node_backup_controls
node_app -->|"uploads media"| node_telegram
node_app -->|"synchronizes devices"| node_sync
node_app -->|"browses media"| node_gallery
node_app -->|"browses cloud"| node_cloud_browse
node_app -->|"plays videos"| node_video_playback
node_app -->|"organizes media"| node_collections
node_app -->|"creates notes"| node_notes
node_app -->|"searches text"| node_ocr_search
node_app -->|"manages faces"| node_face_management
node_app -->|"backs up data"| node_device_tools
node_app -->|"provides widgets"| node_widgets
node_external_viewer -->|"opens media"| node_app

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_local_media,node_backup_controls,node_media_conversion,node_telegram,node_sync,node_user toneBlue
class node_gallery,node_cloud_browse,node_video_playback,node_collections toneAmber
class node_notes,node_ocr_search,node_face_management toneMint
class node_device_tools,node_widgets toneRose
class node_app,node_external_viewer toneIndigo
```

## Components

### Backup and cloud

- **Local media**
- **Backup controls**
- **Image pre-conversion**
- **Telegram chat**
- **Cross-device sync**

### Media library

- **Gallery and library**
- **Cloud browsing**
- **Video playback**
- **Collections and favorites**

### Notes and discovery

- **Rich notes**
- **Offline OCR search**
- **People and faces**

### Device capabilities

- **Backup and restore**
- **Home widgets**

### Other components

- **User**
- **Telephoto app**
- **Other apps**

## Connections

- User → Telephoto app: uses (evidence: `README.md`)
- Telephoto app → Local media: backs up (evidence: `README.md`)
- Telephoto app → Backup controls: configures (evidence: `README.md`)
- Telephoto app → Telegram chat: uploads media (evidence: `README.md`)
- Telephoto app → Cross-device sync: synchronizes devices (evidence: `README.md`)
- Telephoto app → Gallery and library: browses media (evidence: `README.md`)
- Telephoto app → Cloud browsing: browses cloud (evidence: `README.md`)
- Telephoto app → Video playback: plays videos (evidence: `README.md`)
- Telephoto app → Collections and favorites: organizes media (evidence: `README.md`)
- Telephoto app → Rich notes: creates notes (evidence: `README.md`)
- Telephoto app → Offline OCR search: searches text (evidence: `README.md`)
- Telephoto app → People and faces: manages faces (evidence: `README.md`)
- Telephoto app → Backup and restore: backs up data (evidence: `README.md`)
- Telephoto app → Home widgets: provides widgets (evidence: `README.md`)
- Other apps → Telephoto app: opens media (evidence: `README.md`)
