mrkeyoor.comAsk

KJGX66F/unikraft-xray-nodetested 24 Nov 2026commit c3516ca

unikraft-xray-node review

Use unikraft-xray-node for a technical experiment with Unikraft-specific WS/XHTTP routing and generated client files.

  • Safety failed
  • Build 1 s
5 sto install
  • 35 packages
Self-Hostedevaluationupdated 24 Nov 2026

unikraft-xray-node packages an Xray VLESS proxy node for Unikraft Cloud, with WebSocket as the primary transport, XHTTP as backup and optional Cloudflare routes. The Chinese README describes deployment workflows and generated client configuration files.

Verdict

Use unikraft-xray-node for a technical experiment with Unikraft-specific WS/XHTTP routing and generated client files. Our source install took 5 seconds and its build took 1 second; the separate deployment attempt stopped at a missing Compose file. Readers choosing a daily connection should not select it on those results. Users requiring handshake-dependent protocols or sing-box XHTTP output should choose a different deployment design.

unikraft-xray-node infographic: run an Xray VLESS proxy node on Unikraft Cloud, plus our test result and who it suits
Tested 24 November 2026: the source install took 5 s and the build 1 s.

We ran it

Lab card: what happened when we ran unikraft-xray-node
Lab card from our sandbox run
Screenshot of unikraft-xray-node (github.com/KJGX66F/unikraft-xray-node)
github.com/KJGX66F/unikraft-xray-node
Install✓ · 5s35 packages · 38 MB
Build✓ · 1s
Testsn/ano test script
Repo13 files~372 lines of source · 0.1 MB · 3 CI workflows · Dockerfile

Answers from our run

Does unikraft-xray-node build from source?

Dependencies installed in 5 seconds (35 packages), and the build succeeded in 1 seconds. We cloned commit c3516ca into a clean Debian container with 3 CPUs and no project-specific setup.

Does unikraft-xray-node have tests you can run?

Not through a standard command: the project exposes no test script or target that our harness could run.

Who should not use unikraft-xray-node?

Users choosing a daily connection on the strength of this review's deployment result.

What are the alternatives to unikraft-xray-node?

Xray-core, E2B. Use unikraft-xray-node for a technical experiment with Unikraft-specific WS/XHTTP routing and generated client files.

Setup4/5Our source checkout installed in 5 s and built in 1 s with 35 dependencies, but we did not run a README task.Editor’s note: Source installation and build completed, but the deployment attempt stopped before hosted application acceptance.
Docs2/5The 7,837-character README has no usage instructions or examples, and the README is mostly in Chinese, not English.Editor’s note: The Chinese README explains workflows and ports; the complete hosted deployment procedure has no acceptance result here.
Community3/5Last push on 2026-11-19 and 199 stars.Editor’s note: One registration issue with zero comments is insufficient to assess support responsiveness or wider adoption.
Maturity1/5No tagged GitHub release and repository created 2026-11-19.Editor’s note: Author-reported local forwarding and source checks do not supply sustained hosted operation or a security assessment.

How we score

Who it’s for

Technical users experimenting with Xray on Unikraft Cloud.
People who want direct and Cloudflare client files generated from the same node settings.
Users able to manage platform credentials, workflow secrets and Chinese deployment documentation.

Who it’s NOT for

Users choosing a daily connection on the strength of this review's deployment result.
Users requiring the original TLS handshake to reach Xray through this hosted route.
sing-box users specifically seeking an XHTTP entry in the generated configuration.

Setup reality

Our November 24, 2026 source run at commit c3516ca recorded install success in 5 seconds, 35 dependencies and 38 MB on disk, followed by build success in 1 second. Tests were skipped because there was no script or target. A separate Compose deployment attempt stopped because no accepted Compose file existed.

The README's local deployment route requires the Unikraft CLI and Docker/BuildKit, including its GHCR route. Separate GitHub Actions workflows handle image preparation and instance creation. Those workflows use UKC_TOKEN, and instance creation also requires node credentials. Optional Cloudflare routing adds a domain and DNS configuration.

unikraft-xray-node is a Unikraft Cloud deployment package whose author reports local WS and XHTTP forwarding success. Our November 24, 2026 source checks completed installation and build, while a separate deployment attempt stopped at a missing Compose file. The useful decision is whether its platform-specific routing and generated client files fit your experiment. The author's local forwarding results and our failed deployment prerequisite describe different stages of that work.

What people use unikraft-xray-node for

The author reports local proxy forwarding, client-file generation and startup from environment variables. Xray is the proxy engine; VLESS is the protocol used by this package. WS means WebSocket, while XHTTP is its alternative HTTP transport. The deployment target is commercial Unikraft Cloud. The Unikraft SDK repository identifies itself as a separate project, so its operating-system development tutorials address a different toolchain.

What someone did Who did it Outcome and practical use
Sent traffic through a local Xray client, server and HTTP target Project author WS and XHTTP returned HTTP 200 and hello-via-proxy, exercising forwarding after simulated gateway TLS termination.
Generated direct and Cloudflare client files Project author Reported four correctly generated links and structurally correct Clash and sing-box files; sing-box output contained WS only.
Started Xray using environment-generated configuration Project author Reported WS 101 Switching Protocols and an expected sessionless XHTTP 404.

The forwarding result exercised a local client, server and HTTP target, returning the target's response over both transports. The startup result answered a separate question: whether the entrypoint could generate configuration and start listeners. The author also reports that xray run -test -c returned Configuration OK for the generated configuration, with WS on 8080 and XHTTP on 8081 using mode=auto. These README results distinguish configuration parsing, listener behavior and traffic forwarding.

What happened when we ran it

Our source install succeeded in 5 seconds, and the build succeeded in 1 second. We measured those steps at commit c3516ca on November 24, 2026; the source-run measurements record 35 dependencies and 38 MB on disk. The separate Compose deployment safety step failed because none of its four accepted filenames existed. The recorded outcomes belong to separate checks.

Question Answer Verdict Why
Could the Compose deployment route proceed? No compose.yaml, compose.yml, docker-compose.yaml or docker-compose.yml existed. Stopped The safety step required a Compose file.
Did teardown finish? teardown: ok Completed The cleanup record reports success.
Did source installation finish? 5 seconds; 35 dependencies; 38 MB on disk Succeeded The install step completed successfully.
Did the source build finish? 1 second Succeeded The build step completed successfully.
Did a test suite run? No tests script or target; skipped Skipped The measurement records no test entry point.
What did the checkout contain? 13 files, about 372 source lines, 0.1 MB; three CI workflow files, a Dockerfile and no tests directory Inventory recorded These are checkout and automation signals.

The deployment run header describes Docker Compose deployment with every port bound to 127.0.0.1. Its detailed execution record instead reports hands-on step safety: FAILED. The failed step determines the outcome: the attempt stopped at its Compose prerequisite. The log's unsafe repo wording names that prerequisite failure; it does not identify a vulnerability in the repository. Teardown then reported completion.

The source sandbox was configured with 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. Its checkout contained about 372 source lines across 13 files, occupying 0.1 MB, according to our measurement record. Keeping the commit and environment beside the timings makes the result usable: a reader can distinguish this source check from the README's Docker packaging, registry push and cloud-instance workflow.

Where people get stuck: registration and image packaging

Issue #1 reports GitHub registration failure and a message directing the user to support. The captured registration issue is open with 0 comments. Its author asks whether excessive registrations caused the problem. This is an account-creation obstacle, before any Xray configuration or client import. The practical distinction is between obtaining platform access and configuring a node after that access exists.

The GHCR route still requires local BuildKit, according to the README. GHCR stores the Docker image, while Kraftfile.oci and unikraft build prepare the public-cloud package. The separate unikraft.yml workflow moves that preparation to GitHub's servers. The README explicitly distinguishes these routes, which prevents an easy installation mistake: assuming that downloading an existing Docker image eliminates the local packaging toolchain.

Obstacle Documented next step Recorded status
GitHub signup directs the user to support Contact provider support Issue #1 is open with 0 comments.
Another user cannot pull a newly pushed GHCR package Make it public or authenticate with docker login ghcr.io The README says new packages default to Private.
Local Docker/BuildKit is unavailable Use the separate unikraft.yml Actions build route The README documents packaging on GitHub's servers.
dockerd fails with iptables permissions in the author's sandbox Use Docker Desktop or the documented Actions routes The author reports that environment failure.

The author's dockerd failure and our missing-Compose stop occurred in different environments and at different prerequisites. The README names iptables permissions as the reason Docker could not start in the author's sandbox. Our log names absent Compose files. Keeping those errors separate gives readers the right troubleshooting branch instead of treating both as a single failure of Xray forwarding.

Platform TLS termination determines the transport design

Unikraft's CLI requires http+tls on public port 443 and tls on other public ports. Its published-port documentation defines TLS termination at the platform. The package maps WS through 443:8080/http+tls and XHTTP through 8443:8081/tls. Xray receives traffic after the gateway removes TLS, so the README configures plaintext listeners on internal ports 8080 and 8081.

The README excludes REALITY, Vision and native Trojan TLS from this arrangement because they require the original TLS handshake to reach the application. It also states that hosted public cloud lacks the UDP service needed by its listed AWG, WireGuard, Hysteria2, TUIC and QUIC alternatives. These are the author's documented compatibility boundaries. They make transport requirements a decision to settle before following the deployment commands.

The generated sing-box.json contains WS entries only. For XHTTP in the generated Clash configuration, the README specifies mihomo 1.19.22 or newer. It positions WS as primary and XHTTP as backup, while reporting a WS deprecation warning from Xray v26.11.9. Those versioned client instructions describe this package's output; the broad claim about every sing-box version is unnecessary to explain which entries its generator produces.

Security starts with the platform token and node links

The README says the platform token can create, stop and delete instances and volumes. Its Actions instructions place that token in the repository secret UKC_TOKEN. The token warning makes the account-access consequence explicit: running the deployment workflow involves a credential with powers beyond connecting a proxy client. The instance workflow additionally takes NODE_UUID, NODE_WS_PATH and NODE_XHTTP_PATH as secrets.

The README describes entrypoint.sh generating server configuration from environment variables at container startup. It says deploy.sh keeps its generated UUID in local .env.local, and describes the image as containing Xray plus the entrypoint rather than embedded node credentials. These are documented implementation statements. The UUID is the client access identifier, while the WS and XHTTP paths are generated separately for the node.

The deployment workflow deliberately omits node links from its logs because the links contain the access UUID. After obtaining the instance domain, the README directs users to generate client files separately with gen_links.py. For optional Cloudflare routing, it specifies Full (Strict) TLS mode and warns that Flexible makes the origin connection plaintext. These credential and TLS instructions concern different parts of the connection and deserve separate attention.

The Chinese README explains three deployment workflows

The Chinese README describes docker.yml, unikraft.yml and deploy.yml as different workflows. The first builds a Docker image for GHCR; the second runs Unikraft image preparation on GitHub; the third creates an instance. The workflow descriptions explain why completing one workflow does not replace the inputs required by the next. English command names alone do not convey those surrounding instructions.

The README names links.txt, clash.yaml, sing-box.json and node.json as client outputs. It also describes node-ws-direct.png as an optional QR code produced when the qrcode library is available. The output table specifies two direct links plus two additional Cloudflare links when a Cloudflare domain is configured. Those four links use the same node credentials and transport paths rather than representing four servers.

unikraft-xray-node vs alternatives and deployment choices

Upstream Xray-core lists an official Linux installation script and official Docker image. Its installation section is the relevant starting point when you want to choose your own host and manage Xray configuration directly. unikraft-xray-node instead bundles decisions for Unikraft Cloud, including its gateway port mappings, generated links and Actions workflows. The difference is deployment scope rather than a measured performance ranking.

Choice Source-backed distinction Pick when
unikraft-xray-node vs upstream Xray-core This wrapper targets Unikraft Cloud; upstream lists official Linux and Docker installation routes. Choose the wrapper for its platform-specific workflow, or upstream for hosting you manage directly.
WS vs XHTTP The README makes WS primary and XHTTP backup. Match the transport to the entries supported by your client.
Direct vs Cloudflare The author recommends trying direct Singapore routing first. Add the Cloudflare domain when evaluating a separate routing path.
Local packaging vs Actions The GHCR script route uses local BuildKit; unikraft.yml runs packaging on GitHub. Choose the environment where you can run the toolchain and manage credentials.
Unikraft vs E2B The author positions Unikraft as a primary-node candidate and E2B as a one-hour temporary option. Investigate E2B for a temporary sandbox requirement.

The README's routing advice says Cloudflare can add delay when direct Singapore access is already fast and may help when direct traffic is interfered with or throttled. It asks users to compare their routes. Its E2B statement is likewise the author's positioning. Neither statement supplies a throughput table, so the comparison here helps select a deployment path without assigning a service-speed winner.

Outdated claims, corrected

NeeWP labels unikraft-xray-node as Content & Creation software while describing its VLESS proxy function. The NeeWP listing therefore gives readers a category inconsistent with the project's own networking description. Its generated connection files serve proxy clients; they are not an authoring workflow. This correction concerns that named listing, while the following two concern Unikraft's cloud overview and hosting documentation.

The cloud overview says Unikraft Cloud can run anything put in a Dockerfile. The overview's broad compatibility statement needs to be read beside the CLI's required ingress handlers. The CLI port rules require platform TLS termination, which directly affects protocols that need their original handshake. Docker packaging and public ingress are separate compatibility questions; this package's plaintext inbounds address the latter.

The hosting-options documentation places live migration among features exclusive to dedicated, BYOC and on-prem installations. Its hosting restriction supplies the qualification needed when reading the broader cloud overview. That makes live migration an unsuitable feature to borrow for this hosted Hobby-node recommendation. The correction rests on the hosting text itself and assigns no modification date to that page.

FAQ

The README documents both remote image preparation and remote instance creation through GitHub Actions. These are separate workflows: unikraft.yml prepares an image, and deploy.yml creates an instance. The Actions instructions distinguish their required secrets and outputs. Account registration, platform ingress and client-file generation sit around those steps, which explains why readers ask different questions about apparently similar deployment commands.

Why can't I register for Unikraft through GitHub, and why am I being told to contact support?

Issue #1 records GitHub signup failing and directing its author to support. The user's question proposes excessive registrations as a possible cause. The captured thread contains 0 comments, so it supplies the reported screen and the user's explanation rather than a provider diagnosis. The message concerns platform account access, before the node's transport, image or client settings enter the process.

Why does unikraft-xray-node use WS and XHTTP behind platform TLS termination?

The platform removes TLS before traffic reaches Xray, and the package uses plaintext WS and XHTTP listeners behind it. The README's gateway explanation maps public ports 443 and 8443 to internal ports 8080 and 8081. That architecture explains its exclusion of handshake-dependent choices such as REALITY, Vision and native Trojan TLS, while retaining WS as the primary generated connection type.

Can I build the Unikraft image without building anything locally?

Yes, the README documents unikraft.yml running unikraft build on GitHub's servers and pushing to the Unikraft registry. The remote-build instructions require UKC_TOKEN and describe manual workflow triggering. This is distinct from deploy.sh --from-ghcr, whose documented path still uses local BuildKit to prepare the GHCR image. Selecting the remote-build workflow is the README's route for moving that preparation off your computer.

Can GitHub Actions create the instance without filling in the console form?

Yes, the README documents deploy.yml running unikraft run on GitHub to create the instance. Its instance-creation instructions require UKC_TOKEN, NODE_UUID, NODE_WS_PATH and NODE_XHTTP_PATH; the default metro is sin and the default name is xray-node. The workflow prints the instance domain, while the user generates credential-bearing client links separately after obtaining that domain.

What we have not tested yet

Our checks produced no hosted client session, throughput, latency, video-playback or sustained-connectivity result. The author's successful forwarding was local. The README says Docker packaging, pushing and instance startup were not run in the author's sandbox, and identifies long connections through base-compat, Alpine and the platform gateway as the next acceptance question. Its untested-work description also says the two Cloudflare routes were not exercised.

The README's November 19 account describes free, card-free Hobby hosting but leaves monthly bandwidth unresolved and calls its terms interpretation a grey area rather than permission. Those are the author's pricing and acceptable-use findings, not current entitlements established by this review. Provider authorization, current quotas and credential security have not been assessed. The readable evidence also does not establish Git or Docker exclusion rules for .env.local or node-out/.

The sandbox image name records configuration rather than actual runtime versions. The registration thread supplies no diagnosis or resolution, and its single unanswered report is too small a sample for a support rating. The platform status history records resolved Singapore connectivity maintenance on November 19. We measured no active-client recovery through maintenance; disabling scale-to-zero and restarting a process do not answer that network-recovery question.

The README's acceptance procedure calls for WS direct first, generate_204=204 and an exit IP matching Singapore, followed by the XHTTP and Cloudflare routes. It also asks for latency and video checks, including evening use. Those are proposed acceptance steps, not results reported here. A completed hosted session with the client, transport and route recorded would answer the deployment question left by the stopped Compose attempt.

Alternatives

ProjectWhat it isPick it when
Xray-core gh↗The upstream project lists an official Linux installation script and official Docker image.Choose upstream Xray on a host you select when you want to manage hosting and configuration directly.
E2BThe temporary-node option named in the author's README.Investigate E2B when temporary sandbox use is your goal; the README positions it as a one-hour option.

What people are saying

  1. [velocity-scout] KJGX66F/unikraft-xray-node

Sources

  1. Project README
  2. GitHub registration issue #1
  3. Unikraft CLI published-port rules
  4. NeeWP project listing
  5. Unikraft hosting options
  6. Unikraft cloud overview
  7. Unikraft status history
  8. Unikraft SDK repository
  9. Xray-core official repository
  10. MrKeyoor source-run measurements, November 24, 2026

More self-hosted reviews