# heisenberg-tr/zirinus architecture

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

- Interactive diagram: https://gitdiagram.com/heisenberg-tr/zirinus
- Repository: https://github.com/heisenberg-tr/zirinus

## Overview

Zirinus is a discontinued, interactive Discord automation tool. Its main user workflow is navigating a terminal menu to configure and run message or webhook actions, with additional message and server information utilities. The sampled source confirms HTTP requests and webhook worker dispatch; menu-listed capabilities are included, but their wiring is not shown. The README provides no further architecture details.

Main entry points: [`main.py`](https://github.com/heisenberg-tr/zirinus/blob/main/main.py) (Webhook sender)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Terminal interface"]
  node_navigation["Menu navigation<br/>[main.py]"]
  node_defaults["Default values<br/>[main.py]"]
  node_presets["Presets<br/>[main.py]"]
end

subgraph group_actions["Discord actions"]
  node_message_spam["Message spam<br/>[main.py]"]
  node_webhook_config["Webhook setup<br/>[main.py]"]
  node_webhook_worker["Webhook sender<br/>[main.py]"]
  node_command_triggers["Command triggers<br/>[main.py]"]
  node_send_message["Send message<br/>[main.py]"]
end

subgraph group_utilities["Information utilities"]
  node_message_view["Message content<br/>[main.py]"]
  node_server_info["Server details<br/>[main.py]"]
end

node_user(("Operator"))
node_discord{{"Discord API"}}
node_webhook_service{{"Webhook endpoint"}}

node_user -->|"uses"| node_navigation
node_webhook_config -->|"starts workers"| node_webhook_worker
node_message_spam -->|"posts messages"| node_discord
node_webhook_worker -->|"posts payloads"| node_webhook_service
node_message_view -->|"fetches messages"| node_discord
node_server_info -->|"fetches server data"| node_discord

click node_navigation "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_message_spam "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_webhook_config "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_webhook_worker "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_command_triggers "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_send_message "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_message_view "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_server_info "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_defaults "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"
click node_presets "https://github.com/heisenberg-tr/zirinus/blob/main/main.py"

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_navigation,node_defaults,node_presets toneBlue
class node_message_spam,node_webhook_config,node_webhook_worker,node_command_triggers,node_send_message toneAmber
class node_message_view,node_server_info,node_discord,node_webhook_service toneMint
class node_user toneIndigo
```

## Components

### Terminal interface

- [Menu navigation](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`
- [Default values](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`
- [Presets](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`

### Discord actions

- [Message spam](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`
- [Webhook setup](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`
- [Webhook sender](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`
- [Command triggers](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`
- [Send message](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`

### Information utilities

- [Message content](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`
- [Server details](https://github.com/heisenberg-tr/zirinus/blob/main/main.py): `main.py`

### Other components

- **Operator**
- **Discord API**
- **Webhook endpoint**

## Connections

- Operator → Menu navigation: uses
- Webhook setup → Webhook sender: starts workers
- Message spam → Discord API: posts messages
- Webhook sender → Webhook endpoint: posts payloads
- Message content → Discord API: fetches messages
- Server details → Discord API: fetches server data
