Xray panel supporting multi-protocol multi-user expire day & traffic & ip limit (Vmess & Vless & Trojan & ShadowSocks & Wireguard)
Find a file
lolka1333 4800f8fb70
feat: Real-time Outbound Traffic, UI Improvements & Fix (#3629)
* Refactor HTML and JavaScript for improved UI and functionality

- Cleaned up JavaScript methods in subscription.js for better readability.
- Updated inbounds.html to clarify traffic update handling and removed unnecessary comments.
- Enhanced xray.html by correcting casing in routingDomainStrategies.
- Added mobile touch scrolling styles in page.html for better tab navigation on small screens.
- Streamlined vless.html by removing redundant line breaks and improving form layout.
- Refined subscription subpage.html for better structure and user experience.
- Adjusted outbounds.html to improve button visibility and functionality.
- Updated xray_traffic_job.go to ensure accurate traffic updates and real-time UI refresh.

* Refactor client traffic handling in InboundService

- Updated addClientTraffic method to initialize onlineClients as an empty slice instead of nil.
- Improved clarity and consistency in handling empty onlineUsers scenario.

* Add WebSocket support for outbounds traffic updates

- Implemented WebSocket connection in xray.html to handle real-time updates for outbounds traffic.
- Enhanced xray_traffic_job.go to retrieve and broadcast outbounds traffic updates.
- Introduced MessageTypeOutbounds in hub.go for managing outbounds messages.
- Added BroadcastOutbounds function in notifier.go to facilitate broadcasting outbounds updates to connected clients.

---------

Co-authored-by: lolka1333 <test123@gmail.com>
2026-01-05 05:50:40 +01:00
.github feat: Add WebSocket support for real-time updates and enhance VLESS settings (#3605) 2026-01-03 05:26:00 +01:00
.vscode DevTools 2025-10-02 01:47:12 +02:00
config v2.8.6 2026-01-03 06:44:39 +01:00
database fix(import): prevent sqlite disk I/O error by validating temp DB then swapping 2025-10-14 22:03:17 +02:00
logger feat: add file logger support (#3575) 2025-10-09 17:39:29 +02:00
media donate: nowpayments 2025-09-18 20:14:10 +02:00
sub vless: use Inbound Listen address in Subscription service (#3610) 2026-01-03 04:39:30 +01:00
util gofmt 2025-10-21 13:02:55 +02:00
web feat: Real-time Outbound Traffic, UI Improvements & Fix (#3629) 2026-01-05 05:50:40 +01:00
windows_files update dependencies 2025-09-20 09:48:54 +02:00
xray feat: Add WebSocket support for real-time updates and enhance VLESS settings (#3605) 2026-01-03 05:26:00 +01:00
.env.example fix: display of outbound traffic (#3604) 2025-12-23 15:43:25 +01:00
.gitignore Moved DB to same app folder on Windows (#3340) 2025-08-13 23:19:59 +02:00
CONTRIBUTING.md fix: display of outbound traffic (#3604) 2025-12-23 15:43:25 +01:00
docker-compose.yml chore: build image in docker compose 2025-06-13 15:25:13 +07:00
DockerEntrypoint.sh chore: X_UI_ENABLE_FAIL2BAN -> XUI_ENABLE_FAIL2BAN (#3030) 2025-05-22 08:21:23 +02:00
Dockerfile Added curl dependency to Dockerfile for improved functionality (#3617) 2026-01-03 17:18:28 +01:00
DockerInit.sh Remove wget dependency from everywhere (#3598) 2026-01-03 06:41:40 +01:00
go.mod update dependencies 2026-01-03 05:36:05 +01:00
go.sum update dependencies 2026-01-03 05:36:05 +01:00
install.sh ip cert (#3631) 2026-01-05 05:47:15 +01:00
LICENSE 3x-ui 2023-02-09 22:48:06 +03:30
main.go Fix: Invoke service.StopBot() in signal handlers (#3583) 2025-11-01 14:33:35 +01:00
README.ar_EG.md readme: Go Report Card,Go Reference 2025-09-19 10:29:34 +02:00
README.es_ES.md readme: Go Report Card,Go Reference 2025-09-19 10:29:34 +02:00
README.fa_IR.md readme: Go Report Card,Go Reference 2025-09-19 10:29:34 +02:00
README.md Improve English README (#3579) 2025-11-01 12:48:16 +01:00
README.ru_RU.md readme: Go Report Card,Go Reference 2025-09-19 10:29:34 +02:00
README.zh_CN.md readme: Go Report Card,Go Reference 2025-09-19 10:29:34 +02:00
update.sh ip cert (#3631) 2026-01-05 05:47:15 +01:00
x-ui.rc Add Alpine Linux support (#3534) 2025-09-22 21:56:43 +02:00
x-ui.service.debian Added EnvironmentFile to systemd unit (#3606) 2026-01-03 03:37:48 +01:00
x-ui.service.rhel Added EnvironmentFile to systemd unit (#3606) 2026-01-03 03:37:48 +01:00
x-ui.sh ip cert (#3631) 2026-01-05 05:47:15 +01:00

English | فارسی | العربية | 中文 | Español | Русский

3x-ui

Release Build GO Version Downloads License Go Reference Go Report Card

3X-UI — advanced, open-source web-based control panel designed for managing Xray-core server. It offers a user-friendly interface for configuring and monitoring various VPN and proxy protocols.

Important

This project is only for personal usage, please do not use it for illegal purposes, and please do not use it in a production environment.

As an enhanced fork of the original X-UI project, 3X-UI provides improved stability, broader protocol support, and additional features.

Quick Start

bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)

For full documentation, please visit the project Wiki.

A Special Thanks to

Acknowledgment

  • Iran v2ray rules (License: GPL-3.0): Enhanced v2ray/xray and v2ray/xray-clients routing rules with built-in Iranian domains and a focus on security and adblocking.
  • Russia v2ray rules (License: GPL-3.0): This repository contains automatically updated V2Ray routing rules based on data on blocked domains and addresses in Russia.

Support project

If this project is helpful to you, you may wish to give it a🌟

Buy Me A Coffee
Crypto donation button by NOWPayments

Stargazers over Time

Stargazers over time