avacocloud/avaco-railway — explained in plain English
Analysis updated 2026-05-18
Deploy a public relay endpoint on Railway that forwards to a private Xray-core server
Hide a personal server's real address from outside observers behind a stable public URL
Connect proxy clients like v2rayN or Hiddify through the relay with optional secret-key authentication
Cap simultaneous connections and drop slow connections with configurable timeouts
| avacocloud/avaco-railway | matem6/p2jb-y2jb-porting | yuzc-001/ai-roundtable-room | |
|---|---|---|---|
| Stars | 37 | 37 | 37 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | moderate | hard | easy |
| Complexity | 3/5 | 5/5 | 2/5 |
| Audience | ops devops | researcher | pm founder |
Figures from each repo's GitHub metadata at analysis time.
Requires a Railway account and the Railway CLI, free tier credits limit monthly usage.
Avaco Railway Relay is a lightweight Node.js reverse proxy that runs on Railway, a cloud hosting platform, and forwards traffic from a public HTTPS address to a private server. The README is written in Persian (Farsi). It is designed specifically for the XHTTP protocol used by Xray-core, a networking tool popular in regions with internet censorship for maintaining access to blocked services. The relay sits between client applications such as v2rayN or Hiddify (proxy clients) and a personal server running Xray-core. A client connects to the Railway-hosted public URL, the relay authenticates the request using an optional secret key, and then forwards the traffic to the private backend server. This hides the actual server address from outside observers while providing a stable public endpoint. The project has zero external dependencies and uses only built-in Node.js features. It includes concurrency control to cap the number of simultaneous connections, configurable timeout handling to drop slow connections, and a debug endpoint that returns current configuration and live connection counts. Users can choose from four Railway geographic regions for the server location. Deployment uses the Railway CLI. After cloning the repository, users create a Railway project, set a handful of environment variables (the target server address, relay path, and an optional authentication key), and the service deploys automatically. Railway's free tier provides approximately $5 in monthly credits, which the README estimates covers around 500 hours of activity. The project is GPL-3.0 licensed and maintained by Avaco Cloud, which also has a Telegram channel linked in the README.
A dependency-free Node.js reverse proxy deployed on Railway that forwards XHTTP traffic from a public URL to a private Xray-core server, hiding its real address.
Mainly JavaScript. The stack also includes Node.js, Railway.
Copyleft license: you can use and modify the code, but any distributed derivative work must also be released under the same license and its source made available.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly ops devops.
This repo across BitVibe Labs
Verify against the repo before relying on details.