Releases: x4gKing/X4G
Release list
9.5
What's New / تغییرات جدید
🇬🇧 English
New Features
🌐 Added XHTTP transport support (packet-up and stream-up modes) alongside the existing VLESS-over-WebSocket
🚦 Added per-config speed limiting (bandwidth throttling, Mbps-based, Token Bucket implementation)
🗂 Added Sub-Groups: bundle multiple configs into a group and get a single, beautifully designed public subscription page (/p/{key}) — optionally password-protected
🤖 Added a full Telegram management bot (optional) — create configs via a step-by-step wizard (protocol, fingerprint, ALPN, port, traffic/speed/IP limits, expiry), list/toggle/delete configs, and manage sub-groups, all without opening the web panel
💾 State (configs, stats, sub-groups) is now persisted to disk (DATA_DIR, default /data) instead of living only in memory — requires a persistent Volume mounted at that path to survive restarts/redeploys
New Environment Variables
DATA_DIR — storage path (needs a persistent Volume)
TELEGRAM_BOT_TOKEN / TELEGRAM_ADMIN_IDS — enable the Telegram bot
Fixes / Corrections
Corrected outdated docs claiming data was in-memory only and always reset on restart — this is no longer true as long as a Volume is attached
🇮🇷 فارسی
ویژگیهای جدید
🌐 اضافه شدن پشتیبانی از ترابرد XHTTP (دو حالت packet-up و stream-up) در کنار VLESS روی WebSocket
🚦 اضافه شدن محدودیت سرعت اختصاصی برای هر کانفیگ (بر حسب Mbps، با الگوریتم Token Bucket)
🗂 اضافه شدن گروههای ساب: چند کانفیگ رو داخل یک گروه بذار و یک لینک ساب حرفهای و زیبا (/p/{key}) بگیر — قابل رمزدار کردن هم هست
🤖 اضافه شدن ربات مدیریت تلگرام (اختیاری) — ساخت کانفیگ با ویزارد مرحلهبهمرحله (پروتکل، Fingerprint، ALPN، پورت، محدودیت حجم/سرعت/آیپی، انقضا)، مدیریت کامل کانفیگها و گروههای ساب، بدون نیاز به باز کردن پنل وب
💾 وضعیت سرویس (کانفیگها، آمار، گروههای ساب) از این به بعد روی دیسک ذخیره میشه (مسیر DATA_DIR, پیشفرض /data) نه فقط حافظه — برای دائمی موندن نیاز به وصل کردن یک Volume دائمی داره
متغیرهای محیطی جدید
DATA_DIR — مسیر ذخیرهسازی (نیازمند Volume دائمی)
TELEGRAM_BOT_TOKEN / TELEGRAM_ADMIN_IDS — فعالسازی ربات تلگرام
اصلاحات
توضیح قدیمی که میگفت دادهها فقط in-memory هستن و همیشه با ریاستارت پاک میشن، اصلاح شد — الان تا وقتی Volume وصل باشه این مشکل وجود نداره