X-UI usage monitor for its users, If you have limited bandwith in your vps you can use this to monitor all user data.
This program can download database from x-ui instances using sftp and display it in website.
Clone this project to your local machine using
git clone https://github.com/chnthkksn/X-UI-Usage-Monitor.git
Run the following command to install all dependencies
yarn install
or
npm install
After that you need to add your VPS credentials to hosts.js file in config folder refer host.js file and edit it. ( Make sure the user you added has acess to /etc/x-ui )
.env file is also required to run the program, you can add your own credentials to it , refer .env file and edit it.
Required Fields in .env file are
PANEL_USERNAME
: Use this as the username in login to admin areaStr
PANEL_PASSWORD
: Use this as the password in login to admin areaStr
PANEL_PORT
: Port on which admin panel will runInt
JWT_SECRET
: Secret key for JWTStr
After installing all dependencies and adding credentials to .env file you can run the program using
yarn start
or
npm start
It will automatically download database from your x-ui installed VPS and display it in website.
- Add admin panel
- Create Dockerfile
- Add telegram notifications for users
- @lahirubro123 - Idea & concept
- @chnthkksn - Code and design
This project is licensed under the MIT License - see the LICENSE file for details
- x-ui - X-UI is a web panel for Xray, V2ray, Trojan, SSR and NaiveProxy.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.