233boy / 233boy/Xray

能否支持分流?

Open
#84 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
2.7k
Forks
1.1k
Avg merge
1d 6h
Merged PRs (30d)
2

Description

mack-a的八合一就可以分流 使用route之类的


  "routing": {
    "rules": [
      {
        "type": "field",
        "domain": [
          "domain:gstatic.com",
          "domain:googleapis.com",
          "domain:googleapis.cn",
          "geosite:google",
          "geosite:youtube",
          "geosite:twitter",
          "geosite:github"
        ],
        "outboundTag": "z_direct_outbound"
      },
      {
        "type": "field",
        "domain": [
          "geosite:openai",
          "geosite:category-games",
          "geosite:category-ai-chat-!cn",
          "imgur.com",
          "onstove.com",
          "playstove.com",
          "smilegate.com",
          "nc.com",
          "plaync.com",
          "guidedhacking.com",
          "unknowncheats.me",
          "ownedcore.com",
          "gitlab.com"
        ],
        "outboundTag": "socks5_outbound"
      },

大佬能否移植一下

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating where the Shell script generates or updates Xray configuration, then compare that entry point with Xray routing documentation and the example rules in the issue. Done means the script can configure domain-based outbound routing and the resulting configuration is validated without breaking existing setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.