# kenzok8/openwrt-packages architecture

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

## Overview

This repository is a collection of OpenWrt LuCI applications and themes, rather than one integrated service. Users interact with individual router-management interfaces; the clearest sampled workflow is iStoreX’s disk and network setup UI calling router APIs. The README also documents packages for DNS filtering, proxying, DDNS, device management, and themes. The graph preserves those documented product areas, but source wiring for most unsampled packages is unknown; dashed links indicate those unverified relationships.

Main entry points: [`luci-app-istorex/htdocs/luci-static/istorex/index.js`](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/index.js) (iStoreX app), [`luci-app-istorex/htdocs/luci-static/istorex/chunk.167c223d.js`](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.167c223d.js) (Disk overview), [`luci-app-istorex/htdocs/luci-static/istorex/chunk.18e0c91d.js`](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.18e0c91d.js) (Disk navigation), [`luci-app-istorex/htdocs/luci-static/istorex/chunk.2147605f.js`](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.2147605f.js) (Sandbox setup)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_store["iStoreX interface"]
  node_istorex["iStoreX app<br/>[index.js]"]
  node_istorex_chunks["iStoreX views"]
  node_disk_view["Disk overview<br/>[chunk.167c223d.js]"]
  node_disk_menu["Disk navigation<br/>[chunk.18e0c91d.js]"]
  node_sandbox_config["Sandbox setup<br/>[chunk.2147605f.js]"]
  node_gateway_config["Gateway setup<br/>[chunk.25dae49f.js]"]
  node_lan_config["LAN configuration<br/>[chunk.6f7d3090.js]"]
  node_softsource_config["Software sources<br/>[chunk.4d4bc89c.js]"]
end

subgraph group_admin["Router administration"]
  node_amlogic["Amlogic management"]
  node_advanced["Advanced settings<br/>[fb.js]"]
  node_netwizard["Network wizard<br/>[netwizard.js]"]
end

subgraph group_services["Network services"]
  node_adguard["AdGuard Home UI<br/>[index.js]"]
  node_gost["HTTPS proxy<br/>[gost.js]"]
  node_lucky["DDNS and proxy<br/>[lucky.js]"]
  node_ddnsgo["DDNS-Go settings<br/>[config.js]"]
end

subgraph group_themes["LuCI themes"]
  node_themes["Theme collection<br/>[menu-glass.js]"]
end

node_operator(("Router administrator"))
node_router_api{{"Router APIs"}}

node_operator -->|"manages router"| node_istorex
node_istorex -->|"loads views"| node_istorex_chunks
node_disk_menu -->|"routes to"| node_disk_view
node_disk_view -.->|"reads disk state"| node_router_api
node_sandbox_config -->|"reads and configures"| node_router_api
node_gateway_config -->|"configures gateway"| node_router_api
node_lan_config -->|"reads and configures"| node_router_api
node_softsource_config -->|"reads and switches"| node_router_api
node_operator -.->|"configures filtering"| node_adguard
node_operator -.->|"manages device"| node_amlogic
node_operator -.->|"adjusts settings"| node_advanced
node_operator -.->|"configures network"| node_netwizard
node_operator -.->|"manages proxy"| node_gost
node_operator -.->|"configures DDNS"| node_lucky
node_operator -.->|"configures DDNS"| node_ddnsgo
node_operator -.->|"selects interface"| node_themes

click node_istorex "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/index.js"
click node_istorex_chunks "https://github.com/kenzok8/openwrt-packages/tree/master/luci-app-istorex/htdocs/luci-static/istorex"
click node_disk_view "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.167c223d.js"
click node_disk_menu "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.18e0c91d.js"
click node_sandbox_config "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.2147605f.js"
click node_gateway_config "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.25dae49f.js"
click node_lan_config "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.6f7d3090.js"
click node_softsource_config "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.4d4bc89c.js"
click node_adguard "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-adguardhome/htdocs/luci-static/resources/view/luci-app-adguardhome/index.js"
click node_amlogic "https://github.com/kenzok8/openwrt-packages/tree/master/luci-app-amlogic/htdocs/luci-static/resources/view/amlogic"
click node_advanced "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-advanced/htdocs/luci-static/resources/fileassistant/fb.js"
click node_netwizard "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-netwizard/htdocs/luci-static/resources/view/netwizard/netwizard.js"
click node_gost "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-gost/htdocs/luci-static/resources/view/gost.js"
click node_lucky "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-lucky/luci-app-lucky/htdocs/luci-static/resources/view/lucky/lucky.js"
click node_ddnsgo "https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-ddns-go/htdocs/luci-static/resources/view/ddns-go/config.js"
click node_themes "https://github.com/kenzok8/openwrt-packages/blob/master/luci-theme-glass/htdocs/luci-static/resources/menu-glass.js"

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_istorex,node_istorex_chunks,node_disk_view,node_disk_menu,node_sandbox_config,node_gateway_config,node_lan_config,node_softsource_config toneBlue
class node_amlogic,node_advanced,node_netwizard toneAmber
class node_adguard,node_gost,node_lucky,node_ddnsgo,node_operator,node_router_api toneMint
class node_themes toneRose
```

## Components

### iStoreX interface

- [iStoreX app](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/index.js): `luci-app-istorex/htdocs/luci-static/istorex/index.js`
- [iStoreX views](https://github.com/kenzok8/openwrt-packages/tree/master/luci-app-istorex/htdocs/luci-static/istorex): `luci-app-istorex/htdocs/luci-static/istorex`
- [Disk overview](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.167c223d.js): `luci-app-istorex/htdocs/luci-static/istorex/chunk.167c223d.js`
- [Disk navigation](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.18e0c91d.js): `luci-app-istorex/htdocs/luci-static/istorex/chunk.18e0c91d.js`
- [Sandbox setup](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.2147605f.js): `luci-app-istorex/htdocs/luci-static/istorex/chunk.2147605f.js`
- [Gateway setup](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.25dae49f.js): `luci-app-istorex/htdocs/luci-static/istorex/chunk.25dae49f.js`
- [LAN configuration](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.6f7d3090.js): `luci-app-istorex/htdocs/luci-static/istorex/chunk.6f7d3090.js`
- [Software sources](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-istorex/htdocs/luci-static/istorex/chunk.4d4bc89c.js): `luci-app-istorex/htdocs/luci-static/istorex/chunk.4d4bc89c.js`

### Router administration

- [Amlogic management](https://github.com/kenzok8/openwrt-packages/tree/master/luci-app-amlogic/htdocs/luci-static/resources/view/amlogic): `luci-app-amlogic/htdocs/luci-static/resources/view/amlogic`
- [Advanced settings](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-advanced/htdocs/luci-static/resources/fileassistant/fb.js): `luci-app-advanced/htdocs/luci-static/resources/fileassistant/fb.js`
- [Network wizard](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-netwizard/htdocs/luci-static/resources/view/netwizard/netwizard.js): `luci-app-netwizard/htdocs/luci-static/resources/view/netwizard/netwizard.js`

### Network services

- [AdGuard Home UI](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-adguardhome/htdocs/luci-static/resources/view/luci-app-adguardhome/index.js): `luci-app-adguardhome/htdocs/luci-static/resources/view/luci-app-adguardhome/index.js`
- [HTTPS proxy](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-gost/htdocs/luci-static/resources/view/gost.js): `luci-app-gost/htdocs/luci-static/resources/view/gost.js`
- [DDNS and proxy](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-lucky/luci-app-lucky/htdocs/luci-static/resources/view/lucky/lucky.js): `luci-app-lucky/luci-app-lucky/htdocs/luci-static/resources/view/lucky/lucky.js`
- [DDNS-Go settings](https://github.com/kenzok8/openwrt-packages/blob/master/luci-app-ddns-go/htdocs/luci-static/resources/view/ddns-go/config.js): `luci-app-ddns-go/htdocs/luci-static/resources/view/ddns-go/config.js`

### LuCI themes

- [Theme collection](https://github.com/kenzok8/openwrt-packages/blob/master/luci-theme-glass/htdocs/luci-static/resources/menu-glass.js): `luci-theme-glass/htdocs/luci-static/resources/menu-glass.js`

### Other components

- **Router administrator**
- **Router APIs**

## Connections

- Router administrator → iStoreX app: manages router
- iStoreX app → iStoreX views: loads views (evidence: `luci-app-istorex/htdocs/luci-static/istorex/index.js`)
- Disk navigation → Disk overview: routes to (evidence: `luci-app-istorex/htdocs/luci-static/istorex/chunk.18e0c91d.js`)
- Disk overview → Router APIs: reads disk state
- Sandbox setup → Router APIs: reads and configures (evidence: `luci-app-istorex/htdocs/luci-static/istorex/chunk.2147605f.js`)
- Gateway setup → Router APIs: configures gateway (evidence: `luci-app-istorex/htdocs/luci-static/istorex/chunk.25dae49f.js`)
- LAN configuration → Router APIs: reads and configures (evidence: `luci-app-istorex/htdocs/luci-static/istorex/chunk.6f7d3090.js`)
- Software sources → Router APIs: reads and switches (evidence: `luci-app-istorex/htdocs/luci-static/istorex/chunk.4d4bc89c.js`)
- Router administrator → AdGuard Home UI: configures filtering
- Router administrator → Amlogic management: manages device
- Router administrator → Advanced settings: adjusts settings
- Router administrator → Network wizard: configures network
- Router administrator → HTTPS proxy: manages proxy
- Router administrator → DDNS and proxy: configures DDNS
- Router administrator → DDNS-Go settings: configures DDNS
- Router administrator → Theme collection: selects interface
