Skip to content

Feature Request: More Customizable JSON Sub #1138

@AliBelali

Description

@AliBelali

As a user of X-UI, I propose the addition of a customization JSON sub that provides more fine-grained control over routes and domain strategies. This enhancement will empower developers to tailor X-UI to their specific requirements, making it a more versatile and adaptable tool.

Key Features:

  1. Customizable Routes:

    • Current State: X-UI offers a set of default routes with some direct routing options.
    • Enhancement: Allow users to define their own custom routes via a JSON configuration, similar to the Advanced Xray Configuration Template.
    • Benefit: Developers can easily modify routes without directly manipulating the SQLite database. Custom routes can be specified directly in the JSON sub.
  2. Separated Buttons for Domains and IP Addresses:

    • Current State: Direct country options add both country domains and IP addresses to the routing table simultaneously.
    • Enhancement: Provide separate buttons or options for adding domain-based routes and IP-based routes.
    • Benefit: Clear separation simplifies configuration and ensures better management of routing rules.
  3. Customizable Strategies:

    • Current State: Certain JSON sub options (e.g., "queryStrategy" in the DNS section, "sniffing" in the inbound section, and "domainStrategy" in the routing section) are hard-coded in the app.
    • Enhancement: Introduce drop-down menus or configurable options for these strategies within the JSON sub.
    • Benefit: Developers can fine-tune settings without needing to recompile the app. This flexibility aligns with the approach used in Xray configs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestto deployTo be deployed during the time

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions