Simple, beautiful, and user-friendly HTML template for Marzban subscription page
Live demo »
Features
·
mini Version
·
Install
·
Personalization
- Clean and intuitive design with minimal code
- System, light, and dark theme modes
- Multi-language support: English, Russian, Chinese, Persian
- Step-by-step guides for PC, Android, and iOS
- Automatic detection of user preferences: theme, language, and device
Pure minimalism. Just the header and step-by-step guide.
Live demo »
Preview
Choose the version and run the corresponding command.
Main version:
sudo wget -O /var/lib/marzban/templates/subscription/index.html https://raw.githubusercontent.com/dermv/marzbanify-template/main/index.html
Mini version:
sudo wget -O /var/lib/marzban/templates/subscription/index.html https://raw.githubusercontent.com/dermv/marzbanify-template/main/mini/index.html
Automatically
Run these commands to set the path:
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
Manually
Edit the Marzban .env file and add the following lines:
CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzban/templates/"
SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
Apply the changes by restarting Marzban:
marzban restart
To personalize, edit the index.html file.
Find and replace these default values with your own.
| Name | Value |
|---|---|
| Description | Simple, beautiful, and user-friendly HTML template for Marzban subscription page. |
| Title | Marzbanify Template |
| Favicons | apple-touch-icon.png, favicon-16x16.png, favicon-32x32.png |
| Logo | logo.png |
| Support link | https://t.me/ |
These variables allow further personalization.
| Variable | Description |
|---|---|
DEFAULT_THEME |
Default website theme (system, light, dark) |
SUB_URL_SCHEMES |
URL schemes for quick subscription import |
DEFAULT_LOCALE |
Default locale for content display (en, ru, zh, fa) |
MESSAGES |
Translation data for multi-language support |