[PR #3581] [CLOSED] feat: multi-server-support #5455

Closed
opened 2026-10-31 20:47:06 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3581
Author: @dimasmir03
Created: 10/31/2025
Status: ❌ Closed

Base: main ← Head: feature/multi-server-support


📝 Commits (10+)

  • 11dc068 feat: Add multi-server support for Sanai panel
  • d65233c Merge branch 'main' into feature/multi-server-support
  • ae82373 Merge branch 'main' into feature/multi-server-support
  • 3299d15 Merge branch 'main' into feature/multi-server-support
  • a3ccccf Merge branch 'main' into feature/multi-server-support
  • 747af37 Merge branch 'main' into feature/multi-server-support
  • 5e953ba Merge branch 'main' into feature/multi-server-support
  • edd8b12 Merge branch 'main' into feature/multi-server-support
  • 51abd16 add EXPOSE port in Dockerfile
  • 4c7249c Merge branch 'main' into feature/multi-server-support

📊 Changes

48 files changed (+15339 additions, -1563 deletions)

View changed files

📝 .vscode/launch.json (+32 -32)
📝 .vscode/tasks.json (+8 -43)
📝 config/version (+1 -1)
📝 database/db.go (+1 -0)
📝 database/model/model.go (+10 -0)
📝 go.mod (+13 -11)
📝 go.sum (+16 -38)
📝 install.sh (+8 -1)
📝 logger/logger.go (+27 -99)
📝 main.go (+20 -2)
📝 sub/sub.go (+1 -1)
📝 sub/subJsonService.go (+1 -1)
📝 sub/subService.go (+48 -27)
➖ update.sh (+0 -258)
➖ util/ldap/ldap.go (+0 -144)
➖ web/assets/ant-design-vue/antd.min.js.map (+0 -1)
📝 web/assets/axios/axios.min.js (+2 -2)
➖ web/assets/axios/axios.min.js.map (+0 -1)
➕ web/assets/bootstrap/bootstrap.min.css (+13894 -0)
➕ web/assets/bootstrap/bootstrap.min.js (+7 -0)

...and 28 more files

📄 Description

I took the basis that @javadtgh did . I made a minimal version for this feature.
Every action in Inbounds is synchronized with all Servers. When adding a new server, it is possible to synchronize Inbounds on it using the Sync button.
So far, only Inbounds are synced.
To work with servers, an ApiKey has been added to avoid constantly doing /login and receiving cookies.

Взял основу которую делал @javadtgh . Сделал минимальную версия для данной фичи.
Каждое действие в Inbounds синхронизируется со всеми Servers. При добавлении нового сервера есть возможность синхронизировать на нём Inbounds с помощью кнопки Sync.
Пока синхронизируются только Inbounds.
Для работы с servers добавлен ApiKey чтобы не делать постоянно /login и получать куки.

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots

image image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3581 **Author:** [@dimasmir03](https://github.com/dimasmir03) **Created:** 10/31/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/multi-server-support` --- ### 📝 Commits (10+) - [`11dc068`](https://github.com/MHSanaei/3x-ui/commit/11dc06863e95108e54416dfd5ccc87753bb2f4c6) feat: Add multi-server support for Sanai panel - [`d65233c`](https://github.com/MHSanaei/3x-ui/commit/d65233cc2cbaf27a65f63f276b58afa2c3d2131f) Merge branch 'main' into feature/multi-server-support - [`ae82373`](https://github.com/MHSanaei/3x-ui/commit/ae8237345753d8ff8d64a53bfe12ecce22b76e5b) Merge branch 'main' into feature/multi-server-support - [`3299d15`](https://github.com/MHSanaei/3x-ui/commit/3299d15f28ba5b2bea1fcd628b3aec356bbac8bc) Merge branch 'main' into feature/multi-server-support - [`a3ccccf`](https://github.com/MHSanaei/3x-ui/commit/a3ccccfe529399c604d64cc4f183e14b4ee778fd) Merge branch 'main' into feature/multi-server-support - [`747af37`](https://github.com/MHSanaei/3x-ui/commit/747af376f270c46530f480da44221eba24fdd364) Merge branch 'main' into feature/multi-server-support - [`5e953ba`](https://github.com/MHSanaei/3x-ui/commit/5e953bae451c5622da9adc333ad6782ce8aa2ea2) Merge branch 'main' into feature/multi-server-support - [`edd8b12`](https://github.com/MHSanaei/3x-ui/commit/edd8b12988745eaec0a74b1bf736fe056b34dec6) Merge branch 'main' into feature/multi-server-support - [`51abd16`](https://github.com/MHSanaei/3x-ui/commit/51abd160a2e9c27f4518d24ac3736dfa29aaf2c7) add EXPOSE port in Dockerfile - [`4c7249c`](https://github.com/MHSanaei/3x-ui/commit/4c7249c451bdf0b6fa78f450468b686ca70b5440) Merge branch 'main' into feature/multi-server-support ### 📊 Changes **48 files changed** (+15339 additions, -1563 deletions) <details> <summary>View changed files</summary> 📝 `.vscode/launch.json` (+32 -32) 📝 `.vscode/tasks.json` (+8 -43) 📝 `config/version` (+1 -1) 📝 `database/db.go` (+1 -0) 📝 `database/model/model.go` (+10 -0) 📝 `go.mod` (+13 -11) 📝 `go.sum` (+16 -38) 📝 `install.sh` (+8 -1) 📝 `logger/logger.go` (+27 -99) 📝 `main.go` (+20 -2) 📝 `sub/sub.go` (+1 -1) 📝 `sub/subJsonService.go` (+1 -1) 📝 `sub/subService.go` (+48 -27) ➖ `update.sh` (+0 -258) ➖ `util/ldap/ldap.go` (+0 -144) ➖ `web/assets/ant-design-vue/antd.min.js.map` (+0 -1) 📝 `web/assets/axios/axios.min.js` (+2 -2) ➖ `web/assets/axios/axios.min.js.map` (+0 -1) ➕ `web/assets/bootstrap/bootstrap.min.css` (+13894 -0) ➕ `web/assets/bootstrap/bootstrap.min.js` (+7 -0) _...and 28 more files_ </details> ### 📄 Description # I took the basis that @javadtgh did . I made a minimal version for this feature. Every action in Inbounds is synchronized with all Servers. When adding a new server, it is possible to synchronize Inbounds on it using the Sync button. So far, only Inbounds are synced. To work with servers, an ApiKey has been added to avoid constantly doing /login and receiving cookies. Взял основу которую делал @javadtgh . Сделал минимальную версия для данной фичи. Каждое действие в Inbounds синхронизируется со всеми Servers. При добавлении нового сервера есть возможность синхронизировать на нём Inbounds с помощью кнопки Sync. Пока синхронизируются только Inbounds. Для работы с servers добавлен ApiKey чтобы не делать постоянно /login и получать куки. ## Which part of the application is affected by the change? - [ ] Frontend - [ ] Backend ## Type of Changes - [ ] Bug fix - [x] New feature - [ ] Refactoring - [ ] Other ## Screenshots <img width="1815" height="663" alt="image" src="https://github.com/user-attachments/assets/39712518-8e25-425b-aaeb-f2d4ed36472b" /> <img width="687" height="714" alt="image" src="https://github.com/user-attachments/assets/9e4b5273-3fa6-44b4-9967-d557c58b14f0" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:06 +07:00
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#5455
No description provided.