[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-77367":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":18,"lastSyncTime":28,"discoverSource":29},77367,"G2rayXCodeLeafy","Code-Leafy\u002FG2rayXCodeLeafy","Code-Leafy","A sleek web dashboard for managing Xray VLESS xHTTP configs on GitHub Codespaces.",null,"Python",199,1212,105,3,0,4,81,2,59.35,"MIT License",false,"main",true,[],"2026-06-12 04:01:21","\u003Cdiv align=\"center\">\n\n# G2rayXCodeLeafy\n\nA sleek VLESS proxy manager for GitHub Codespaces.\n\n[![Version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fversion-1.4.1-2DC94E?style=flat-square)](https:\u002F\u002Fgithub.com\u002FCode-Leafy\u002FG2rayXCodeLeafy)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-2DC94E?style=flat-square)](https:\u002F\u002Fgithub.com\u002FCode-Leafy\u002FG2rayXCodeLeafy)\n[![Status](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-stable-2DC94E?style=flat-square)]()\n\n\u003C\u002Fdiv>\n\n---\n\n\u003Cdiv align=\"center\">\n\n\u003C!-- 🎬 Quick Start Tutorial Video -->\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F79174a4a-ef86-4c1d-9f1a-909d0b29a248\n\n\u003Cbr>\n\n\u003C!-- 📸 Panel Preview Image -->\n\u003Cimg src=\"assets\u002Fpreview.png\" alt=\"G2ray Panel Preview\" width=\"720\" style=\"border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);\">\n\n\u003C\u002Fdiv>\n\n\u003Cbr>\n\n## Overview\n\nG2ray is a powerful, interactive Bash panel designed to instantly deploy and manage Xray VLESS XHTTP configurations. Built specifically for the GitHub Codespaces environment, it automates port management, traffic monitoring, and connection keep-alives natively.\n\n> **Note:** The panel includes an advanced anti-sleep engine using Tmux to prevent your free-tier Codespace from hibernating while the proxy is in use.\n\n---\n\n\u003Csummary>\u003Ckbd>🔗\u003C\u002Fkbd> Community Donated Configs (SUB)\u003C\u002Fsummary>\n\nWant to use public nodes donated by other G2ray users? Import this subscription link directly into your V2ray\u002FXray client:\n\n```text\nhttps:\u002F\u002Fraw.githubusercontent.com\u002FCode-Leafy\u002FG2rayXCodeLeafy\u002Fmain\u002Fconfigs.txt\n```\n\n---\n\n### Core Features\n\n#### ⚡ One-Click Deploy & Manage\nGenerate and start Xray engines in seconds. The beautiful menu-driven CLI interface makes managing nodes and viewing live config links effortless. \n\n#### 🔄 Smart Auto-Keepalive\nBuilt-in background loops and advanced Tmux simulators prevent GitHub Codespaces from shutting down due to inactivity, keeping your tunnel open.\n\n#### 📡 Live Analytics & Quota\nTracks real-time RX\u002FTX data consumption and actively monitors resource usage (CPU\u002FRAM). It accurately estimates your remaining 60-hour free-tier quota.\n\n#### 📦 Community Config Network\nDonate your generated config directly from the CLI to share access with the community securely, without impacting your own speed or exposing personal data.\n\n\u003Cdiv align=\"center\">\n\n| 🛠️ Configuration Optimizer |\n| :--- |\n| To finalize your setup, take the config received from the panel and visit **[NetLeafy](https:\u002F\u002Fcode-leafy.github.io\u002FNetLeafy)**. Set the server mode to **G2ray** and paste your link to generate a fully optimized connection. |\n\n\u003C\u002Fdiv>\n\n---\n\n\n## Getting Started\n\n1. **Fork the Repository**  \n   → Click **Fork** at the top-right of this page\n\n2. **Create a Codespace**  \n   → Open your fork → Click **Code** → **Codespaces** tab → **Create codespace on main**\n\n3. **Wait for Environment**  \n   → Allow 2-3 minutes for the container to build\n\n4. **Launch Panel**  \n   → The G2ray CLI panel auto-starts in the terminal!\n\n\u003Cdetails>\n\u003Csummary>\u003Ckbd>⚙️\u003C\u002Fkbd> Environment Configuration\u003C\u002Fsummary>\n\nWhile G2ray is designed to be zero-config, advanced users can modify specific variables within the engine script:\n\n- `XRAY_PORT` **(Optional)** — Binds Xray to a custom port. Default: `443`\n- `CODESPACE_NAME` **(Optional)** — Overrides auto-detection of the app domain.\n\n\u003C\u002Fdetails>\n\n---\n\n## Usage\n\nWhen launched, the panel provides a 1-to-13 numerical selection menu. Simply type the number corresponding to the action you want to take.\n\n```bash\n# If panel did now get shown:\nbash .\u002Fg2ray.sh\n```\n\n---\n\n## Architecture\n\n```mermaid\ngraph LR\n    A[GitHub Codespace] -->|Executes| B[G2ray Bash Panel]\n    B -->|Configures| C[Xray-core]\n    C -->|Binds Port 443| D[Codespace App Domain]\n    D -->|VLESS over xHTTP| E[End User Client]\n```\n\n\u003Cdetails>\n\u003Csummary>\u003Ckbd>📁\u003C\u002Fkbd> Project Structure\u003C\u002Fsummary>\n\n```text\nG2rayXCodeLeafy\u002F\n├── data\u002F                    # Dynamic storage for usage stats, UUIDs, & config\n├── logs\u002F                    # Xray engine error logs\n├── assets\u002F                  # Media resources (previews & videos)\n├── configs.txt              # Community donated subscription configs\n└── g2ray.sh                 # The main interactive panel script\n```\n\n\u003C\u002Fdetails>\n\n---\n\n\u003Cdetails>\n\u003Csummary>\u003Ckbd>❓\u003C\u002Fkbd> FAQ & Troubleshooting\u003C\u002Fsummary>\n\n**My Codespace keeps shutting down?**\nEnsure you have activated Option `7` in the G2ray panel (Toggle Anti-Sleep Mode) to spawn a background Tmux session that simulates user activity.\n\n**Why are my speeds slow?**\nFor optimal routing, always try to ensure your GitHub Codespace region is set to `Europe West` in your GitHub account settings, as this places the server in NL\u002FDE.\n\n\u003C\u002Fdetails>\n\n\u003Cbr>\n\n\u003Cdiv align=\"center\">\n\n> **⚠️ Educational Purpose Only:** This project is provided for educational and research purposes. Users are solely responsible for compliance with all local laws. The developer assumes no liability for misuse.\n\n[MIT License](https:\u002F\u002Fgithub.com\u002FCode-Leafy\u002FG2rayXCodeLeafy\u002Fblob\u002Fmain\u002FLICENSE) · Crafted by [Code-Leafy](https:\u002F\u002Fgithub.com\u002FCode-Leafy)\n\u003C\u002Fdiv>\n","G2rayXCodeLeafy 是一个专为 GitHub Codespaces 设计的 VLESS 代理管理工具。其核心功能包括一键部署和管理 Xray VLESS XHTTP 配置、智能自动保活机制防止 Codespaces 休眠、实时流量分析与资源监控，以及社区配置共享网络。该项目采用 Bash 脚本编写，提供美观易用的命令行界面，特别适合需要在 GitHub Codespaces 环境中快速搭建稳定代理服务的开发者使用。通过内置的 Tmux 技术，G2rayXCodeLeafy 能够有效延长免费层级 Codespace 的运行时间，确保代理连接持续畅通。","2026-06-11 03:55:23","CREATED_QUERY"]