Skip to content

TX-UI Panel Subscription Page Templates Designed By TX Community.

Notifications You must be signed in to change notification settings

monhacer/TX-ThemeHub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

TX-ThemeHub

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.
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.

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.

About

TX-UI Panel Subscription Page Templates Designed By TX Community.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 94.4%
  • Shell 5.6%