Agent skill · software engineering · aradotso
vercel-xhttp-relay
Deploy an XHTTP relay on Vercel Edge Functions to proxy Xray/V2Ray traffic and hide your origin server IP behind *.vercel.app
Why this skill is useful
Provides specific implementation details and configurations for deploying an XHTTP relay on Vercel Edge Functions that the AI wouldn't reliably generate on its own.
What it needs
Requires node, npm installed locally. Requires vercel account access. About 5k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
Vercel XHTTP Relay Skill by ara.so — Daily 2026 Skills collection. A minimal Vercel Edge Function relay that forwards XHTTP traffic from Xray/V2Ray clients to a backend Xray server. Vercel's .vercel.app domain acts as a CDN front, hiding your origin VPS IP from censors. --- Architecture Supported transports: XHTTP only Not supported on Vercel Edge: WebSocket, gRPC, TCP, mKCP, QUIC, Reality --- Prerequisites Linux VPS outside Iran (Ubuntu 22.04/24.04 recommended), min 1 vCPU / 1 GB RAM A domain with an A record pointing to your VPS (DNS only, not proxied) Vercel account (free Hobby tier works for light personal use) Node.js + npm installed locally (for Vercel CLI) Xray v1.8.16+ installed on VPS --- Step 1 — Install Xray on VPS --- Step 2 — Obtain a TLS Certificate --- Step 3 — Xray Server Config (XHTTP Inbound) /etc/xray/config.json: --- Step 4 — The Vercel Edge Relay (api/proxy.js) The relay function streams request bodies and responses without buffering: --- Step 5 — vercel.json --- Step 6 — package.json (minimal) --- Step 7 — Deploy to Vercel Via CLI Via Dashboard (no CLI needed) 1. Push repo to GitHub 2. Go to vercel.com/new → Import repo 3. Settings → Environment Variables → add XRAYBACKENDURL 4. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/vercel-xhttp-relay