amircloner/g2ray
amircloner/g2ray209
+209/day1.3k
DockerfileFrom the README
g2ray
A self-hosted proxy setup that runs inside GitHub Codespaces.
Quick Start
- Fork this repository to your own account
- Navigate to your fork and open the Codespaces tab under the Code button
- Create a new codespace on the main branch
- Wait a few minutes for the environment to build and initialize
- Your connection string will appear in the terminal once setup is complete
Connecting
Grab the link printed in the terminal and paste it into any compatible client (v2rayNG, Nekobox, etc.).
Usage Limits
GitHub Codespaces provides 120 core-hours/month on the free tier. Since this config uses 2 cores, that translates to roughly 60 hours per month. Make sure to stop your codespace when not actively using it to avoid burning through your quota.
Compatibility
Works on most networks that aren't aggressively blocking GitHub infrastructure. If the default region doesn't work for you, try creating the codespace in a different datacenter.
License
MIT