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

VariableDescription
resultReturns the URI for Vmess/Vless.
emailsReturns array of client emails in sub.
totalReturns the formatted total traffic.
expireEnd date as a timestamp.
uploadReturns the formatted uploaded traffic.
downloadReturns the formatted downloaded traffic.
totalByteReturns the total traffic in bytes.
uploadByteReturns the total uploaded traffic in bytes.
downloadByteReturns the total downloaded traffic in bytes.
sIdReturns the subscription user ID.
subUrlGets the full subscription URL.
jsonUrlGets the current subscription json URL

example

<div>sub url is : {{ .subUrl }}</div>

Steps to Implement

  1. Design an HTML page and name it sub.html.
  2. Move the file to the following directory:
    /etc/x-ui/html/
    
  3. Go to the panel settings, navigate to the Subscription section, and enable the Custom Template option.
  4. 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

Screenshot

Black Eyes

Screenshot

Fly Theme

Screenshot

TX v2

Screenshot

Vislo

Screenshot

BestBlack

Screenshot