{"id":26313370,"url":"https://github.com/samimifar/marzban-template","last_synced_at":"2025-03-15T11:15:14.144Z","repository":{"id":282368312,"uuid":"948354926","full_name":"samimifar/marzban-template","owner":"samimifar","description":"a Modern, Lightweight and Powerful template for Marzban written in HTML and CSS ","archived":false,"fork":false,"pushed_at":"2025-03-14T08:09:47.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T08:33:11.423Z","etag":null,"topics":["marzban","marzban-template","shadowsocks","trojan","v2ray","vless","vmess","vpn","xray-core"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samimifar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-14T07:27:52.000Z","updated_at":"2025-03-14T08:09:50.000Z","dependencies_parsed_at":"2025-03-14T08:43:40.186Z","dependency_job_id":null,"html_url":"https://github.com/samimifar/marzban-template","commit_stats":null,"previous_names":["samimifar/marzban-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samimifar%2Fmarzban-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samimifar%2Fmarzban-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samimifar%2Fmarzban-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samimifar%2Fmarzban-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samimifar","download_url":"https://codeload.github.com/samimifar/marzban-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719399,"owners_count":20336607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["marzban","marzban-template","shadowsocks","trojan","v2ray","vless","vmess","vpn","xray-core"],"created_at":"2025-03-15T11:15:13.441Z","updated_at":"2025-03-15T11:15:14.066Z","avatar_url":"https://github.com/samimifar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marzban-template\n\nA modern, lightweight, and powerful subscription page template for [Marzban](https://github.com/Gozargah/Marzban) written in HTML and CSS.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/samimifar/marzban-templates\" target=\"_blank\" rel=\"noopener noreferrer\" \u003e\n    \u003cimg src=\"https://github.com/samimifar/marzban-template/blob/main/img/preview.png\" alt=\"SubPage screenshots\" width=\"800\" height=\"auto\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Introduction\n\nA simple yet effective subscription template (written in plain `HTML` and `CSS`) to enhance the user experience of Marzban's subscription page.\n\n## Features\n\n- Quickly add subscriptions to **v2rayNG, Streisand**.\n- Direct download links for required applications.\n- Clean and minimal design optimized for performance.\n- Supports `English` and `Farsi/Persian` languages.\n\n## Installation\n\n1. Download the template file\n   \u003cbr\u003e\u003cbr\u003e\n   **English:**\n   ```sh\n   sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/samimifar/marzban-template/master/src/en/index.html\n   ```\n   \n   **فارسی:**\n   ```sh\n   sudo wget -N -P /var/lib/marzban/templates/subscription/ https://raw.githubusercontent.com/samimifar/marzban-template/master/src/fa/index.html\n   ```\n   \n3. Configure Marzban to use the custom template by running\n   ```sh\n   echo 'CUSTOM_TEMPLATES_DIRECTORY=\"/var/lib/marzban/templates/\"' | sudo tee -a /opt/marzban/.env\n   echo 'SUBSCRIPTION_PAGE_TEMPLATE=\"subscription/index.html\"' | sudo tee -a /opt/marzban/.env\n   ```\n   Alternatively, manually add the following lines to your `.env` file located at `/opt/marzban`:\n   ```sh\n   CUSTOM_TEMPLATES_DIRECTORY=\"/var/lib/marzban/templates/\"\n   SUBSCRIPTION_PAGE_TEMPLATE=\"subscription/index.html\"\n   ```\n4. Restart Marzban\n   ```sh\n   marzban restart\n   ```\n\n## Add support Link and Button\n\nto add your support link as button edit the file and add your support link in line `5`\n ```js\n   const SupportID = \"PUT YOUR LINK HERE\"; // Fill with your support link or keep it blank to hide Support section \n   ```\n\n## Update\n\nTo update the template, simply repeat **Step 1** of the installation process.\n\n## License\n\n**All intellectual and material rights of this project belong to:**  \n\nSamimifar [![Telegram](https://img.shields.io/badge/Telegram-26A5E4?logo=telegram\u0026logoColor=white)](https://t.me/samimifar)\n\n---\n\n## Support Me\n\nIf you like this project and want to support its development, you can donate using crypto:\n\n- **TON:** `UQAtCP3gnHhb5QRy-3fnAqwXBg_AV4vT1jH5MtaCYNTOv7v4`\n- **TRX:** `TDKJrRtZirFf95RZ9VUo5ERkmz3x8MXbUN`\n- **USDT (BEP20):** `0x49bA8498e5d619f1bA208fB57B8b860C98700652`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamimifar%2Fmarzban-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamimifar%2Fmarzban-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamimifar%2Fmarzban-template/lists"}