[GH-ISSUE #5474] [Feature]: Add a community-driven "Wiki" section for tutorials #3828

Closed
opened 2026-10-31 20:35:14 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @solidwar on GitHub (Jun 21, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5474

Yes. Users and new admins constantly face setup and connection issues. They flood Telegram groups with repetitive questions because tutorials are scattered across YouTube, GitHub, and chat logs.

Describe the solution you'd like

I would like to see a built-in Wiki section added to the panel.

  • Content Type: For short and simple tutorials, the text should be displayed directly inside the panel. For complex guides that require video, it should link out to platforms like YouTube (e.g., Mr. Sanaei's channel).

  • Community Driven: The feature should start with a few basic topics. After that, the community can contribute, update, and fix incorrect tutorials directly via GitHub.

  • Crowdsourced Quality: If a tutorial is outdated or has an error, the community can easily correct it on GitHub, and the panel will reflect the updated version.

Alternatives you've considered

No response

Concrete use case

No response

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

No response

Are you willing to help?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
Originally created by @solidwar on GitHub (Jun 21, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5474 ### Is your feature request related to a problem? Yes. Users and new admins constantly face setup and connection issues. They flood Telegram groups with repetitive questions because tutorials are scattered across YouTube, GitHub, and chat logs. ### Describe the solution you'd like I would like to see a built-in Wiki section added to the panel. - Content Type: For short and simple tutorials, the text should be displayed directly inside the panel. For complex guides that require video, it should link out to platforms like YouTube (e.g., Mr. Sanaei's channel). - Community Driven: The feature should start with a few basic topics. After that, the community can contribute, update, and fix incorrect tutorials directly via GitHub. - Crowdsourced Quality: If a tutorial is outdated or has an error, the community can easily correct it on GitHub, and the panel will reflect the updated version. ### Alternatives you've considered _No response_ ### Concrete use case _No response_ ### Mockups, screenshots, or examples _No response_ ### Which parts of the panel would this affect? _No response_ ### Are you willing to help? - [ ] I'd like to implement this feature myself and open a PR. - [ ] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 21, 2026):

The project already has a community-editable documentation channel: the GitHub Wiki, linked from the README. Before building a bespoke in-panel section, contributing there is the fastest path to the outcome you are describing — tutorials written there are immediately visible to anyone who searches the repo, require no panel changes, and accept community edits.

That said, the core idea of surfacing help content inside the panel is a valid enhancement request. Implementing it raises several open design questions that would need resolution before a PR could be accepted:

  • Content source: Should the panel fetch content at runtime from an external URL (GitHub wiki, raw files, a CDN)? If so, the panel must handle network failures gracefully and sanitize any HTML it renders to prevent XSS. Or should content be compiled into the binary at build time, which avoids runtime fetching but means tutorials are only updated with each release?
  • Maintenance burden: A built-in wiki section adds ongoing content maintenance alongside code changes. The project has 13 UI languages; translated tutorials would multiply that burden significantly.
  • Fragmentation risk: The project already has a docs folder (confirmed at the repo root, containing guides like the custom subscription templates reference and the real-client-IP guide) and a GitHub Wiki. A third location risks stale duplication.

If you want to move this forward, the most actionable contributions would be:

  1. Add tutorials to the GitHub Wiki — anyone can propose wiki edits, no code PR needed.
  2. If you intend to implement the in-panel feature (the checkbox above is unchecked), a design proposal covering the content delivery mechanism, rendering approach, and language handling would help maintainers evaluate scope before code is written.

This has been logged as a backlog enhancement.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4763045518 --> @github-actions[bot] commented on GitHub (Jun 21, 2026): The project already has a community-editable documentation channel: the [GitHub Wiki](https://github.com/MHSanaei/3x-ui/wiki), linked from the README. Before building a bespoke in-panel section, contributing there is the fastest path to the outcome you are describing — tutorials written there are immediately visible to anyone who searches the repo, require no panel changes, and accept community edits. That said, the core idea of surfacing help content inside the panel is a valid enhancement request. Implementing it raises several open design questions that would need resolution before a PR could be accepted: - **Content source**: Should the panel fetch content at runtime from an external URL (GitHub wiki, raw files, a CDN)? If so, the panel must handle network failures gracefully and sanitize any HTML it renders to prevent XSS. Or should content be compiled into the binary at build time, which avoids runtime fetching but means tutorials are only updated with each release? - **Maintenance burden**: A built-in wiki section adds ongoing content maintenance alongside code changes. The project has 13 UI languages; translated tutorials would multiply that burden significantly. - **Fragmentation risk**: The project already has a docs folder (confirmed at the repo root, containing guides like the custom subscription templates reference and the real-client-IP guide) and a GitHub Wiki. A third location risks stale duplication. If you want to move this forward, the most actionable contributions would be: 1. Add tutorials to the [GitHub Wiki](https://github.com/MHSanaei/3x-ui/wiki) — anyone can propose wiki edits, no code PR needed. 2. If you intend to implement the in-panel feature (the checkbox above is unchecked), a design proposal covering the content delivery mechanism, rendering approach, and language handling would help maintainers evaluate scope before code is written. This has been logged as a backlog enhancement. *This reply was generated automatically; a maintainer may follow up.*
Author
Owner

@solidwar commented on GitHub (Jun 21, 2026):

To make it easier and save time, you don't need to write all the tutorials now. For the upcoming versions, please just create the basic structure/UI container for this "Wiki" section.

We can start with just a few placeholder topics. Over time, the community will gradually complete, update, and maintain the tutorials on GitHub.

<!-- gh-comment-id:4763049242 --> @solidwar commented on GitHub (Jun 21, 2026): To make it easier and save time, you don't need to write all the tutorials now. For the upcoming versions, please just create the basic structure/UI container for this "Wiki" section. We can start with just a few placeholder topics. Over time, the community will gradually complete, update, and maintain the tutorials on GitHub.
Author
Owner

@solidwar commented on GitHub (Jun 21, 2026):

The project already has a community-editable documentation channel: the GitHub Wiki, linked from the README. Before building a bespoke in-panel section, contributing there is the fastest path to the outcome you are describing — tutorials written there are immediately visible to anyone who searches the repo, require no panel changes, and accept community edits.

That said, the core idea of surfacing help content inside the panel is a valid enhancement request. Implementing it raises several open design questions that would need resolution before a PR could be accepted:

  • Content source: Should the panel fetch content at runtime from an external URL (GitHub wiki, raw files, a CDN)? If so, the panel must handle network failures gracefully and sanitize any HTML it renders to prevent XSS. Or should content be compiled into the binary at build time, which avoids runtime fetching but means tutorials are only updated with each release?
  • Maintenance burden: A built-in wiki section adds ongoing content maintenance alongside code changes. The project has 13 UI languages; translated tutorials would multiply that burden significantly.
  • Fragmentation risk: The project already has a docs folder (confirmed at the repo root, containing guides like the custom subscription templates reference and the real-client-IP guide) and a GitHub Wiki. A third location risks stale duplication.

If you want to move this forward, the most actionable contributions would be:

  1. Add tutorials to the GitHub Wiki — anyone can propose wiki edits, no code PR needed.
  2. If you intend to implement the in-panel feature (the checkbox above is unchecked), a design proposal covering the content delivery mechanism, rendering approach, and language handling would help maintainers evaluate scope before code is written.

This has been logged as a backlog enhancement.

This reply was generated automatically; a maintainer may follow up.

Thank you for the detailed feedback. I completely understand the concerns regarding maintenance, XSS risks, and multi-language fragmentation.

Here is a simple, zero-maintenance approach we can consider for the future:

  1. No Code/Binary Overload: The panel doesn't need to host or render heavy HTML. It can simply have a "Help & Wiki" link/button in the sidebar that directly opens the existing GitHub Wiki or Docs folder in a new browser tab (target="_blank").
  2. Smart Language Redirection: The panel can detect the user's selected UI language and dynamically change the URL. For example:

This solves the issue immediately without any XSS risks, binary size increase, or fragmentation, while keeping all maintenance inside the GitHub Wiki where the community can edit it.

In the meantime, as suggested, I will encourage the community to start contributing and completing the tutorials directly on the GitHub Wiki first. Thanks again

<!-- gh-comment-id:4763067804 --> @solidwar commented on GitHub (Jun 21, 2026): > The project already has a community-editable documentation channel: the [GitHub Wiki](https://github.com/MHSanaei/3x-ui/wiki), linked from the README. Before building a bespoke in-panel section, contributing there is the fastest path to the outcome you are describing — tutorials written there are immediately visible to anyone who searches the repo, require no panel changes, and accept community edits. > > That said, the core idea of surfacing help content inside the panel is a valid enhancement request. Implementing it raises several open design questions that would need resolution before a PR could be accepted: > > * **Content source**: Should the panel fetch content at runtime from an external URL (GitHub wiki, raw files, a CDN)? If so, the panel must handle network failures gracefully and sanitize any HTML it renders to prevent XSS. Or should content be compiled into the binary at build time, which avoids runtime fetching but means tutorials are only updated with each release? > * **Maintenance burden**: A built-in wiki section adds ongoing content maintenance alongside code changes. The project has 13 UI languages; translated tutorials would multiply that burden significantly. > * **Fragmentation risk**: The project already has a docs folder (confirmed at the repo root, containing guides like the custom subscription templates reference and the real-client-IP guide) and a GitHub Wiki. A third location risks stale duplication. > > If you want to move this forward, the most actionable contributions would be: > > 1. Add tutorials to the [GitHub Wiki](https://github.com/MHSanaei/3x-ui/wiki) — anyone can propose wiki edits, no code PR needed. > 2. If you intend to implement the in-panel feature (the checkbox above is unchecked), a design proposal covering the content delivery mechanism, rendering approach, and language handling would help maintainers evaluate scope before code is written. > > This has been logged as a backlog enhancement. > > _This reply was generated automatically; a maintainer may follow up._ Thank you for the detailed feedback. I completely understand the concerns regarding maintenance, XSS risks, and multi-language fragmentation. Here is a simple, zero-maintenance approach we can consider for the future: 1) No Code/Binary Overload: The panel doesn't need to host or render heavy HTML. It can simply have a "Help & Wiki" link/button in the sidebar that directly opens the existing GitHub Wiki or Docs folder in a new browser tab (target="_blank"). 2) Smart Language Redirection: The panel can detect the user's selected UI language and dynamically change the URL. For example: - If Language == FA $\rightarrow$ Link to [github.com/.../wiki/Fa-Home] (https://github.com/.../wiki/Fa-Home) - If Language == EN $\rightarrow$ Link to [github.com/.../wiki/Home] (https://github.com/.../wiki/Home) This solves the issue immediately without any XSS risks, binary size increase, or fragmentation, while keeping all maintenance inside the GitHub Wiki where the community can edit it. In the meantime, as suggested, I will encourage the community to start contributing and completing the tutorials directly on the GitHub Wiki first. Thanks again
Author
Owner

@MHSanaei commented on GitHub (Jun 28, 2026):

https://github.com/MHSanaei/3x-ui-docs
Still working on it

<!-- gh-comment-id:4826238336 --> @MHSanaei commented on GitHub (Jun 28, 2026): https://github.com/MHSanaei/3x-ui-docs Still working on it
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3828
No description provided.