mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5034] [Feature]: Initializing Wizard for Newbie Users #3546
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3546
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DanyPrinceOP on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5034
Is your feature request related to a problem?
I propose adding an initial setup wizard that guides users through the essential configuration steps and automatically generates a functional baseline setup.
The wizard could include:
Language selection
Basic configuration presets
Domain selection
Preference sliders or choices such as:
After the user selects these options, the wizard would generate a default, working configuration that they can later customize in detail.
This reduces the cognitive load for beginners while still preserving full flexibility for advanced users.
Describe the solution you'd like
In this wizard, users could choose the language, basic options, the domains they want to add, and whether they prefer security, speed, load‑balancing, region selection, and so on.
After selecting these options, the wizard would generate the initial configuration, and users could then customize everything based on those defaults.
Right now, someone who wants to set up the panel for personal use or for friends gets overwhelmed by the large number of options, which makes it difficult to configure the panel correctly.
Providing these initial default values would help beginners a lot by giving them a solid starting point that they can adjust later.
Alternatives you've considered
None of these alternatives solve the core issue: new users need a guided, structured starting point.
Concrete use case
A typical scenario:
A user wants to deploy the panel for their family or small group of friends. They only need a few inbounds and a simple domain setup, but they are confronted with dozens of configuration options.
A wizard would allow them to complete the setup in under 5 minutes, instead of spending hours searching for tutorials or risking misconfiguration.
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
Frontend (UI / panel pages), Install / upgrade script, Backend (API endpoints, login, settings)
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jun 6, 2026):
Thanks for the detailed write-up — the use case is clear and well-motivated.
What exists today
A few pieces of the puzzle already exist:
install.sh(lines 899–901) already generates a random username, password, and web base path; the user is prompted about port and SSL at that point too. So the CLI installation already has a minimal guided step.frontend/src/pages/login/LoginPage.tsxexposes the full 13-language selector (powered byLanguageManager) even before the user logs in. Language therefore doesn't need to be part of a post-login wizard.What does not exist is any in-panel first-run wizard: there is no setup-complete flag in the database, no wizard route in the React frontend, and no API endpoint to drive one.
What this feature would require
Implementing a full wizard is a sizeable, multi-layer effort:
Settingstable so the panel knows whether to show the wizardPOST /panel/api/setup/complete) to persist wizard choices and mark setup donexray/and is protocol-specific/setup) with a multi-stepStepscomponent (Ant Design has one), guarded so it only appears when the setup flag is unset; the dashboard redirects there on first loginThe tricky part is the config-generation step: mapping "prefer security" to a sensible VLESS+REALITY or Trojan+TLS inbound, versus "prefer speed" to a VMess/XHTTP inbound, requires opinionated but reasonable defaults, and those defaults will age as Xray evolves.
Suggestions for anyone picking this up
Settingkey (seeweb/service/setting.go) — no schema change needed, just a new key.<Steps>modal shown on the first visit to the dashboard when that flag is absent — minimal new routing needed.If you'd like to implement this, the above gives a concrete starting point. PRs are very welcome!
@ckun52880 commented on GitHub (Jun 6, 2026):
If you wish to add new features, it is recommended to change the initialization wizard to optional. For some users, the initialization wizard is redundant. Language selection can be set to mandatory before user login.
@rqzbeh commented on GitHub (Jun 8, 2026):
https://github.com/iampedii/WhiteDNS-Wizard