Skip to content

Add VLESS proxies and subscription import - #212

Open
OGRYZOK-dev wants to merge 4 commits into
ProxyShard:mainfrom
OGRYZOK-dev:feat/add-proxy-autodetect
Open

OGRYZOK-dev wants to merge 4 commits into
ProxyShard:mainfrom
OGRYZOK-dev:feat/add-proxy-autodetect

Conversation

@OGRYZOK-dev

Copy link
Copy Markdown

Summary

Adds VLESS proxies through a managed Xray-core bridge, proxy subscriptions, and subscription detection inside Add proxies.

  • VLESS URIs can be parsed, edited, imported, tested, and used to launch a profile. The launcher downloads and runs Xray-core and shuts those bridges down on quit.
  • A subscription URL can be refreshed on an interval. Its nodes show under their own tab, separate from proxies added by hand.
  • Pasting into Add proxies detects a subscription link. One link asks for a name and auto-update. Several links add together. A mix of links and proxy lines previews the proxies and adds the subscriptions with them.
  • Editing a subscription stays on its card. Team workspaces do not import subscriptions.

npm run check passed locally: tsc, lint, i18n, errors, classes, ui-kit (390), script tests, unit tests (113), contrast, and colors.

Test plan

  • Paste https://provider.example/sub/token into Add proxies and add the subscription
  • Paste two subscription URLs and confirm both are added
  • Paste a subscription URL plus a VLESS or SOCKS line, preview the proxies, and confirm the subscription is added with them
  • Paste a normal socks5:// line and confirm it still previews as a proxy
  • Refresh and edit a subscription from its card
  • Launch a profile on a VLESS proxy and quit the launcher so the bridge process exits

Pasting a subscription URL into Add proxies adds the subscription. A mix of links and proxy lines previews the proxies and adds the subscriptions with them. Editing a subscription stays on its card.

The quit warning now matches the VLESS backend text, and npm run check matches allowlists and Rust line continuations on Windows.

This branch has not been deployed

No deployments
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.

1 participant