https://github.com/samimifar/marzban-template
a Modern, Lightweight and Powerful template for Marzban written in HTML and CSS
https://github.com/samimifar/marzban-template
marzban marzban-template shadowsocks trojan v2ray vless vmess vpn xray-core
Last synced: over 1 year ago
JSON representation
a Modern, Lightweight and Powerful template for Marzban written in HTML and CSS
- Host: GitHub
- URL: https://github.com/samimifar/marzban-template
- Owner: samimifar
- Created: 2025-03-14T07:27:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-14T08:09:47.000Z (over 1 year ago)
- Last Synced: 2025-03-14T08:33:11.423Z (over 1 year ago)
- Topics: marzban, marzban-template, shadowsocks, trojan, v2ray, vless, vmess, vpn, xray-core
- Language: HTML
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# marzban-template
A modern, lightweight, and powerful subscription page template for [Marzban](https://github.com/Gozargah/Marzban) written in HTML and CSS.
## Introduction
A simple yet effective subscription template (written in plain `HTML` and `CSS`) to enhance the user experience of Marzban's subscription page.
## Features
- Quickly add subscriptions to **v2rayNG, Streisand**.
- Direct download links for required applications.
- Clean and minimal design optimized for performance.
- Supports `English` and `Farsi/Persian` languages.
## Installation
1. Download the template file
**English:**
```sh
sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/samimifar/marzban-template/master/src/en/index.html
```
**فارسی:**
```sh
sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/samimifar/marzban-template/master/src/fa/index.html
```
3. Configure Marzban to use the custom template by running
```sh
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`:
```sh
CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzban/templates/"
SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
```
4. Restart Marzban
```sh
marzban restart
```
## Add support Link and Button
to add your support link as button edit the file and add your support link in line `5`
```js
const SupportID = "PUT YOUR LINK HERE"; // Fill with your support link or keep it blank to hide Support section
```
## Update
To update the template, simply repeat **Step 1** of the installation process.
## License
**All intellectual and material rights of this project belong to:**
Samimifar [](https://t.me/samimifar)
---
## Support Me
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`