# stressozz/zapret-manager architecture

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

- Interactive diagram: https://gitdiagram.com/stressozz/zapret-manager
- Repository: https://github.com/stressozz/zapret-manager

## Overview

Zapret Manager is an OpenWrt router application for managing local DPI bypass, tunnel-based routing, Telegram proxies, encrypted DNS, hosts, and router maintenance. The documented user flow is to open LuCI or the standalone Web UI, sign in if needed, then manage components and view their status. The README describes capabilities but no source excerpts were provided, so implementation links use only paths visible in the tree; documented relationships cite the README.

Main entry points: [`ZapretManager_LuCI.sh`](https://github.com/stressozz/zapret-manager/blob/main/ZapretManager_LuCI.sh) (LuCI panel), [`Zapret-Manager.sh`](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh) (Steer), [`files/Mixomo/mixomo_openwrt_install.sh`](https://github.com/stressozz/zapret-manager/blob/main/files/Mixomo/mixomo_openwrt_install.sh) (Mixomo), [`files/Zapret2/zapret2`](https://github.com/stressozz/zapret-manager/blob/main/files/Zapret2/zapret2) (Zapret2)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interfaces["Interfaces and status"]
  node_luci["LuCI panel"]
  node_webui["Web UI"]
  node_dashboard["Dashboard<br/>[Zapret-Manager.sh]"]
end

subgraph group_bypass["Local DPI bypass"]
  node_zapret["Zapret<br/>[Zapret-Manager.sh]"]
  node_zapret2["Zapret2"]
  node_byetube["ByeTube<br/>[Zapret-Manager.sh]"]
  node_autobypass["AutoBypass<br/>[videos.txt]"]
end

subgraph group_tunnels["Tunnel routing"]
  node_steer["Steer<br/>[Zapret-Manager.sh]"]
  node_forkozz["Forkozz<br/>[Zapret-Manager.sh]"]
  node_mixomo["Mixomo"]
  node_warp["Cloudflare WARP<br/>[gen_WARP.sh]"]
  node_amnezia["AmneziaWG<br/>[Zapret-Manager.sh]"]
end

subgraph group_network["Network services"]
  node_tgproxy["TG WS Proxy<br/>[Zapret-Manager.sh]"]
  node_doh["DNS over HTTPS<br/>[Zapret-Manager.sh]"]
  node_hosts["Hosts management<br/>[Zapret-Manager.sh]"]
  node_geohide["GeoHide lists"]
end

subgraph group_maintenance["Router maintenance"]
  node_system["System tools<br/>[Zapret-Manager.sh]"]
end

node_operator(("Router operator"))

node_operator -->|"opens"| node_luci
node_operator -->|"opens"| node_webui
node_luci -->|"shows status"| node_dashboard
node_webui -->|"shows status"| node_dashboard
node_luci -->|"manages"| node_zapret
node_luci -->|"manages"| node_zapret2
node_luci -->|"manages"| node_byetube
node_luci -->|"manages"| node_steer
node_luci -->|"manages"| node_forkozz
node_luci -->|"manages"| node_mixomo
node_luci -->|"manages"| node_tgproxy
node_luci -->|"manages"| node_doh
node_luci -->|"manages"| node_hosts
node_luci -->|"manages"| node_amnezia
node_luci -->|"manages"| node_system
node_webui -->|"manages"| node_zapret
node_webui -->|"manages"| node_zapret2
node_webui -->|"manages"| node_byetube
node_webui -->|"manages"| node_steer
node_webui -->|"manages"| node_forkozz
node_webui -->|"manages"| node_mixomo
node_webui -->|"manages"| node_tgproxy
node_webui -->|"manages"| node_doh
node_webui -->|"manages"| node_hosts
node_webui -->|"manages"| node_amnezia
node_webui -->|"manages"| node_system
node_steer -->|"can route via"| node_warp
node_mixomo -->|"can use"| node_warp

click node_luci "https://github.com/stressozz/zapret-manager/blob/main/ZapretManager_LuCI.sh"
click node_webui "https://github.com/stressozz/zapret-manager/blob/main/ZapretManager_LuCI.sh"
click node_dashboard "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_zapret "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_zapret2 "https://github.com/stressozz/zapret-manager/blob/main/files/Zapret2/zapret2"
click node_byetube "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_steer "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_forkozz "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_mixomo "https://github.com/stressozz/zapret-manager/blob/main/files/Mixomo/mixomo_openwrt_install.sh"
click node_warp "https://github.com/stressozz/zapret-manager/blob/main/files/Mixomo/gen_WARP.sh"
click node_tgproxy "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_doh "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_hosts "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_amnezia "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_system "https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh"
click node_autobypass "https://github.com/stressozz/zapret-manager/blob/main/files/AutoBypass/videos.txt"
click node_geohide "https://github.com/stressozz/zapret-manager/blob/main/files/GeoHide_hosts_EU"

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_luci,node_webui,node_dashboard toneBlue
class node_zapret,node_zapret2,node_byetube,node_autobypass toneAmber
class node_steer,node_forkozz,node_mixomo,node_warp,node_amnezia,node_operator toneMint
class node_tgproxy,node_doh,node_hosts,node_geohide toneRose
class node_system toneIndigo
```

## Components

### Interfaces and status

- [LuCI panel](https://github.com/stressozz/zapret-manager/blob/main/ZapretManager_LuCI.sh): `ZapretManager_LuCI.sh`
- [Web UI](https://github.com/stressozz/zapret-manager/blob/main/ZapretManager_LuCI.sh): `ZapretManager_LuCI.sh`
- [Dashboard](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`

### Local DPI bypass

- [Zapret](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`
- [Zapret2](https://github.com/stressozz/zapret-manager/blob/main/files/Zapret2/zapret2): `files/Zapret2/zapret2`
- [ByeTube](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`
- [AutoBypass](https://github.com/stressozz/zapret-manager/blob/main/files/AutoBypass/videos.txt): `files/AutoBypass/videos.txt`

### Tunnel routing

- [Steer](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`
- [Forkozz](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`
- [Mixomo](https://github.com/stressozz/zapret-manager/blob/main/files/Mixomo/mixomo_openwrt_install.sh): `files/Mixomo/mixomo_openwrt_install.sh`
- [Cloudflare WARP](https://github.com/stressozz/zapret-manager/blob/main/files/Mixomo/gen_WARP.sh): `files/Mixomo/gen_WARP.sh`
- [AmneziaWG](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`

### Network services

- [TG WS Proxy](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`
- [DNS over HTTPS](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`
- [Hosts management](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`
- [GeoHide lists](https://github.com/stressozz/zapret-manager/blob/main/files/GeoHide_hosts_EU): `files/GeoHide_hosts_EU`

### Router maintenance

- [System tools](https://github.com/stressozz/zapret-manager/blob/main/Zapret-Manager.sh): `Zapret-Manager.sh`

### Other components

- **Router operator**

## Connections

- Router operator → LuCI panel: opens (evidence: `readme.md`)
- Router operator → Web UI: opens (evidence: `readme.md`)
- LuCI panel → Dashboard: shows status (evidence: `readme.md`)
- Web UI → Dashboard: shows status (evidence: `readme.md`)
- LuCI panel → Zapret: manages (evidence: `readme.md`)
- LuCI panel → Zapret2: manages (evidence: `readme.md`)
- LuCI panel → ByeTube: manages (evidence: `readme.md`)
- LuCI panel → Steer: manages (evidence: `readme.md`)
- LuCI panel → Forkozz: manages (evidence: `readme.md`)
- LuCI panel → Mixomo: manages (evidence: `readme.md`)
- LuCI panel → TG WS Proxy: manages (evidence: `readme.md`)
- LuCI panel → DNS over HTTPS: manages (evidence: `readme.md`)
- LuCI panel → Hosts management: manages (evidence: `readme.md`)
- LuCI panel → AmneziaWG: manages (evidence: `readme.md`)
- LuCI panel → System tools: manages (evidence: `readme.md`)
- Web UI → Zapret: manages (evidence: `readme.md`)
- Web UI → Zapret2: manages (evidence: `readme.md`)
- Web UI → ByeTube: manages (evidence: `readme.md`)
- Web UI → Steer: manages (evidence: `readme.md`)
- Web UI → Forkozz: manages (evidence: `readme.md`)
- Web UI → Mixomo: manages (evidence: `readme.md`)
- Web UI → TG WS Proxy: manages (evidence: `readme.md`)
- Web UI → DNS over HTTPS: manages (evidence: `readme.md`)
- Web UI → Hosts management: manages (evidence: `readme.md`)
- Web UI → AmneziaWG: manages (evidence: `readme.md`)
- Web UI → System tools: manages (evidence: `readme.md`)
- Steer → Cloudflare WARP: can route via (evidence: `readme.md`)
- Mixomo → Cloudflare WARP: can use (evidence: `readme.md`)
