Download Latest Version 9.5 source code.zip (93.9 kB)
Email in envelope

Get an email when there's a new version of X4G

Home / Update_9.5
Name Modified Size InfoDownloads / Week
Parent folder
X4G-9.5.zip 2026-07-10 90.4 kB
9.5 source code.tar.gz 2026-07-10 91.9 kB
9.5 source code.zip 2026-07-10 93.9 kB
README.md 2026-07-10 3.0 kB
Totals: 4 Items   279.1 kB 0

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 وصل باشه این مشکل وجود نداره

Source: README.md, updated 2026-07-10