Skip to content

WhyMan1/marzban-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sing-box Templates for the Marzban Panel

English / فارسی

Introduction

A list of customized templates for Marzban.

Template List

Installation Steps

To install each template, visit its respective page.

Install All

To install all available templates, run the following commands in your server terminal:

  1. Download template files:
sudo wget -N -P /var/lib/marzban/templates/singbox/ https://raw.githubusercontent.com/WhyMan1/marzban-template/master/singbox/default.json
sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/WhyMan1/marzban-template/master/subscription/index.html
sudo wget -N -P /var/lib/marzban/templates/home/ https://raw.githubusercontent.com/WhyMan1/marzban-template/master/home/index.html
  1. Run the following commands in your server 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/default.json"' | sudo tee -a /opt/marzban/.env

Alternatively, add the following values to the .env file located in the /opt/marzban directory:

CUSTOM_TEMPLATES_DIRECTORY="/var/lib/marzban/templates/"
SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
SINGBOX_SUBSCRIPTION_TEMPLATE="singbox/default.json"
  1. Restart Marzban:
marzban restart

Updating

To update the templates, simply repeat step 1.

Contributors

Thanks to the all contributors who have helped improve Sing-box template:

Made with contrib.rocks

Support

Crypto donation button by NOWPayments

About

Sing-box templates for marzban

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%