A modern, lightweight, and powerful subscription page template for Marzban written in HTML and CSS.
A simple yet effective subscription template (written in plain HTML
and CSS
) to enhance the user experience of Marzban's subscription page.
- Quickly add subscriptions to v2rayNG, Streisand.
- Direct download links for required applications.
- Clean and minimal design optimized for performance.
- Supports
English
,Farsi/Persian
andRussian
languages.
-
Download the template file
English:sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/samimifar/marzban-template/master/src/en/index.html
Russian:
sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/samimifar/marzban-template/master/src/en/index.html
Persian/فارسی:
sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/samimifar/marzban-template/master/src/fa/index.html
-
Configure Marzban to use the custom template by running
echo 'CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzban/templates/"' | sudo tee -a /opt/marzban/.env echo 'SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"' | sudo tee -a /opt/marzban/.env
Alternatively, manually add the following lines to your
.env
file located at/opt/marzban
:CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzban/templates/" SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
-
Restart Marzban
marzban restart
to add your support link as button edit the file and add your support link in line 5
const SupportID = "PUT YOUR LINK HERE"; // Fill with your support link or keep it blank to hide Support section
To update the template, simply repeat Step 1 of the installation process.
All intellectual and material rights of this project belong to:
If you like this project and want to support its development, you can donate using crypto:
- TON:
UQAtCP3gnHhb5QRy-3fnAqwXBg_AV4vT1jH5MtaCYNTOv7v4
- TRX:
TDKJrRtZirFf95RZ9VUo5ERkmz3x8MXbUN
- USDT (BEP20):
0x49bA8498e5d619f1bA208fB57B8b860C98700652