G-Tunnel turns a free GitHub Codespace into a fully automated VLESS/WebSocket proxy powered by Xray-core.
- Zero config: fork the repo, create a Codespace, and ready-to-import VLESS links appear in your terminal in about 3 minutes.
- Fresh UUID on every run with WebSocket transport, built for unstable or censored networks.
- Low latency: 190–400 ms via 7 direct IPs plus a GitHub domain fallback.
- Free: runs inside your normal Codespaces quota (60 h/month, 90 h for students).
- Works with v2rayNG, Nekobox, v2rayN, Nekoray, V2Box, Streisand, FoXray.
📖 The full setup guide is in the Persian section below.
Self-hosting is the practical fallback for users on networks where commercial VPN endpoints are throttled, reset or blocked. The setup is where most of them stop: Xray configuration, transport selection, TLS, per-user credentials, client-side import. Every hand-made variant is a new failure mode, and a static tutorial rots quickly because endpoint quality drifts per operator and per hour.
- Ephemeral, reproducible runtime — the whole stack lives in a
.devcontainer, so every run is identical and nothing persists on the host. - Zero-touch configuration — VLESS over WebSocket/TLS generated at runtime, with the UUID rotated on every run.
- Endpoint selection — 7 direct addresses plus a domain fallback, emitted as ready-to-import links instead of a config file to edit.
- Client coverage — v2rayNG, Nekobox, v2rayN, Nekoray, V2Box, Streisand, FoXray.
- MIT licensed, no account or payment beyond the Codespace itself.
Adoption (38 stars, 141 forks) exposes the real support load: failures cluster by operator and by hour, and no single static configuration covers them. The next layer is a feedback loop — capture per-run transport behaviour, triage failures automatically, and adapt transport parameters per client — run as an experiment over live configuration variants rather than a periodic release. That is the part where agent-assisted development stops being optional: generating variant harnesses, refactoring protocol adapters, and auditing the measurement pipeline while hypotheses change daily.
به G-Tunnel خوش آمدید؛ نسل جدید و بهینهسازی شده پروکسیهای مبتنی بر GitHub Codespaces. این پروژه با هدف ارائه اتصالی پایدار، سریع و کاملاً خودکار، بر پایه هسته قدرتمند Xray و پروتکل WebSocket بازطراحی شده است.
در نسخه G-Tunnel، ما تمامی موانع فنی را از پیش پای شما برداشتهایم. برخلاف نسخههای قدیمی که نیاز به ویرایش دستی فایلها و ساخت UUID داشتند، در این پروژه همهچیز به صورت داینامیک و در لحظه اجرا (Runtime) انجام میشود.
| ویژگی | توضیح |
|---|---|
| ⚡ پینگ پایین | کاهش از ۱۵۰۰ms به ۱۹۰–۴۰۰ms با IPهای اختصاصی |
| 🔗 اتصال پایدار | پروتکل WebSocket برای محیطهای دارای اختلال |
| 🤖 اتوماسیون ۱۰۰٪ | بدون نیاز به ویرایش دستی config.json |
| 🛡️ UUID یکتا | هر بار اجرا یک UUID جدید — امنیت بیشتر |
| 📡 چند IP | ۷ آدرس مستقیم + دامنه GitHub برای انتخاب بهترین پینگ |
برای راهاندازی G-Tunnel تنها کافیست مراحل زیر را دنبال کنید:
۱. Fork کردن پروژه
در بالای صفحه روی گزینه Fork کلیک کنید تا یک نسخه از پروژه در حساب شما کپی شود.
۲. ساخت Codespace
- وارد ریپوی فورک شده خود شوید
- روی دکمه سبز
<> Codeکلیک کنید- در تب Codespaces گزینه Create codespace on main را انتخاب کنید
۳. دریافت کانفیگ
- منتظر بمانید تا محیط اجرا آماده شود (حدود ۳ دقیقه)
- به محض اتمام نصب، تمام لینکهای VLESS به صورت خودکار در Terminal نمایش داده میشوند
به github.com/settings/codespaces بروید:
- بخش Default idle timeout را پیدا کنید
- مقدار را به
240دقیقه تغییر دهید و Save کنید
در همان صفحه تنظیمات، در بخش Region:
- گزینه Set manually را انتخاب کنید
- نزدیکترین لوکیشن به ایران (مناطق اروپایی) را انتخاب کنید
| نوع اکانت | سهمیه ماهانه |
|---|---|
| 👤 اکانت عادی | ۶۰ ساعت در ماه |
| 🎓 اکانت دانشجویی | ۹۰ ساعت در ماه |
💡 نکته حرفهای: وقتی از پروکسی استفاده نمیکنید، از پنل مدیریت سرور را Stop کنید تا سهمیه بیهوده مصرف نشود.
| پلتفرم | نرمافزار |
|---|---|
| 🤖 Android | v2rayNG, Nekobox |
| 🪟 Windows | v2rayN, Nekoray |
| 🍎 iOS | V2Box, Streisand, FoXray |
اگر این پروژه به شما کمک کرد، با یک Star ⭐ در بالای صفحه ما را دلگرم کنید.
🪙 حمایت مالی (Crypto Donates):
| شبکه | آدرس |
|---|---|
| 💛 USDT (BEP20) | 0xec6b356e1b458564de16d01108cc391d8792a92a |
| 🟢 USDT (TRC20) | TSGuHweHCv1Y348Kwyvz5ANGdGNUykgx3c |
| 💎 TON | UQACY3kYWw28tsKV6PcXZrvneFfGGfMBnmeeM1wlopC1RNVh |
توسعه داده شده با ❤️ برای آزادی دسترسی به اطلاعات