Skip to content

This is a custom subscription template designed for the XUI Panel, providing a clear view of service details, including usage, expiration date, and more.

Notifications You must be signed in to change notification settings

mhfgbngbfsdcbbf/XUI-Subscription-Template

 
 

Repository files navigation

⚡️ Welcome to XUI Panel Subscription Template ⚡️

** This is a custom subscription template designed for the XUI Panel, providing a clear view of service details, including usage, expiration date, and more.

We don't need financial support, only Star (⭐) is enough, thank you.

Install & Upgrade

bash <(curl -Ls https://raw.githubusercontent.com/dev-ir/xui-subscription-template/refs/heads/master/main.sh )

Configuration File

nano /opt/DVHOST/dvhost.config

You must restart the service after changing the configuration file.

systemctl restart DVHOST_TEMPLATE
systemctl status DVHOST_TEMPLATE

You should not have ports 2082 and 2083 involved.

Template File

nano /opt/DVHOST/views/sub.ejs

If you want to create your own template, go this route.

🪚 Preview

Image

Languages

  • English

Dynamic Variables

The template uses the following dynamic variables to display user-specific information:

Variable Description
<%= data.id %> User or subscription ID.
<%= data.email %> User's email address.
<%= data.suburl %> Subscription URL.
<%= data.enable %> Subscription status (true/false).
<%= data.up %> Uploaded data (bytes).
<%= data.down %> Downloaded data (bytes).
<%= data.total %> Total allowed data (bytes).
<%= data.expiryTime %> Expiration time (timestamp).
<%= data.inboundId %> Inbound connection ID.

Enjoy seamless and user-friendly subscription management with this template!

🙏 Support with Crypto

  • USDT (TRC20): TVUqVMoCEe5DVUoxmPg8MwmgcHvZLqLjr4

📧 Join Telegram Channel

TG : https://t.me/+EpErnDsDPhw3ZThk

Stargazers over time

Stargazers over time

About

This is a custom subscription template designed for the XUI Panel, providing a clear view of service details, including usage, expiration date, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 38.8%
  • Shell 36.5%
  • EJS 24.7%