# incognito-coder/tx-themehub architecture

> Architecture diagram of the GitHub repository incognito-coder/tx-themehub, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/incognito-coder/tx-themehub
- Repository: https://github.com/incognito-coder/tx-themehub

## Overview

TX-ThemeHub is a collection of HTML templates for the TX-UI subscription page. The documented workflow is to install or place a template in the panel’s HTML directory, enable Custom Template in Subscription settings, and restart the service so the custom page is displayed. The README documents subscription variables available to templates. Source excerpts were unavailable, so template-specific behavior and install-script internals are not inferred.

Main entry points: [`install.sh`](https://github.com/incognito-coder/tx-themehub/blob/main/install.sh) (Quick installer), [`themes/AiosubV1.html`](https://github.com/incognito-coder/tx-themehub/blob/main/themes/AiosubV1.html) (AiosubV1 theme), [`themes/aioui.html`](https://github.com/incognito-coder/tx-themehub/blob/main/themes/aioui.html) (AIO UI theme), [`themes/aurora.html`](https://github.com/incognito-coder/tx-themehub/blob/main/themes/aurora.html) (Aurora theme)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Panel user"))
node_txui["TX-UI panel"]
node_installer["Quick installer<br/>[install.sh]"]
node_aiosubv1["AiosubV1 theme<br/>[AiosubV1.html]"]
node_aioui["AIO UI theme<br/>[aioui.html]"]
node_aurora["Aurora theme<br/>[aurora.html]"]
node_bestblack["BestBlack theme<br/>[bestblack.html]"]
node_blackeyes["Black Eyes theme<br/>[blackeyes.html]"]
node_fly["Fly theme<br/>[fly.html]"]
node_liquildglassy["LiquildGlassy theme<br/>[liquildGlassy.html]"]
node_txv2["TX v2 theme<br/>[txv2.html]"]
node_vislo["Vislo theme<br/>[vislo.html]"]

node_user -->|"runs installer"| node_installer
node_user -->|"enables template"| node_txui
node_txui -->|"displays custom template"| node_aiosubv1
node_txui -->|"displays custom template"| node_aioui
node_txui -->|"displays custom template"| node_aurora
node_txui -->|"displays custom template"| node_bestblack
node_txui -->|"displays custom template"| node_blackeyes
node_txui -->|"displays custom template"| node_fly
node_txui -->|"displays custom template"| node_liquildglassy
node_txui -->|"displays custom template"| node_txv2
node_txui -->|"displays custom template"| node_vislo

click node_installer "https://github.com/incognito-coder/tx-themehub/blob/main/install.sh"
click node_aiosubv1 "https://github.com/incognito-coder/tx-themehub/blob/main/themes/AiosubV1.html"
click node_aioui "https://github.com/incognito-coder/tx-themehub/blob/main/themes/aioui.html"
click node_aurora "https://github.com/incognito-coder/tx-themehub/blob/main/themes/aurora.html"
click node_bestblack "https://github.com/incognito-coder/tx-themehub/blob/main/themes/bestblack.html"
click node_blackeyes "https://github.com/incognito-coder/tx-themehub/blob/main/themes/blackeyes.html"
click node_fly "https://github.com/incognito-coder/tx-themehub/blob/main/themes/fly.html"
click node_liquildglassy "https://github.com/incognito-coder/tx-themehub/blob/main/themes/liquildGlassy.html"
click node_txv2 "https://github.com/incognito-coder/tx-themehub/blob/main/themes/txv2.html"
click node_vislo "https://github.com/incognito-coder/tx-themehub/blob/main/themes/vislo.html"

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_user,node_txui,node_aioui toneBlue
class node_installer,node_aiosubv1,node_aurora,node_bestblack,node_blackeyes,node_fly,node_liquildglassy,node_txv2,node_vislo toneTeal
```

## Components

### Other components

- **Panel user**
- **TX-UI panel**
- [Quick installer](https://github.com/incognito-coder/tx-themehub/blob/main/install.sh): `install.sh`
- [AiosubV1 theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/AiosubV1.html): `themes/AiosubV1.html`
- [AIO UI theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/aioui.html): `themes/aioui.html`
- [Aurora theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/aurora.html): `themes/aurora.html`
- [BestBlack theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/bestblack.html): `themes/bestblack.html`
- [Black Eyes theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/blackeyes.html): `themes/blackeyes.html`
- [Fly theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/fly.html): `themes/fly.html`
- [LiquildGlassy theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/liquildGlassy.html): `themes/liquildGlassy.html`
- [TX v2 theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/txv2.html): `themes/txv2.html`
- [Vislo theme](https://github.com/incognito-coder/tx-themehub/blob/main/themes/vislo.html): `themes/vislo.html`

## Connections

- Panel user → Quick installer: runs installer (evidence: `README.md`)
- Panel user → TX-UI panel: enables template (evidence: `README.md`)
- TX-UI panel → AiosubV1 theme: displays custom template (evidence: `README.md`)
- TX-UI panel → AIO UI theme: displays custom template (evidence: `README.md`)
- TX-UI panel → Aurora theme: displays custom template (evidence: `README.md`)
- TX-UI panel → BestBlack theme: displays custom template (evidence: `README.md`)
- TX-UI panel → Black Eyes theme: displays custom template (evidence: `README.md`)
- TX-UI panel → Fly theme: displays custom template (evidence: `README.md`)
- TX-UI panel → LiquildGlassy theme: displays custom template (evidence: `README.md`)
- TX-UI panel → TX v2 theme: displays custom template (evidence: `README.md`)
- TX-UI panel → Vislo theme: displays custom template (evidence: `README.md`)
