# nomad4tech/telescope-bot architecture

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

- Interactive diagram: https://gitdiagram.com/nomad4tech/telescope-bot
- Repository: https://github.com/nomad4tech/telescope-bot

## Overview

Telescope is a Telegram keyword-alert product: users configure public channels and matching rules through a bot, then receive alerts for matching posts. The README also documents a personal web cabinet, multilingual support, feedback, and account-data deletion. No implementation source files are present in the supplied tree, so this map reflects documented capabilities and relationships only; component paths are unavailable.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup and rules"]
  node_bot["Setup bot"]
  node_channels["Public sources"]
  node_keywords["Keyword rules"]
end

subgraph group_monitoring["Monitoring and alerts"]
  node_posts["New posts"]
  node_matching["Keyword matching"]
  node_alerts["Alert delivery"]
  node_history[("Alert history")]
end

subgraph group_cabinet["Web cabinet"]
  node_cabinet["Personal cabinet"]
  node_feed["Feed and search"]
  node_statistics["Statistics"]
  node_export["Data export"]
end

subgraph group_account["Account features"]
  node_language["Language selection"]
  node_feedback["In-app feedback"]
  node_deletion["Data deletion"]
end

node_user(("Telegram user"))
node_telegram{{"Telegram"}}

node_user -->|"configures"| node_bot
node_bot -->|"sets sources"| node_channels
node_bot -->|"sets rules"| node_keywords
node_channels -->|"monitors"| node_posts
node_posts -->|"checks posts"| node_matching
node_keywords -->|"matches against"| node_matching
node_matching -->|"triggers"| node_alerts
node_alerts -->|"sends signal"| node_telegram
node_alerts -->|"keeps previews"| node_history
node_user -->|"opens"| node_cabinet
node_cabinet -->|"provides"| node_feed
node_cabinet -->|"provides"| node_statistics
node_cabinet -->|"provides"| node_export
node_history -->|"supplies alerts"| node_feed
node_user -->|"chooses"| node_language
node_user -->|"submits"| node_feedback
node_user -->|"requests"| node_deletion
node_deletion -->|"removes data"| node_history

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_bot,node_channels,node_keywords,node_user toneBlue
class node_posts,node_matching,node_alerts,node_history toneAmber
class node_cabinet,node_feed,node_statistics,node_export toneMint
class node_language,node_feedback,node_deletion toneRose
class node_telegram toneIndigo
```

## Components

### Setup and rules

- **Setup bot**
- **Public sources**
- **Keyword rules**

### Monitoring and alerts

- **New posts**
- **Keyword matching**
- **Alert delivery**
- **Alert history**

### Web cabinet

- **Personal cabinet**
- **Feed and search**
- **Statistics**
- **Data export**

### Account features

- **Language selection**
- **In-app feedback**
- **Data deletion**

### Other components

- **Telegram user**
- **Telegram**

## Connections

- Telegram user → Setup bot: configures (evidence: `README.md`)
- Setup bot → Public sources: sets sources (evidence: `README.md`)
- Setup bot → Keyword rules: sets rules (evidence: `README.md`)
- Public sources → New posts: monitors (evidence: `README.md`)
- New posts → Keyword matching: checks posts (evidence: `README.md`)
- Keyword rules → Keyword matching: matches against (evidence: `README.md`)
- Keyword matching → Alert delivery: triggers (evidence: `README.md`)
- Alert delivery → Telegram: sends signal (evidence: `README.md`)
- Alert delivery → Alert history: keeps previews (evidence: `README.md`)
- Telegram user → Personal cabinet: opens (evidence: `README.md`)
- Personal cabinet → Feed and search: provides (evidence: `README.md`)
- Personal cabinet → Statistics: provides (evidence: `README.md`)
- Personal cabinet → Data export: provides (evidence: `README.md`)
- Alert history → Feed and search: supplies alerts (evidence: `README.md`)
- Telegram user → Language selection: chooses (evidence: `README.md`)
- Telegram user → In-app feedback: submits (evidence: `README.md`)
- Telegram user → Data deletion: requests (evidence: `README.md`)
- Data deletion → Alert history: removes data (evidence: `README.md`)
