# v1s1t0r1sh3r3/airgeddon architecture

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

- Interactive diagram: https://gitdiagram.com/v1s1t0r1sh3r3/airgeddon
- Repository: https://github.com/v1s1t0r1sh3r3/airgeddon

## Overview

##### Main Components Identification

a. Core Script Engine
- Main execution script (airgeddon.sh)
- Language handling (language_strings.sh)
- Configuration management (.airgeddonrc)

b. Plugin System
- Plugin architecture (plugins directory)
- Plugin template system (plugin_template.sh)
- Dependencies handler (missing_dependencies.sh)

c. Database Components
- Known PINs database (known_pins.db)
- Database verification (pindb_checksum.txt)

d. Docker Container Environment
- Containerization support (Dockerfile)
- Cross-platform compatibility layer

**[User Interface Layer]**

**[Core Script Engine] ←→ [Configuration Manager]**

- → [Language Handler]

- → [Plugin System]
- → [Plugin Modules]

- → [Database Layer]
- → [PIN Database]
- → [Checksum Verification]

- → [External Tools Interface]
- → [System Dependencies]

Key interactions:

##### Detailed Component Descriptions

For each component, include:
- Purpose and responsibility
- Input/Output relationships
- Dependencies on other components
- Configuration requirements

##### Implementation Notes

- Bash script-based architecture
- Plugin extensibility
- Docker container isolation
- External tool integration
- Multi-language support
- Database interaction patterns

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Styles
    classDef core fill:#b3d1ff,stroke:#333
    classDef plugin fill:#90EE90,stroke:#333
    classDef db fill:#FFE5B4,stroke:#333
    classDef config fill:#FFA07A,stroke:#333
    classDef docker fill:#E6E6FA,stroke:#333,stroke-dasharray: 5 5
    classDef resource fill:#D3D3D3,stroke:#333
    classDef workflow fill:#98FB98,stroke:#333

    %% Main Components
    UI[User Interface Layer]
    Core[Core Script Engine]:::core
    LangHandler[Language Handler]:::core
    ConfigMgr[Configuration Manager]:::config
    PluginSys[Plugin System]:::plugin
    PluginMods[Plugin Modules]:::plugin
    DbLayer[Database Layer]:::db
    PinDb[PIN Database]:::db
    CheckSum[Checksum Verification]:::db
    ExtTools[External Tools Interface]:::core
    SysDeps[System Dependencies]:::core
    Docker[Docker Container]:::docker

    %% Resource Components
    Resources[Resource Assets]:::resource
    Banners[Banner Resources]:::resource
    Flags[Flag Resources]:::resource
    Icons[Icon Resources]:::resource
    WikiImg[Documentation Images]:::resource

    %% Workflow Components
    GHWorkflow[GitHub Workflows]:::workflow
    DevPipe[Development Pipeline]:::workflow
    ProdPipe[Production Pipeline]:::workflow

    %% Relationships
    UI --> Core
    Core <--> ConfigMgr
    Core --> LangHandler
    Core --> PluginSys
    PluginSys --> PluginMods
    Core --> DbLayer
    DbLayer --> PinDb
    DbLayer --> CheckSum
    Core --> ExtTools
    ExtTools --> SysDeps
    Docker -.-> Core

    %% Resource Relationships
    Resources --> Banners
    Resources --> Flags
    Resources --> Icons
    Resources --> WikiImg

    %% Workflow Relationships
    GHWorkflow --> DevPipe
    GHWorkflow --> ProdPipe

    %% Click Events
    click Core "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/airgeddon.sh"
    click LangHandler "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/language_strings.sh"
    click ConfigMgr "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/.airgeddonrc"
    click PluginSys "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/plugins"
    click PluginMods "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/plugins/plugin_template.sh"
    click SysDeps "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/plugins/missing_dependencies.sh"
    click PinDb "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/known_pins.db"
    click CheckSum "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/pindb_checksum.txt"
    click Docker "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/Dockerfile"
    click Resources "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/imgs"
    click Banners "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/imgs/banners"
    click Flags "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/imgs/flags"
    click Icons "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/imgs/icons"
    click WikiImg "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/imgs/wiki"
    click GHWorkflow "https://github.com/v1s1t0r1sh3r3/airgeddon/tree/master/.github/workflows"
    click DevPipe "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/.github/workflows/dev.yml"
    click ProdPipe "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/master/.github/workflows/master.yml"

    %% Legend
    subgraph Legend
        L1[Core Components]:::core
        L2[Plugin Components]:::plugin
        L3[Database Components]:::db
        L4[Configuration]:::config
        L5[Docker Container]:::docker
        L6[Resources]:::resource
        L7[Workflows]:::workflow
    end
```
