Git Product home page Git Product logo

alireza0 / x-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hossinasaadi/x-ui

2.5K 39.0 375.0 35.96 MB

xray panel supporting multi-protocol multi-user expire day & traffic (Vmess & Vless & Trojan & Shadowsocks)

Home Page: https://t.me/XrayUI

License: GNU General Public License v3.0

Shell 1.04% JavaScript 81.09% Go 5.68% CSS 0.76% HTML 11.42% Dockerfile 0.01% Less 0.01%
trojan v2ray x-ui xray vmess vless xray-core reality shadowsocks

x-ui's Introduction

X-UI

An Advanced Web Panel • Built on Xray Core

Go Report Card Downloads License

Disclaimer: This project is only for personal learning and communication, please do not use it for illegal purposes, please do not use it in a production environment

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

"Buy Me A Coffee"

  • USDT (TRC20): TYTq73Gj6dJ67qe58JVPD9zpjW2cc9XgVz
  • Tezos (XTZ): tz2Wnh2SsY1eezXrcLChu6idWpgdHzUFQcts

Quick Overview

Features Enable?
Multi-Protocol ✔️
Multi-Language ✔️
Multi-Client/Inbound ✔️
Advanced Traffic Routing Interface ✔️
Client & Traffic & System Status ✔️
Date & Traffic Cap Based on First Use ✔️
REST API ✔️
TG Bot (DB backup + admin + client) ✔️
Subscription Service (link + info) ✔️
Search in Deep ✔️
Dark/Light Theme ✔️

Install & Upgrade to Latest Version

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

Install Custom Version

Step 1: To install your desired version, add the version to the end of the installation command. e.g., ver 1.8.0:

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

Manual Install & Upgrade

Click for details

Usage

  1. To download the latest version of the compressed package directly to your server, run the following command:
ARCH=$(uname -m)
case "${ARCH}" in
  x86_64 | x64 | amd64) XUI_ARCH="amd64" ;;
  i*86 | x86) XUI_ARCH="386" ;;
  armv8* | armv8 | arm64 | aarch64) XUI_ARCH="arm64" ;;
  armv7* | armv7) XUI_ARCH="armv7" ;;
  *) XUI_ARCH="amd64" ;;
esac

wget https://github.com/alireza0/x-ui/releases/latest/download/x-ui-linux-${XUI_ARCH}.tar.gz
  1. Once the compressed package is downloaded, execute the following commands to install or upgrade x-ui:
ARCH=$(uname -m)
case "${ARCH}" in
  x86_64 | x64 | amd64) XUI_ARCH="amd64" ;;
  i*86 | x86) XUI_ARCH="386" ;;
  armv8* | armv8 | arm64 | aarch64) XUI_ARCH="arm64" ;;
  armv7* | armv7) XUI_ARCH="armv7" ;;
  *) XUI_ARCH="amd64" ;;
esac
cd /root/
rm x-ui/ /usr/local/x-ui/ /usr/bin/x-ui -rf
tar zxvf x-ui-linux-${XUI_ARCH}.tar.gz
chmod +x x-ui/x-ui x-ui/bin/xray-linux-* x-ui/x-ui.sh
cp x-ui/x-ui.sh /usr/bin/x-ui
cp -f x-ui/x-ui.service /etc/systemd/system/
mv x-ui/ /usr/local/
systemctl daemon-reload
systemctl enable x-ui
systemctl restart x-ui

Install using Docker

Click for details

Usage

Step 1: Install Docker

curl -fsSL https://get.docker.com | sh

Step 2: Clone the Project Repository:

git clone https://github.com/alireza0/x-ui.git
cd x-ui

Step 3: Start the Service

docker compose up -d

OR

mkdir x-ui && cd x-ui
docker run -itd \
    -p 54321:54321 -p 443:443 -p 80:80 \
    -e XRAY_VMESS_AEAD_FORCED=false \
    -v $PWD/db/:/etc/x-ui/ \
    -v $PWD/cert/:/root/cert/ \
    --name x-ui --restart=unless-stopped \
    alireza7/x-ui:latest

update to latest version

 cd x-ui
 docker compose down
 docker compose pull x-ui
 docker compose up -d

remove x-ui from docker

 docker stop x-ui
 docker rm x-ui
 cd --
 rm -r x-ui

Build your own image

docker build -t x-ui .

Languages

  • English
  • Chinese
  • Farsi
  • Russian
  • Vietnamese

Features

  • Supports protocols including VLESS, VMess, Trojan, Shadowsocks, Dokodemo-door, SOCKS, HTTP, Wireguard
  • Supports XTLS protocols, including Vision and REALITY
  • An advanced interface for routing traffic, incorporating PROXY Protocol, Reverse, External, and Transparent Proxy, along with Multi-Domain, SSL Certificate, and Port
  • Support auto generate Cloudflare WARP using Wireguard outbound
  • An interactive JSON interface for Xray template configuration
  • An advanced interface for inbound and outbound configuration
  • Clients’ traffic cap and expiration date based on first use
  • Displays online clients, traffic statistics, and system status monitoring
  • Deep database search
  • Displays depleted clients with expired dates or exceeded traffic cap
  • Subscription service with (multi)link
  • Importing and exporting databases
  • One-Click SSL certificate application and automatic renewal
  • HTTPS for secure access to the web panel and subscription service (self-provided domain + SSL certificate)
  • Dark/Light theme

Recommended OS

  • CentOS 8+
  • Ubuntu 20+
  • Debian 10+
  • Fedora 36+

Preview

inbounds Dark inbounds outbounds rules warp

API Routes

Click for details

Usage

  • /login with PUSH user data: {username: '', password: ''} for login
  • /xui/API/inbounds base for following actions:
Method Path Action
GET "/" Get all inbounds
GET "/get/:id" Get inbound with inbound.id
GET "/createbackup" Telegram bot sends backup to admins
POST "/add" Add inbound
POST "/del/:id" Delete inbound
POST "/update/:id" Update inbound
POST "/addClient/" Add client to inbound
POST "/:id/delClient/:clientId" Delete client by clientId*
POST "/updateClient/:clientId" Update client by clientId*
GET "/getClientTraffics/:email" Get client's traffic
POST "/:id/resetClientTraffic/:email" Reset client's traffic
POST "/resetAllTraffics" Reset traffics of all inbounds
POST "/resetAllClientTraffics/:id" Reset inbound clients traffics (-1: all)
POST "/delDepletedClients/:id" Delete inbound depleted clients (-1: all)
POST "/onlines" Get online users ( list of emails )

*- The field clientId should be filled by:

  • client.id for VMess and VLESS
  • client.password for Trojan
  • client.email for Shadowsocks

Environment Variables

Click for details

Usage

Variable Type Default
XUI_LOG_LEVEL "debug" | "info" | "warn" | "error" "info"
XUI_DEBUG boolean false
XUI_BIN_FOLDER string "bin"
XUI_DB_FOLDER string "/etc/x-ui"

SSL Certificate

Click for details

Cloudflare

The admin management script has a built-in SSL certificate application for Cloudflare. To use this script to apply for a certificate, you need the following:

  • Cloudflare registered email
  • Cloudflare Global API Key
  • The domain name has been resolved to the current server through cloudflare

Step 1: Run thex-uicommand on the server's terminal and then choose 17. Then enter the information as requested.

Certbot

snap install core; snap refresh core
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot

certbot certonly --standalone --register-unsafely-without-email --non-interactive --agree-tos -d <Your Domain Name>

Telegram Bot

Click for details

Usage

The web panel supports daily traffic, panel login, database backup, system status, client info, and other notification and functions through the Telegram Bot. To use the bot, you need to set the bot-related parameters in the panel, including:

  • Telegram Token
  • Admin Chat ID(s)
  • Notification Time (in cron syntax)
  • Database Backup
  • CPU Load Threshold Notification

Crontab Time Format

Reference syntax:

  • */30 * * * * - Notify every 30 minutes, every hour
  • 30 * * * * * - Notify at the 30th second of each minute
  • 0 */10 * * * * - Notify at the start of every 10 minutes
  • @hourly - Hourly notification
  • @daily - Daily notification (00:00 AM)
  • @every 8h - Notify every 8 hours

For more info about Crontab

Features

  • Periodic reporting
  • Login notifications
  • CPU load threshold notifications
  • Advance notifications for expiration time and traffic
  • Client reporting menu with Telegram ID or username in configurations
  • Anonymous traffic reports, search by UUID (VLESS/VMess) or Password (Trojan/Shadowsocks)
  • Menu-based bot
  • Client search by email (admin only)
  • Inbound checks
  • System status check
  • Depleted client checks
  • Backup on request and in periodic reports
  • Multilingual support

Troubleshoots

Click for details

Enable Traffic Usage

If you are upgrading from an older version or other forks and find that data traffic usage for clients may not work by default, follow the steps below to enable it:

Step 1: Locate the Configuration Section

Find the following section in the config file:

  "policy": {
    "system": {
      // Other policy configurations
    }
  },

Step 2: Add the Required Configuration

Add the following section just after "policy": {:

"levels": {
  "0": {
    "statsUserUplink": true,
    "statsUserDownlink": true
  }
},

Step 3: Final Configuration

Your final config should look like this:

"policy": {
  "levels": {
    "0": {
      "statsUserUplink": true,
      "statsUserDownlink": true
    }
  },
  "system": {
    "statsInboundDownlink": true,
    "statsInboundUplink": true
  }
},
"routing": {
  // Other routing configurations
},

Step 4: Save and Restart

Save your changes and restart the Xray Service

A Special Thanks to

Acknowledgment

  • Loyalsoldier (License: GPL-3.0): The enhanced version of V2Ray routing rule.
  • 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.

Stargazers over Time

Stargazers over time

x-ui's People

Contributors

alireza0 avatar arashmehrani avatar dependabot[bot] avatar enkidu-6 avatar erfantech avatar forkeer avatar foroughi1380 avatar franzkafkayu avatar gswxxn avatar hamid-gh98 avatar hossinasaadi avatar lk29 avatar masoud-hidden avatar masterkia avatar mhsanaei avatar mmmmmoris avatar mmrabbani avatar nshayanfar avatar proshir avatar pvolkov avatar saph1s avatar shahin-io avatar shellgate avatar sly-fresh avatar sudospaes avatar tararostami avatar vaxilu avatar vnxme avatar vuong2023 avatar x-oracle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

x-ui's Issues

issue with users data usage

I have your x-ui v 2.04 (latest)
And I used with clean install with moving all the clients from old panel to yours
The issues that I'm seeing and facing

The usage counter doesn't work on most of the accounts
And some of them are overused

all client status

سلام
خسته نباشید بابت زحماتی که میکشید
این پیام رو یکی از دوستان دادند تا براش ایشو بزنم و ایشو خود من نیست.
مرسی

قابلیت دوم که اگر اد بشه عالی هست 
اینکه تعداد یوزرهای ساخته شده ، فعال و غیر فعال داخل اکانت نمایش داده بشه
در پنل اصلی چینی چون روی هر پورت فقط یک اکانت میشد ساخت در نتیجه تعداد inbound ها برابر بود با تعداد کاربر ها و صاحب پنل به راحتی میتونست متوجه بشه چندتا یوزر داره
ولی در پنل شما که روی هر اینباند و پورت میشه چندین یوزر تعریف کرد عملا تعداد اینباند ها با تعداد یوزرها برابر نیست و اگر کسی بخاد آماری از پنل داشته باشه باید دستی بشینه شمارش کنه 
اگر قابلیتی به شکل زیر تعریف بشه عالی میشه :

All user :

تعداد کل یوزرهای ساخته شده روی تمامی پورت ها

Active user :
یوزرهایی که فعال هستند 

Disabled user :

یوزرهای که به هر علت غیرفعال هستند ،چه به علت سر رسیدن تاریخ انقضای اکانت و چه به علت اتمام حجم
یا اگر پیشنهاد اول رو هم اعمال کردید میتونید یوزرهای که ساخته شده ولی هنوز اکانتشون شروع نشده و متصل نشدن هم در این قسمت بیارید یا اصلا یک قسمت جدا براش ایجاد کنید

برای مثال فرض کنید من روی پنل ۱۰ تا یوز ساختم که دوتاش حجمش تموم شده و غیرفعال هست :

All user : 10
Active user : 8
Disabled user : 2

ممنون میشم به این دو مورد فکر کنید
با تشکر از لطفتون و وقتی که میزارید

add feature

hi dear owner
please if you can add ip limit and subscription link
it is really good
thanks

Operations done during a searched view do end up being buggy

Hi buddy,

I think if you have time, it would be good to go over all types of behaviour (e.g addition/deletion/modification etc) when in a searched view.

For example another scenario I encountered when searching for a particular pattern in the email and trying to add new users in that view, it does not preserve clients with non matching patterns and deletes them after adding the new user. I would imagine there could be similar behaviour in other scenarios. like resetting traffic in a searched view could also be buggy? not sure

can't use docker image

Describe the bug
I tried to build docker container of the program using the instructions here.

when I try to
docker build -t x-ui .

i get this error

ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3706750346/Dockerfile: no such file or directory

What should I do?

Desktop (please complete the following information):

  • OS: UBUNTU 20

device alert + dark theme

Hi
thx for best x-ui panel ♥.
can you add device alert(will notify in telegram bot when connected ip changes) like FranzKafkaYu and dark theme in next update.

change pannel

سلام من میخوام از پنل https://github.com/mhsanaei/3x-ui/ مهاجرت کنم به پنل شما
اما دیتابیس رو که آپلود میکنم و x-ui رو ریستارت میکنم ، پنل بالا نمیاد

ممکنه راهنمایی بفرمائید چیکار باید بکنم؟
ممنون

add REALITY in inbound

example

  "streamSettings": {
    "network": "tcp",
    "security": "reality",
    "realitySettings": {
      "show": true, // Optional, if true, output debugging information
      "dest": "dl.google.com:443", // Required, the format is the same as the dest of VLESS fallbacks
                "xver": 0, // Optional, the format is the same as xver of VLESS fallbacks
                "serverNames": [
                    "dl.google.com"
                ], // Required, the serverName list available to the client, does not support * wildcards
                "privateKey": "2LpjSS6H6AmwN9_NJI2vL9qcdiPwZaw-TzF5lajy804", // Mandatory, execute ./xray x25519 to generate
                "minClientVer": "1.7.5", // Optional, minimum client Xray version, format is x.y.z
                "maxClientVer": "1.8.0", // Optional, the highest version of client Xray, the format is x.y.z
                "maxTimeDiff": 0, // Optional, the maximum time difference allowed, in milliseconds
                "shortIds": [ //
                    "",
                    "0123456789abcdef"
                ],
      "alpn": []
    },
    "tcpSettings": {
      "acceptProxyProtocol": false,
      "header": {
        "type": "none"
      }

low speed and ping issue

Hi there
i am experiecing a seveere downtime in speed and ping exactly at nights, 9pm to 1 am.
it's interesting that I don't experience such a thing other times.
my request number for TCP remains the same at nights but the problem starts that time.

i have installed many panels so far and the issue persists.

these are the specs of the server and panel.

your latest panel
6 core - 8 gb ram
900+ users
TCP count: around 13K
I check pings with the help of this site:
https://check-host.net/
x-ray version:1.7.5

image

cant access to panel with mci net with clear ip

درود ، من سرور مجازی با ای پی تمیز از vult و digio و هتزنر میگرم روی همراه اول پینگ میده ولی پنل شما رو که میریزم بالا نمیاد چرا ؟

پیشنهاد در مورد ربات تلگرام

سلام
ضمن تشکر از زحمات شما
در خصوص ربات تلگرام چند مورد بود که به ذهنم رسید:

  1. اضافه کردن ایدی تلگرام کاربر بسیار زمانبره و بعضی کاربرا ممکنه ایدی نداشته باشن. امکانش هست از ایده اخیر diditra استفاده بشه؟ هر کاربر اولین uuid رو استعلام بگیره، خودکار ایدی عددی و ایدی تلگرامی ش به ایمیل/uuid بایند میشه.
  2. من نتونستم برای کاربرایی که زمان/حجم شون به محدوده معین شده میرسن، تونیفیکشنی سمت ربات کلاینت دریافت کنم. آیا کاری باید انجام بدم؟
  3. بهتره در ربات دکمه منو هم اضافه بشه که کاربر بدونه برای اولین بار چه دکمه یا متنی رو بزنه

تشکر

1 bot for all panels

Thank you for the excellent work you have done.
I would like to make a request to see if it is possible. Could you create a Telegram bot that operates across multiple Panels with just one bot? It would be greatly appreciated if you could consider this.

Best regards.

Remove flow

سلام
میخواهم فیلد flow با مقدار xtls-rprx-direct را از کلاینت های قبلی پاک کنم، اما در گزینه های ویرایش نیست
(برای اپگرید به ورژن 1.8.0)

در تنظیمات کلاینت ها از هیچ tls استفاده نشده است، اما ورژن های قدیمی فیلد flow را خودشان پر کرده اند.

لطفا راهنمایی نمایید
تشکر
Screenshot 2023-03-11 031230

اضافه شدن IP Limit

سلام ممنون از پنل عالیتون
اگر Ip Limit هم اضافه کنید عالی میشه.
کامل ترین پنل x-ui هست ممنون از کاستومایز عالیتون.

UTLS option in link

UTLS option is recently removed due to bugs and also zero-effect in server configuration.
But it is recently needed to be used in client side applications.

So this feature will add:

  • UTLS option in correct place ( not in client config )
  • UTLS value like fp=chrome in client's link and qrcode

add user title in bulk add

Hi,
if add a input for user name in bulk add it will be very useful
for example
add 5 user with name: demo
and inbunds emails be look like this:
-demo01
-demo02
-demo03
...

and thank you for develop this script and add useful features. 🌹🙏🏽

IP limit

it would be nice to have a limit per IP per client !

Bulk Export/Import feature

Hello
it would be so nice if you could add such a feature that you can add more than one user at once in an inbound.
or you can export the whole inbound's links at once and get it in a txt or csv file. or a pop-up window containing those links.

thanks in advance for your efforts and time you put to this project.

image

how to enable mux in vless links

hi
how to enable mux in vless links for napsternet or v2rayng?
with subscription i can set this config ?
i want use v2ray subscription link in napsternetv
but this method is`nt enable mux for configs

data base lock

Hello there
i am experiencing this error since a long time ago.
this issue is related to IP Limit function which causes the problem.
for example in MHSane's panel I don't experience such a thing.
would you mind please investigate this one?
i tried sudo chmod --preserve-root 644 /etc/x-ui/x-ui.db

image

قسمت مولتی ادمین

سلام خسته نباشید
1.قسمت مولتی ادمین کاراکتر "," رو قبول نمیکنه و روی عدد قفل شده
اگه امکان داره این مورد رو بررسی کنید
2.در ربات تلگرام وقتی یوزر پیامی مینویسه بهش عبارت ❗️ Unknown message نمایش داده میشه (قبلا روی ربات فقط با تایپ کاراکتر "/" این پیام دریافت میشد.) در واقع قبلا فقط به عبارتهایی که با / شروع میشد و کامند ربات بود واکنش نشون میداد ولی الان به تمامی عباراتی که واسش ارسال میشه واکنش نشون میده
اینم بررسی کنید به حالت قبل دربیاد بهتره
225938090-053690ef-d410-4512-985f-40eb6f929fa8
3. در هنگام بکاپ گیری روی ربات تلگرام علاوه بر فایل x-ui.db فایل config.json هم بکاپ گرفته بشه.
4. در ربات تلگرام ادمین با زدن دکمه Get Inbounds کلاینتهای هر inbound هم با دیتای مصرفشون ارسال بشه.
با تشکر

3x-ui Trojan Code type problem

سلام و خسته نباشید،
ممنون بابت همه تلاش‌ها و زحمت‌ها.
در بخش پنل v2ray آپدیت جدید 3x-ui v1.1.0 که اعمال شده، ی مشکل داره.
وقتی کانفیگ رو روی Trojan تنظیم میکنیم و Copy code رو میزنیم، توی code یه پارامتر مربوط به Transmission کم داره.
type=***

Trouble resetting traffic

hi
When an active subcategory account runs out of traffic, it will be deactivated, but when we reset the traffic, it will not be activated again. You must edit the main account and increase or decrease the number of that sub-account to reactivate it

مشکل اضافه نشدن نام سرشاخه Inbound داخل کلاینت

chf
به طور مثال اسم اکانت ساخته شده test هست و زیر مجموعه آن vreh55o هست
وقتی روی کپی پانفیگ میزنیم دکمه کپی کانفیگ کارنمیکنه داخل آپدیت جدید و باید روی qr code زد تا کپی شود
وقتی داخل clipboard کپی میشه و داخل برنامه کلاینت مثل v2rayn اضافش میکنم فقط اسم زیرمجموعه رو مینویسیه یعنی فقط میزنه vreh55o
ashashsah

امید وارم سریعتر رفع بشه چون برای من اضافه کاری میاره و باید اسم ها رو شروع کنم از اول نوشتن

درخواست چند ویژگی جدید

سلام

بنده بتازگی پنل جناب سنایی را نصب کردم و از کانال تلگرام ایشان صفحه شما را دیدم.

احتراما چند پیشنهاد خدمت شما گرامی دارم که لطفا در 3x-ui هم منتشر شود.

1- لطفا کلاینت هایی که در حال اتمام حجم یا زمان هستند به شکلی مثلا با رنگ زرد نمایش داده شوند. (مثلا کلاینت های کمتر از 2 گیگ حجم یا 5 روز مانده به پایان اعتبار)

2- حجم مصرفی هر کلاینت پس از یک ماه از زمان شروع مصرف حجم آن بصورت خودکار ریسیت شود.
( ریسیت یک ماه پس از شروع مصرف حجم از این جهت اهمیت دارد که همه کلاینت ها با هم ریسیت نشوند )
( یا بعضی تعدادی کلاینت از قبل ساخته و آماده می کنند ولی هنوز تحویل کاربر داده نشده پس ملاک ریسیت شدن، زمان ساخته شدن کلاینت نباشد)

3- دو دکمه کنار کیوآرکدها قرار داده شود که با هربار زدن آن یک ماه به اعتبار کلاینت اضافه یا کم شود.

4- دکمه غیر فعال کردن هر کلاینت کنار کیوآرکد وجود داشته باشد.

با سپاس

Generate addresses with domains instead of ips for non tls

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Hey mate, on the inbound ui, maybe a field that could be used to input a domain name for non tls configurations so that it could be used by the backend when generating links instead of adding the ip address to the configuration variables that are sent to the clients would be great.

Deletion of users does stuff up the database schema

In my situation: I have an inbound with the following setting : vless + ws + tls. When I delete a user from this inbound, the panel does correctly try to enforce the proper DB schema on all the users of the inbound though it forgets to add "decryption": "None" for vless. hence I do get the error below after deleting users:
Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: VLESS settings: please add/set "decryption":"none" to every settings

I would imagine similar situations might happen in other settings but I am not aware of as I do not deal with them

add feature

hi dear owner
if you can please add ip limit and subscription link
it is good now
thanks

add ip detection

hi
can you add connected ip's per client_id to DB and send them to rest api?

Problem in add client

Hi
Every time to add a new user, there is a connection problem in the client. I understood that by turning off one of these options, a connection is created. Is it possible to remove these two options? It is really annoying
IMG_20230226_001326_448

Bug in deleting the client

hi
The new "delete client" feature has a bug and set decryption value to null.
I had to edit the database manually to fix the problem.

1
2

can't install using docker

Describe the bug
[A clear and concise description of what the bug is.
](docker: Error response from daemon: pull access denied for alireza0/x-ui, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.)

Telegram new features

I am going to add new features in telegram bot usage:

  • Fix message length problem
  • Find by Email instead of UUID
  • Report based on Volume and Date threshold
  • Add backup schedule
  • Add menu

مشکل در کپی ادرس VMESS

با سلام،
یه چند روز هست بنده زمانی که چند یوزر پشت سر هم ساخته و بعد روی دکمه qr-code کلیک و کپی رو میزنم و بعد میرم سراغ یوز بعدی متسفانه دومین یوز دکمه کپی در کادر qr-code کار نمیکنه.
روی سرور جدید و با مرور گر های مختلف تست کردم مشکل پا بر جاست.
در ضمن در گوشی هم به همین شکل بود

Similar to spyware !!!

سلام
عزیز دل، شما همکار هستید توی بخش سایبری؟
اینی که زحمت کشید و درستش کردید توی 2 سوت ردشو میزنن!! من یه اسکریپ دیگه غیر ایرانی گذاشتم واسه همکارام الان 6 ماهه داریم استفاده میکنیم.. مال شمارو ریختم واسه سرور فامیلی هر بار که ریختم با همون کانفیگ سرورای قبلیم ردش زده شد..
عزیز دل واقعا تو این شرایط بجای اینکه کمک هم باشیم جاسوس افزار درست میکنیم تا پدر همو دربیاریم؟
بیشتر اسکریپتای ایرانی همکاری صمیمانه ای با گریت فایروال دارن... دم شما گرم
در انتها امیدوارم من اشتباه کرده باشم.. موفق باشید

اضافه کردن قابلیت

سلام وقتی کانفیگ جدیدی مثلا با VMESS ساخته میشه دیگه نمیشه ادیتش کرد و تغییرش داد به VLess یا...
در صورت لزوم عالی میشه اگه این قابلیت رو اضافه کنید که بتونیم بین پروتکل های مختلف بدون ساخت کانفیگ جدید سوییچ بشیم

Improved Add Client process

hi
a new module is considered for adding Clients in the ports.
the add button needs a loading so as not to mislead the user. this problem did not exist in old modals

📍 Ip Limit Count

Hey, Can you add Ip count limit ?
your panel is really good and have nice feature but "ip count limit" can make it really better, thanks
IMG_20230315_211327

editing a searched client is buggy

Hi team, when you have an inbound with multiple users, and you want to edit one that is not at the top of the list, after writing down the id of the user in the search bar, the panel would show the found options, when you try to edit one of the found options, it brings up the edit panel for the first user at the top of the list of the inbound instead of the user of interest.

User database address

Hi
in previous versions Database save in /etc/x-ui/x-ui.db now please give me the database address for create backup !

Problem after update xray

hi Alireza,
Thank you for releasing the new version
Unfortunately, it is not possible to update to the new X-ray version

Untitled

ربات تلگرام سمت کلاینت

سلام وقت بخیر
ربات تلگرام سمت کلاینت درست کار نمیکنه، اگه امکانش هست بررسی کنید و اینکه قبلا با عبارت
/usage uuid
کلاینت میزان مصرفشو میتونست چک کنه ولی الان با این کد بهش خطا نمایش میده
اگر امکان داره هم با id هم با ایمیل میزان مصرف کلاینت نمایش داده بشه توی ربات خیلی عالی میشه
یعنی کلایت عبارت
/usage uuid
/usage Email
رو فرستاد بتونه مصرفشو مشاهده کنه
سمت ادمین همه چی عالیه . تشکر از شما

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.