Skip to content
Namiz4nPublic

About

A Template for Marzban and Marzneshin

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Various templates for the Marzban panel

English / فارسی

Introduction

A list of customized templates for Marzban

List of Templates

Installation Steps

To install each template, refer to its respective page

Install All

To install all available templates, execute the following commands in your server's terminal:

  1. Download the template files
sudo wget -N -P /var/lib/marzban/templates/home/ https://raw.githubusercontent.com/Namiz4n/Template/master/home/index.html
sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/Namiz4n/Template/master/subscription/index.html
sudo wget -N -P /var/lib/marzban/templates/xray/ https://raw.githubusercontent.com/Namiz4n/Template/master/v2ray/template.yml
sudo wget -N -P /var/lib/marzban/templates/singbox/ https://raw.githubusercontent.com/Namiz4n/Template/master/singbox/template.yml
sudo wget -N -P /var/lib/marzban/templates/clash/ https://raw.githubusercontent.com/Namiz4n/Template/master/clash/template.yml

2.Run the following commands in your server's terminal:

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
echo 'SINGBOX_SUBSCRIPTION_TEMPLATE="singbox/template.yml"' | sudo tee -a /opt/marzban/.env
echo 'V2RAY_SUBSCRIPTION_TEMPLATE="v2ray/template.yml"' | sudo tee -a /opt/marzban/.env
echo 'CLASH_SUBSCRIPTION_TEMPLATE="clash/template.yml"' | sudo tee -a /opt/marzban/.env

Or add the following values to the .env file in the /opt/marzban directory

CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzban/templates/"
SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
SINGBOX_SUBSCRIPTION_TEMPLATE="singbox/template.yml"
V2RAY_SUBSCRIPTION_TEMPLATE="v2ray/template.yml"
CLASH_SUBSCRIPTION_TEMPLATE="clash/template.yml"

3.Restart Marzban

marzban restart

update

To update the templates, simply repeat step 1.

Support Me

Crypto donation button by NOWPayments

About

A Template for Marzban and Marzneshin

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages