Skip to content

new(v2raya.org): web GUI client for V2Ray proxy (source build, closes #6711)#13112

Open
tannevaled wants to merge 1 commit into
pkgxdev:mainfrom
tannevaled:new/v2raya
Open

new(v2raya.org): web GUI client for V2Ray proxy (source build, closes #6711)#13112
tannevaled wants to merge 1 commit into
pkgxdev:mainfrom
tannevaled:new/v2raya

Conversation

@tannevaled
Copy link
Copy Markdown
Contributor

Summary

Closes #6711. New recipe for v2rayA — web-based GUI for V2Ray-family proxy protocols (VMess, VLESS, SS, SSR, Trojan, Tuic, Juicity). ~15k stars, AGPL-3.0.

Built entirely from source matching arch's PKGBUILD shape (no prebuilt binaries — applying the no-vendoring rule):

  1. Web frontend (`gui/`) — `yarn build` produces static assets at `service/server/router/web/` which the Go binary then embeds via `go:embed`.
  2. Go service (`service/`) — builds the `v2raya` daemon with the embedded web bundle.

Deps already in pantry: `go.dev`, `nodejs.org`, `classic.yarnpkg.com`. `CGO_ENABLED=0` for a static binary; `skip: fix-patchelf` since pure-Go binaries have no `.dynamic` section.

Linux + darwin (4 arches).

Test plan

  • Source build wiring traced against arch's PKGBUILD
  • CI green on `*nix64` / `*nix·ARM64` / `²` / `x64`
  • `v2raya --version` reports the upstream version

🤖 Generated with Claude Code

Two-stage source build matching arch's PKGBUILD:

1. Build the web frontend (gui/) with yarn → outputs static assets
   to service/server/router/web/, which the Go service embeds via
   go:embed at compile time.

2. Build the Go service (service/) with the embedded web bundle —
   yields a single statically-linked `v2raya` binary.

No prebuilt-binary path used — upstream ships pre-baked binaries but
the no-vendoring rule applies. Deps already in pantry: go.dev,
nodejs.org, classic.yarnpkg.com.

Closes pkgxdev#6711.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

+v2raya

1 participant