Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: More Customizable JSON Sub #1138

Open
AliBelali opened this issue Mar 31, 2024 · 1 comment
Open

Feature Request: More Customizable JSON Sub #1138

AliBelali opened this issue Mar 31, 2024 · 1 comment
Labels
enhancement New feature or request to deploy To be deployed during the time

Comments

@AliBelali
Copy link

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.
@AliBelali AliBelali added the enhancement New feature or request label Mar 31, 2024
@alireza0 alireza0 added the to deploy To be deployed during the time label Apr 9, 2024
@alireza0
Copy link
Owner

alireza0 commented Apr 9, 2024

Thank you for your suggestion and clear reason.
Actually I am waiting for more support in clients and these changes was in my mind.
I will keep it to deploy them in proper releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request to deploy To be deployed during the time
Projects
None yet
Development

No branches or pull requests

2 participants