Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.6 KB

File metadata and controls

56 lines (39 loc) · 1.6 KB

قالب اشتراک PasarGuard

قالب صفحه اشتراک واکنش‌گرا برای PasarGuard.

English UI Persian UI

امکانات

  • زبان‌ها: en، fa، zh، ru
  • امکان تغییر زبان توسط کاربر
  • طراحی واکنش‌گرا
  • حالت تاریک
  • QR برای لینک‌های اتصال
  • کپی با یک کلیک

نصب سریع (پیشنهادی)

اجرای اسکریپت نصب (با انتخاب زبان پیش‌فرض):

curl -fsSL https://raw.githubusercontent.com/PasarGuard/subscription-template/main/install.sh | sudo bash -s -- --lang fa

مقادیر معتبر --lang: en، fa، zh، ru

نصب دستی

  1. دانلود قالب:
sudo mkdir -p /var/lib/pasarguard/templates/subscription
sudo wget -O /var/lib/pasarguard/templates/subscription/index.html \
https://github.com/PasarGuard/subscription-template/releases/latest/download/index.html
  1. تنظیم PasarGuard در فایل /opt/pasarguard/.env:
CUSTOM_TEMPLATES_DIRECTORY="/var/lib/pasarguard/templates/"
SUBSCRIPTION_PAGE_TEMPLATE="subscription/index.html"
  1. راه‌اندازی مجدد:
pasarguard restart

زبان‌های دیگر