Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

211 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

G2ray Panel Header
Typing animation

🎬 Quick Start Tutorial

video.mp4

💡 New to G2ray? Watch the 2-minute tutorial above to get started instantly!


G2ray Panel Preview
Shell Platform License Telegram GitHub Stars

🚀 A powerful, interactive Bash panel to deploy and manage VLESS XHTTP configurations.
Built specifically for GitHub Codespaces • Fully automated • Lightweight • Efficient



📦 Community Donated Configs (SUB)

https://raw.githubusercontent.com/Code-Leafy/G2rayXCodeLeafy/main/configs.txt

🙏 Thank you to everyone who has contributed!
Your donations help the community bypass restrictions with ease.

💡 Want to help? You can donate your config directly from the G2ray Panel CLI (Option 1) after generating it.
🔐 Your privacy is fully protected!


⚡ Features at a Glance

Feature Description
One-Click Deploy Generate & start Xray engines in seconds
🎛️ Interactive CLI Beautiful menu-driven interface for node management
🔄 Auto-Keepalive Smart loops prevent Codespace hibernation
📡 Live Stats Real-time RX/TX traffic & resource monitoring
🌍 Dynamic Routing Switch between Auto-detect, Custom IPs & CDN routes
🩺 Self-Healing Auto-restart, port management & log monitoring
📋 QR Generation Shareable QR codes directly in terminal
🎬 Video Tutorial Built-in guidance for instant onboarding

📋 Requirements

✅ GitHub Account          # For Codespaces access
✅ curl / jq              # API interaction & JSON parsing
✅ Xray-Core              # Core engine (auto-detected)
✅ Bash 4.0+              # Panel runtime environment

🚀 Installation & Usage

Step-by-Step Guide

  1. Fork the Repository
    → Click Fork at the top-right of this page

  2. Create a Codespace
    → Open your fork → Click CodeCodespaces tab → Create codespace on main

  3. Wait for Environment
    → Allow 2-3 minutes for the container to build

  4. Launch Panel
    → The G2ray CLI panel auto-starts in the terminal!

🎯 First Run? The script detects missing configs and guides you through setup automatically.

🔧 Advanced: Manual Launch
# If panel doesn't auto-start:
bash ./g2ray.sh

📁 Repository Structure

G2rayXCodeLeafy/
├── 📄 g2ray.sh              # Main interactive panel script
├── 📄 configs.txt           # Community donated subscription configs
├── 📁 .devcontainer/
├── 📁 assets/               # Media resources
│   ├── preview.png
│   └── video.mp4           # 🎬 Tutorial video
├── 📄 LICENSE               # MIT License
└── 📄 README.md             # You are here! ✨

📣 Community & Support

Telegram Channel

💬 Get updates, tips, troubleshooting help, and connect with other users!


⚠️ Disclaimer & Legal

Important

Educational Purpose Only
This project is provided for educational and research purposes only.

  • The developer does not encourage or condone bypassing network restrictions in violation of local laws.
  • Users are solely responsible for compliance with all applicable regulations in their region.
  • The developer assumes no liability for misuse of this tool.

🌐 Please use responsibly and ethically.


⚖️ License

MIT License

Copyright (c) 2026 Code-Leafy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Made with ❤️ by Code-Leafy

GitHub Stars Forks


Footer

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages