This template use in marz-reverse-proxy install script
A simple html template to better display user information
- Quickly add subscription links to programs
- The link to download the required applications
- Three languages (Russian, English, Persian)
- Sub fantasy page with beautiful color and glaze
- Receive the configs with the copy icon at the bottom of the page
- marz-sub.sh include this web templates:
- fork marz-sub
- marzbanify-template fork by legiz
- marzban-sub-page by streletskiy
- your link template
- sing-box client config based on:
- secret-sing-box (relevant for Russia)
- Skrepysh
- your link template
- mihomo (Clash Meta) client config based on:
- example config with proxify only ru-bundle rule-set (relevant for Russia)(if you need use another rule-sets you can uncommented or add new rules in /clash/default.yml)
- Skrepysh
- your link template
- xray config:
- by legiz
- your link template
- Run script
bash <(curl -Ls https://github.com/cortez24rus/marz-sub/raw/main/marz-sub.sh)
- Restart Marzban
marzban restart
To update the template, just repeat step 1.
To change the default language, just refer to the end of the code in the html file and select the desired language in the select tag. Example:
<select id="countries" class="border text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 bg-gray-700 border-gray-600 placeholder-gray-400 text-white :focus:ring-blue-500 :focus:border blue-500">
<option value="ru">Русский</option>
<option value="en">English</option>
<option value="fa">فارسی</option>
</select>
In this example, the main language is Russian.
To personalize background image and user logo, changes must be included in the html file, which is possible by searching for some values. To search using nano, first open the file with nano with the following command:
nano /var/lib/marzban/templates/subscription/index.html
Search for the user's logo:
images/marzban.svg
Search for the background image:
background: url('https://4kwallpapers.com
After making changes, save the file and restart Marzban.
To use the host version, upload the sub folder to the host and change the value of BASE_URL to your panel address in the index.php file just like the following example. Remember to write http if you don't have an SSL for your panel domain.
const BASE_URL = "https://BaseUrl:PORT";
This template is based on Marzban Templates design.