Skip to content

a Modern, Lightweight and Powerful subscription page template for Marzban written in HTML and CSS

Notifications You must be signed in to change notification settings

samimifar/marzban-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

marzban-template

A modern, lightweight, and powerful subscription page template for Marzban written in HTML and CSS.

SubPage screenshots

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, Farsi/Persian and Russian languages.

Installation

  1. 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
  2. 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"
  3. Restart Marzban

    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

  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 Telegram


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

About

a Modern, Lightweight and Powerful subscription page template for Marzban written in HTML and CSS

Topics

Resources

Stars

Watchers

Forks

Languages