Vercel Xhttp Relay
Deployment guide for an XHTTP relay on Vercel Edge Functions that fronts a self-hosted Xray server.
- CCM score
- 45 of 100
- skills.sh installs
- 180
- GitHub stars
- 99
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers the full setup: Xray install, TLS certificate issuance, Vercel Edge relay deployment, and client configuration for v2rayN or Hiddify
- Includes the
api/proxy.jsstreaming relay,vercel.jsonrewrite rules, and anXRAY_BACKEND_URLenvironment variable for the origin - Limits transport to XHTTP only, since WebSocket, gRPC, TCP, mKCP, QUIC, and Reality are not supported on Vercel Edge
- Designed for operators who want to hide a VPS origin IP behind
*.vercel.appwith troubleshooting steps for 502 and DNS issues
Install
$ npx -y skills add reason-machines/trending-skills --skill vercel-xhttp-relay -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
Client (v2rayN/Hiddify)
→ TLS (SNI=vercel.com) to *.vercel.app
→ Vercel Edge Function (relay, no buffer)
→ HTTP/2 to backend Xray XHTTP inbound
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
# Update system
apt update && apt upgrade -y
apt install -y curl socat cron ufw
# Install Xray via official script
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the vercel-xhttp-relay skill do?
vercel-xhttp-relay deploys an XHTTP relay on Vercel Edge Functions that forwards Xray or V2Ray traffic to a backend Xray server. The Vercel *.vercel.app domain acts as a CDN front, hiding the origin VPS IP behind it.
How do I install the vercel-xhttp-relay skill?
Run npx -y skills add reason-machines/trending-skills --skill vercel-xhttp-relay -y in a project. Once installed, vercel-xhttp-relay lets the agent walk through the XHTTP relay setup on Vercel Edge Functions.
What does vercel-xhttp-relay need before I start?
vercel-xhttp-relay assumes a Linux VPS outside Iran, a domain with a DNS-only A record, a Vercel account, Node.js with npm, and Xray v1.8.16 or newer on the VPS. Only XHTTP transport is supported on Vercel Edge.
Where does vercel-xhttp-relay sit in its category?
vercel-xhttp-relay is in the DevOps and Cloud category on Claude Marketplaces, next to the azure skills such as azure-diagnostics and azure-deploy. It covers a narrower job, proxying XHTTP traffic through Vercel edge functions.
More from reason-machines/trending-skills
All 251- Hyperliquid Trading Bot178
- Aster Bot Trading173
- Github Sandbox File Downloader170
- Bux Claude Agent169
- Gooserelayvpn Socks5 Tunnel165
- Gpt Pp Team Protocol Replay165
- Illustrated Explainer Spec165
- Autoteam F Chatgpt Team Rotation163
- Mhr Cfw Domain Fronting Relay160
- Openclaw Control Center4.4K
- Inkos Multi Agent Novel Writing2.8K
- Claude Hud Statusline2.7K
- Understand Anything Knowledge Graph2.4K
- Agent Browser Automation2.1K
- Agency Agents Ai Specialists2.1K
- Ui Ux Pro Max Skill2K
- Daily Stock Analysis2K
- Everything Claude Code Harness1.8K
- Gstack Workflow Assistant1.6K
- Shannon Ai Pentester1.6K
- Autoresearchclaw Autonomous Research1.5K
- Chrome Cdp Live Browser1.5K
- Deepseek Ocr1.5K
- Lightpanda Browser1.5K
Similar to Vercel Xhttp Relay
More DevOps & Cloudnx-workspace-patternssickn33/agentic-awesome-skills180 installsnx workspace patterns
edgeone-pages-deploytencentedgeone/edgeone-pages-skills180 installsedgeone pages deploy
helm-chart-patternsnickcrew/claude-cortex179 installshelm chart patterns
alibabacloud-emr-starrocks-managealiyun/alibabacloud-aiops-skills178 installsManage the full lifecycle of Alibaba Cloud EMR Serverless StarRocks instances — create, scale, configure, maintain and diagnose. Use this Skill when operations
istio-traffic-managementsickn33/agentic-awesome-skills177 installsistio traffic management
vercelhoodini/ai-agents-skills176 installsDeploy and configure applications on Vercel. Use when deploying Next.js apps, configuring serverless functions, setting up edge functions, or managing Vercel pr