Analysis updated 2026-06-24
Spin up a personal VPN on a free GitHub Codespace and connect from a phone
Test VLESS xHTTP vs XTLS-RPRX-Vision transports side by side
Generate QR codes for V2rayNG, Nekoray, or Shadowrocket from the terminal
Tail Xray logs and restart the service after editing transport configs
| nikvpn-iran/nikvpn-mobile-codespace | adukecoins/codewatch | frichxi/zanai-writing-skill | |
|---|---|---|---|
| Stars | 13 | 13 | 13 |
| Language | Shell | Shell | Shell |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 2/5 | 2/5 | 2/5 |
| Audience | general | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
You must create a Codespace from this repo and make the forwarded port public before the QR code link will connect.
This project, written in Farsi for Iranian users, turns a GitHub Codespace into a small personal VPN that you can connect to from a phone. The idea is that GitHub Codespaces gives you a free virtual Linux machine in the cloud, and this repository contains the scripts and config files needed to install Xray on that machine and expose two VPN configurations to your mobile device. When you create a Codespace from the repository, a setup script runs automatically. It downloads and installs Xray, the popular open-source proxy engine, and then starts an interactive terminal menu. On first run the menu asks you which of two configurations you want to use. Option one is VLESS with xHTTP transport on port 443, presented as the safer default. Option two is VLESS with XTLS-RPRX-Vision flow on port 8443, presented as faster and harder to detect. Once you pick one, the script prints a QR code in the terminal that contains the full connection link. From your phone, you scan that QR code with the camera, then open a compatible VPN client like Nekoray, V2rayNG, Clash, Shadowrocket, or Stash, and the configuration is added automatically. After that you tap connect and your phone routes traffic through the Codespace. The README includes example vless:// links showing the UUID, server hostname under github.dev, the SNI, and the transport settings. The terminal menu has commands beyond the initial setup. You can show the current config links, regenerate larger QR codes for easier scanning, tail the Xray log at /tmp/xray.log, restart Xray after a config change, check service health, and attach to a tmux session for advanced control. The repository layout is small: a Dockerfile, devcontainer.json, setup.sh, start.sh, menu.sh, show-configs.sh, generate-qr.sh, and two JSON config files for the two transport modes. The README also includes troubleshooting tips for Xray not starting, missing qrencode, or failed connections, with reminders to make the Codespace port public. It is released under the MIT license.
Turns a free GitHub Codespace into a personal VPN by installing Xray and exposing VLESS configs as QR codes for mobile clients.
Mainly Shell. The stack also includes Shell, Xray, Docker.
MIT license, free to use, modify, and distribute with attribution.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.