Skip to content

feat: support Xray JSON subscriptions & overhaul state - #18

Merged
luynrs merged 4 commits into
mainfrom
refactors/feat-and-cq
Sep 2, 2026
Merged

feat: support Xray JSON subscriptions & overhaul state#18
luynrs merged 4 commits into
mainfrom
refactors/feat-and-cq

Conversation

@luynrs

@luynrs luynrs commented Sep 2, 2026

Copy link
Copy Markdown
Owner

What changed?

  • Parse native Xray JSON sub feeds & configs (VLESS + Reality/TLS, TCP, WS, gRPC, HTTP)
  • Group share links (vless://, vmess://, trojan:// etc) under Default
  • Reorder subs & the Default group with Shift+Up/Down
  • Granular delete: d on a node drops just that node, on header drops the whole sub
  • Drop janky TUI bool flags, use .Focused() directly to prevent text jumps and keybind desyncs
  • Return plain error from Core mutations & unify s.mutation dispatch on server
  • Adopt wg.Go across workers and strings.Lines / SplitSeq iterators in parsers
  • Bump grpc to v1.83.1 and update vendorHash in flake.nix

What got nuked?

  • platform/console pkg (rip dead shit 🪦)
  • Janky editing/filtering bool flags in TUI
  • Redundant status/sub return tuples in Core
  • Unused ctx param in Engine.Stop

Closes #17

- parse xray json configs with VLESS reality/tls
- support tcp, ws, grpc and http transports
- add unit tests and fuzzing cases
- return plain error from core mutations and unify with s.mutation
- use textinput.Focused() in TUI instead of boolean flags
- embed sub metadata into tree rows to drop redundant lookups
- consolidate device info and drop dead console package
- adopt Go 1.26 iterators and wg.Go across workers and parsers
@luynrs
luynrs merged commit 693fd26 into main Sep 2, 2026
1 check passed
@luynrs
luynrs deleted the refactors/feat-and-cq branch September 2, 2026 14:56
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