TX-ThemeHub
October 2, 2025 ยท View on GitHub
TX-UI Panel Subscription Page Templates Designed By TX Community.
Quick Install
you can install pre-designed user themes as your sub custom ui using below command in terminal:
bash <(curl -Ls https://raw.githubusercontent.com/AghayeCoder/tx-themehub/master/install.sh)
Usable Variables
| Variable | Description |
|---|---|
result | Returns the URI for Vmess/Vless. |
emails | Returns array of client emails in sub. |
total | Returns the formatted total traffic. |
expire | End date as a timestamp. |
upload | Returns the formatted uploaded traffic. |
download | Returns the formatted downloaded traffic. |
totalByte | Returns the total traffic in bytes. |
uploadByte | Returns the total uploaded traffic in bytes. |
downloadByte | Returns the total downloaded traffic in bytes. |
sId | Returns the subscription user ID. |
subUrl | Gets the full subscription URL. |
jsonUrl | Gets the current subscription json URL |
example
<div>sub url is : {{ .subUrl }}</div>
Steps to Implement
- Design an HTML page and name it sub.html.
- Move the file to the following directory:
/etc/x-ui/html/ - Go to the panel settings, navigate to the Subscription section, and enable the Custom Template option.
- Save the changes and restart the service.
If everything is done correctly, your custom template should now be displayed instead of the default subscription page.
ScreenShots
AIO UI

Black Eyes

Fly Theme

TX v2

Vislo

BestBlack
