Repository navigation
[v0.9.9] - 2026-11-29
π Features & Enhancements
-
Remote Nodes & External Inbounds (Multi-Server Architecture):
- Centralized Control Plane + Remote Traffic Exit: Assign any inbound to execute on an external node server while keeping all client records, quotas, expirations, online limits, and subscriptions centralized on the main panel (
internal/database/model,internal/web/service/node.go). - Standalone
x-ui nodeAgent (cmd/node.go,internal/node/): Lightweight node daemon secured with panel-generated pinned ECDSA TLS certificates and per-node Bearer tokens, managing remote Xray lifecycle, incremental config sync, health telemetry (CPU, RAM, uptime, Xray version/state), live log streaming, and traffic delta reporting. - One-Click Node Setup (
systemd& OpenWrtprocd): Built-in install script generator with automatic environment setup (/etc/x-ui/x-ui-node.env), per-node traffic usage coefficient multipliers (0.5x,1x,1.5x,2x, custom), and either panel-inherited or per-node validated Xray JSON templates. - Live Sync, Traffic Aggregation & Subscriptions: Automatic
HotSyncSessionconfig pushes on inbound/client mutations, backgroundNodeMonitorJobhealth & traffic collection, and automatic node host substitution in client links and/subendpoints (internal/sub). - Nodes Management UI & 13-Language Localization: New
/panel/nodespage (nodes.html) featuring cluster KPI cards, status filter pills, empty-state onboarding, click-to-copy endpoints, CPU/RAM usage bars, searchable node logs modal, inbound node selector (dbinbound.js,inbounds.html), and full translations across all 13 supported locales.
- Centralized Control Plane + Remote Traffic Exit: Assign any inbound to execute on an external node server while keeping all client records, quotas, expirations, online limits, and subscriptions centralized on the main panel (
-
Full OpenWrt &
musllibc Router Support:- Static
muslRelease Binaries & Build Tooling: Updated.github/workflows/release.yml,build.sh, andbuild.ps1to cross-compile Linux release binaries statically againstmusl(cross-tools/musl-crosstoolchains withCGO_CFLAGS="-D_LARGEFILE64_SOURCE",-linkmode external -extldflags '-static',GOMIPS=softfloatfor 32-bit MIPS, or pure-GoCGO_ENABLED=0static fallback on non-MIPS targets), bundlex-ui.init, addopenwrt-*target aliases, pass-mod=readonlywhenvendor/is out of sync (build.sh,build.ps1,Dockerfile,release.yml), and guard GitHub Release uploads withstartsWith(github.ref, 'refs/tags/')for branch workflow runs. - OpenWrt
procdInit Script (x-ui.init): Added native/etc/init.d/x-uiprocdservice support loading/etc/x-ui/x-ui.env, exportingXUI_BIN_FOLDER,XUI_DB_FOLDER, andXUI_LOG_FOLDER, settingnofilelimits, and cleaning up child processes on stop. - Pure POSIX
/bin/shInstaller & Management Script: Rewroteinstall.shandx-ui.shwith LF line endings and zerobashdependencies to run natively on OpenWrt BusyBoxash,opkg/apk,procd, UCI firewall rules,logreadlogs,kmod-tcp-bbr,musldetection, MIPS/MIPSLE endianness detection, andwget/uclient-fetch/curl. - Runtime OpenWrt Portability & Manual Install Docs: Updated Go binary path resolution (
config/config.go,main.go,xray/process.go,internal/mtproto/process.go), in-panel self-update & restart/log fallbacks (internal/web/controller/server.go,internal/web/service/server.go), and added POSIXsh+procdmanual installation guides across all localized READMEs (README.md,README.fa_IR.md,README.ar_EG.md,README.es_ES.md,README.ru_RU.md,README.zh_CN.md).
- Static
-
Subscription Template File Upload & Live Editor Controls:
- Local
sub.htmlTemplate Upload Section: Added a dedicated "Upload File" tab with an interactive drag-and-drop zone (a-upload-dragger) in the Sub Template Manager modal (settings.html) to upload localsub.html,index.html, or.tplfiles with direct file apply and editor-load options. - Editor Upload Toolbar Action: Added an "Upload File" button directly inside the Live Editor toolbar (
settings.html), allowing administrators to import local HTML files directly into CodeMirror and inspect live rendered output immediately. subCustomUIPersistence on Save: UpdatedServerController.saveSubTemplateContent(internal/web/controller/server.go) to persistSetSubCustomUI(true)when saving template content.- 13-Language i18n: Added translation keys for all new upload actions and tabs across all 13 supported languages.
- Local
π Bug Fixes & Improvements
- Nodes Page Mobile Layout: Refined the mobile toolbar and table spacing, moved row actions into the overflow menu, removed inline IP and template badges, and aligned status badges.
- Remote Node Client Enforcement & Traffic Retention: Keep disabled, expired, and quota-exhausted clients out of active inbound configs, force remote node syncs when client eligibility changes, and preserve pending traffic totals across Xray restarts.
- Sub Template Modal Mobile Layout & CodeMirror Scrolling:
- Mobile Card Button Overlap Resolution: Eliminated action button overlap on theme catalog cards across mobile screens by switching to standardized
<a-button>components and responsive flex wrappers (.sub-theme-card-actions). - Smooth CodeMirror Scrolling & Mobile Sizing: Fixed code editor scrolling and touch trapping on iOS and mobile devices by removing
overflow: hidden !important;on.CodeMirror, enabling-webkit-overflow-scrolling: touchandoverscroll-behavior: containon.CodeMirror-scroll, making editor and preview panes responsive (100%width on mobile), and auto-refreshing CodeMirror layout on tab switches.
- Mobile Card Button Overlap Resolution: Eliminated action button overlap on theme catalog cards across mobile screens by switching to standardized
- Documentation & Stargazers Links:
- Updated the "Star History" section and replaced stargazers chart links across all localized READMEs (
README.md,README.ar_EG.md,README.es_ES.md,README.fa_IR.md,README.ru_RU.md,README.zh_CN.md).
- Updated the "Star History" section and replaced stargazers chart links across all localized READMEs (
π§ Dependencies
- Updated Go modules in
go.mod/go.sum:github.com/valyala/fasthttp:v1.78.0βv1.80.0github.com/amnezia-vpn/amneziawg-go/v3:v3.1.20260828βv3.1.20261116modernc.org/sqlite:v1.55.0βv1.62.0modernc.org/libc:v1.74.1βv1.81.2golang.org/x/net:v0.62.0βv0.63.0golang.org/x/crypto:v0.58.0βv0.59.0github.com/quic-go/quic-go:v0.64.1βv0.65.0github.com/klauspost/compress:v1.20.3βv1.20.4- Indirect dependency updates:
golang.org/x/text(v0.43.0βv0.44.0),golang.org/x/sync(v0.24.0βv0.25.0),github.com/dustin/go-humanize(v1.0.1βv1.1.0),github.com/ncruces/go-strftime(v1.0.0βv1.1.0), andmodernc.org/memory(v1.11.0βv1.12.1).